[jboss-user] [JBoss Seam] - Re: Run JSF RI on WebSphere 6.1
michael.yuan@jboss.com
do-not-reply at jboss.com
Sat Jun 9 17:49:18 EDT 2007
I removed the jsf-ibm.jar from the server (it was on "shared lib" path), and put the JSF RI jars into the server's lib directory. However, I am getting this error now. Since the com.ibm.ws.jsf package is in com.ibm.ws.webcontainer_2.0.0.jar file, there is no easy way to "remove" them. I tried to remove the com.ibm.ws.jsf package and then re-pack the com.ibm.ws.webcontainer_2.0.0.jar. But then the server will complain NPE when loading JSF ...
| Extension processor failed to initialize in factory: com.ibm.ws.jsf.extprocessor.JSFExtensionFactory at 5d005d0
| java.lang.ClassCastException: org.jboss.seam.jsf.SeamApplication incompatible with com.sun.faces.application.ApplicationImpl
| at com.ibm.ws.jsf.configuration.FacesConfigParser.createFacesFactories(FacesConfigParser.java:1019)
| at com.ibm.ws.jsf.configuration.FacesConfigParser.initializeConfiguration(FacesConfigParser.java:354)
| at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:128)
| at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
| at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:497)
| at com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
| at com.ibm.ws.jsf.extprocessor.JSFExtensionFactory.createExtensionProcessor(JSFExtensionFactory.java:107)
| at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1029)
| at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:255)
| at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
| at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
| at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
| at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
| at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
| at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
| at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
| at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
| at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
| at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
| at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
| at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
| at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
| at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
| at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052840#4052840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052840
More information about the jboss-user
mailing list