users@glassfish.java.net

JSF 1.2 RI + WebSphere 6.1 + Seam 2.0.x

From: <glassfish_at_javadesktop.org>
Date: Mon, 11 Aug 2008 00:03:15 PDT

I'm in the process of migrating an existing application from a JBoss environment to WebSphere 6.1 (FP 17).
The web app is using JSF RI 1.2. Therefore I embedded it in the WAR and set PARENT_LAST as class loading
policy. However I still see a log message

08.08.08 14:23:15:392 CEST 00000014 jsf W com.ibm.ws.jsf.configuration.FacesConfigParser parseShared FacesConfigParser.parseShared(): unable to locate : el-resolver

So why is a ibm.ws.jsf component still getting active. I suspect that the internal JSF implementation is still active.

When I'm trying to request a page I get a stacktrace

08.08.08 15:07:11:721 CEST 00000021 ServletWrappe E SRVE0068E: Es wurde eine Ausnahme angefangen, die in einer der Servicemethoden des Servlet Faces Servlet ausgelöst wurde. Ausgelöste Ausnahme: java.lang.NoSuchMethodError: javax/faces/context/FacesContext.getELContext()Ljavax/el/ELContext;
at org.jboss.seam.faces.FacesExpressions.getELContext(FacesExpressions.java:36)
at org.jboss.seam.core.Expressions$2.createExpression(Expressions.java:168)
at org.jboss.seam.core.Expressions$2.toUnifiedMethodExpression(Expressions.java:160)
at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:173)
at org.jboss.seam.core.Events.raiseEvent(Events.java:67)
at org.jboss.seam.navigation.Pages.notLoggedIn(Pages.java:577)

In general I'm getting plenty of NoSuchMethodError exceptions for JSF classes/methods.

If somebody has tried to use JSF on WebSphere 6.1 I'd appreciate any hint on this problem!
[Message sent by forum member 'mahrer' (mahrer)]

http://forums.java.net/jive/thread.jspa?messageID=292528