]
Stan Silvert commented on JBAS-8923:
------------------------------------
This won't be changed for AS6.x. You can proceed as Frank did or you can set up your
own JSF configuration as shown in the JSF on AS6 documentation.
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: