[jboss-user] [JBoss Seam] - Re: Developing with Seam 2 and deploying on WebSphere

kryl99 do-not-reply at jboss.com
Sun Dec 16 18:15:22 EST 2007


There appears to be some incompatibility (namely a missing getELContext() method) between the JSF library supplied by IBM with Websphere and the JSF 1.2 RI version utilised by Seam:

Here is the stacktrace:

Uncaught exception thrown in one of the service methods of the servlet: Faces Servlet. Exception thrown : java.lang.NoSuchMethodError: javax/faces/context/FacesContext.javax/el/ELContext;

By manipulating the class loading sequence we can ensure that Seam uses the JSF 1.2 RI bundled in the war, however a different exception is thrown, this time a ClassCastException.

Here is the PARENT_LAST classloader stacktrace:

Exception caught while initializing context 
javax.faces.FacesException: java.lang.ClassCastException: org.jboss.seam.jsf.SeamApplicationFactory incompatible with javax.faces.application.ApplicationFactory

Has anyone reproduced this problem, and are there any suggestions for how it might be addressed?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113245#4113245

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113245



More information about the jboss-user mailing list