Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error while deploying JSR 168 Portlet on IBM Websphere Portal Server 6.1

7 views
Skip to first unread message

balachand...@acs-inc.com

unread,
Sep 11, 2009, 12:17:56 PM9/11/09
to
I was trying to deploy JSR 168 Portlet on IBM Websphere Portal Server 6.1.
It is throwing me following exception

javax.faces.FacesException: java.lang.ClassCastException: com.ibm.faces.webapp.RequestPhaseListener incompatible with javax.faces.event.PhaseListener
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:652)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:350)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:292)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1303)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:949)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2122)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: java.lang.ClassCastException: com.ibm.faces.webapp.RequestPhaseListener incompatible with javax.faces.event.PhaseListener
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:711)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:398)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
... 17 more

Can anybody throw some light on this issue. Thanks in advance!

decoursey

unread,
Sep 17, 2009, 1:19:42 PM9/17/09
to
Good afternoon,
Based on the snippet below i would say that one or more classes are not available.
Please review this link.
http://www.ibm.com/developerworks/library/j-jsf2/

In regards to the classcastexception, we could only tell for sure what the issue is with a classloader trace.
However, I would look for jsf realted jar files and see if this may be an issue.
Hope that helps.

0 new messages