[
https://issues.jboss.org/browse/JBAS-8923?page=com.atlassian.jira.plugin....
]
Frank Langelage commented on JBAS-8923:
---------------------------------------
Coming back to the original problem, I do not see this anymore.
I'm using openfaces 3.0 and richfaces 4.0 together with JSF 2.1.1 now.
As already mentioned it's mandatory to add jboss-faces.jar also.
This is the content of my war file:
101112 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/common.jar
575389 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/commons-collections.jar
253950 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/cssparser.jar
21236 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/jboss-faces.jar
309293 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/jcommon.jar
1425744 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/jfreechart.jar
626071 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/jsf-api.jar
1943658 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/jsf-impl.jar
725735 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/jxl.jar
2455648 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/openfaces.jar
84274 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/richfaces-components-api.jar
1546986 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/richfaces-components-ui.jar
118261 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/richfaces-core-api.jar
439630 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/richfaces-core-impl.jar
14526 Fri Apr 22 14:20:54 CEST 2011 WEB-INF/lib/sac.jar
I did not have to add additional settings into my web.xml besides the
org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL.
WAR with bundled Mojarra 2.1.0-b11
----------------------------------
Key: JBAS-8923
URL:
https://issues.jboss.org/browse/JBAS-8923
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JSF
Affects Versions: 6.0.0.Final
Environment: RichFaces 4.0.0.20110227-CR1 r.21967
Mojarra 2.1.0-FCS
JBoss AS 6.0.0.Final (default profile)
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/tags/metam...
Reporter: Lukáš Fryč
Assignee: Stan Silvert
Fix For: No Release
Attachments: boot.log
When new profile Mojarra-2.1 (with 2.1.0-b11 libs) is created and WAR without jsf-libs is
deployed, application works fine.
But when JSF is bundled into WAR (and use WAR_BUNDLES_JSF_IMPL param) and deployed onto
default Mojarra-2.0 profile, it doesn't work with exception bellow.
Shortened stacktrace:
17:42:14,288 ERROR [[/metamer]] Error configuring application listener of class
com.sun.faces.application.ServletContextSensitiveSingletonStore:
java.lang.InstantiationException:
com.sun.faces.application.ServletContextSensitiveSingletonStore
at java.lang.Class.newInstance0(Class.java:357) [:1.6.0_20]
at java.lang.Class.newInstance(Class.java:325) [:1.6.0_20]
at
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:280)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:264)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3319)
[:6.0.0.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3828)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294)
[:6.0.0.Final]
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
[:6.0.0.Final]
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:477)
[:6.0.0.Final]
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.Final]
at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20]
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
[:6.0.0.GA]
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
[:6.0.0.GA]
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
[:2.2.0.GA]
...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira