[
https://issues.jboss.org/browse/RF-11695?page=com.atlassian.jira.plugin.s...
]
Juraj Huska edited comment on RF-11695 at 11/24/11 8:50 AM:
------------------------------------------------------------
I have used fresh copies of *JBoss AS 7.0.2.Final* and *7.1.0.Beta1*, and also built fresh
cloned showcase in two maven profiles, *jbas7 and release*. The *results are slightly
different* for these two profiles.
*On JBoss AS 7.0.2.Final*, *it works* without problems with war built *in profile jbas7*.
When using war built *in release profile*, the deployment run fine, however *when loading
push demos, this error was thrown*:
{code}
14:12:30,062 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/showcase].[AutoRegisteredPushServlet]]
(http-localhost.localdomain-127.0.0.1-8080-3) Allocate exception for servlet
AutoRegisteredPushServlet: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory from
[Module "deployment.richfaces-showcase-jbas7.war:main" from Service Module
Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at org.atmosphere.cpr.AtmosphereServlet.<clinit>(AtmosphereServlet.java:172)
[atmosphere-runtime-0.8.0-RC1.jar:]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_22]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[:1.6.0_22]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[:1.6.0_22]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_22]
at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_22]
at java.lang.Class.newInstance(Class.java:308) [:1.6.0_22]
at
org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:80)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at
org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:72)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1156)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:188)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49)
[jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
14:13:13,658 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/showcase].[AutoRegisteredPushServlet]]
(http-localhost.localdomain-127.0.0.1-8080-2) Servlet AutoRegisteredPushServlet is
currently unavailable
{code}
Note that push demos did not work when this error was thrown.
*On JBoss AS 7.1.0.Beta1* there was problem during deploying with both wars, *either built
in release or jbas7 profile*. The *error thrown during deployment* is here:
{code}
14:23:27,746 ERROR [stderr] (RegisterTopicThread) Exception in thread
"RegisterTopicThread" Exception in thread "RegisterTopicThread"
com.google.common.collect.ComputationException: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,746 ERROR [stderr] (RegisterTopicThread) Exception in thread
"RegisterTopicThread" at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
14:23:27,746 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
14:23:27,746 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
14:23:27,746 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
14:23:27,746 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
java.lang.Thread.run(Thread.java:662)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) ... 7 more
14:23:27,748 ERROR [stderr] (RegisterTopicThread) Caused by:
javax.naming.NameNotFoundException: ConnectionFactory -- service
jboss.naming.context.java.ConnectionFactory
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:88)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.InitialContext.lookup(InitialContext.java:82)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
javax.naming.InitialContext.lookup(InitialContext.java:396)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) ... 9 more
14:23:27,749 ERROR [stderr] (RegisterTopicThread)
com.google.common.collect.ComputationException: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
java.lang.Thread.run(Thread.java:662)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) ... 7 more
14:23:27,751 ERROR [stderr] (RegisterTopicThread) Caused by:
javax.naming.NameNotFoundException: ConnectionFactory -- service
jboss.naming.context.java.ConnectionFactory
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:88)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.InitialContext.lookup(InitialContext.java:82)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
javax.naming.InitialContext.lookup(InitialContext.java:396)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) ... 9 more
14:23:27,752 ERROR [stderr] (RegisterTopicThread)
com.google.common.collect.ComputationException: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
java.lang.Thread.run(Thread.java:662)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) ... 7 more
14:23:27,754 ERROR [stderr] (RegisterTopicThread) Caused by:
javax.naming.NameNotFoundException: ConnectionFactory -- service
jboss.naming.context.java.ConnectionFactory
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:88)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.InitialContext.lookup(InitialContext.java:82)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
javax.naming.InitialContext.lookup(InitialContext.java:396)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
14:23:27,755 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
14:23:27,755 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
14:23:27,755 ERROR [stderr] (RegisterTopicThread) ... and 9 more
{code}
Also the *demo - JMS push - was missing* and other push demos were not working neither.
The problem with ClassNotFoundException was the same as in 7.0.2.Final
was (Author: jhuska):
I have used fresh copies of *JBoss AS 7.0.2.Final* and *7.1.0.Beta1*, and also built
fresh cloned showcase in two maven profiles, *jbas7 and release*. The *results are
slightly different* for these two profiles.
*On JBoss AS 7.0.2.Final*, *it works* without problems with war built *in profile jbas7*.
When using war built *in release profile*, the deployment run fine, however *when loading
push demos, this error was thrown*:
{code}
14:12:30,062 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/showcase].[AutoRegisteredPushServlet]]
(http-localhost.localdomain-127.0.0.1-8080-3) Allocate exception for servlet
AutoRegisteredPushServlet: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory from
[Module "deployment.richfaces-showcase-jbas7.war:main" from Service Module
Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at org.atmosphere.cpr.AtmosphereServlet.<clinit>(AtmosphereServlet.java:172)
[atmosphere-runtime-0.8.0-RC1.jar:]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_22]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[:1.6.0_22]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[:1.6.0_22]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_22]
at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_22]
at java.lang.Class.newInstance(Class.java:308) [:1.6.0_22]
at
org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:80)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at
org.jboss.as.web.deployment.WebInjectionContainer.newInstance(WebInjectionContainer.java:72)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1156)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:188)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49)
[jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
14:13:13,658 INFO
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/showcase].[AutoRegisteredPushServlet]]
(http-localhost.localdomain-127.0.0.1-8080-2) Servlet AutoRegisteredPushServlet is
currently unavailable
{code}
Note that push demos did not work when this error was thrown.
*On JBoss AS 7.1.0.Beta1* there was problem during deploying with both wars, *either built
in release or jbas7 profile*. The *error thrown during deployment* is here:
{code}
14:23:27,746 ERROR [stderr] (RegisterTopicThread) Exception in thread
"RegisterTopicThread" Exception in thread "RegisterTopicThread"
com.google.common.collect.ComputationException: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,746 ERROR [stderr] (RegisterTopicThread) Exception in thread
"RegisterTopicThread" at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
14:23:27,746 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
14:23:27,746 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
14:23:27,746 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
14:23:27,746 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
java.lang.Thread.run(Thread.java:662)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
14:23:27,747 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) ... 7 more
14:23:27,748 ERROR [stderr] (RegisterTopicThread) Caused by:
javax.naming.NameNotFoundException: ConnectionFactory -- service
jboss.naming.context.java.ConnectionFactory
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:88)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.InitialContext.lookup(InitialContext.java:82)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
javax.naming.InitialContext.lookup(InitialContext.java:396)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
14:23:27,748 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) ... 9 more
14:23:27,749 ERROR [stderr] (RegisterTopicThread)
com.google.common.collect.ComputationException: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
14:23:27,749 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
java.lang.Thread.run(Thread.java:662)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
14:23:27,750 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) ... 7 more
14:23:27,751 ERROR [stderr] (RegisterTopicThread) Caused by:
javax.naming.NameNotFoundException: ConnectionFactory -- service
jboss.naming.context.java.ConnectionFactory
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:88)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.InitialContext.lookup(InitialContext.java:82)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
javax.naming.InitialContext.lookup(InitialContext.java:396)
14:23:27,751 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) ... 9 more
14:23:27,752 ERROR [stderr] (RegisterTopicThread)
com.google.common.collect.ComputationException: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:167)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:116)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap.apply(ComputingConcurrentHashMap.java:67)
14:23:27,752 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.MapMaker$ComputingMapAdapter.get(MapMaker.java:623)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl.createTopic(JMSTopicsContextImpl.java:281)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.TopicsContext.getOrCreateTopic(TopicsContext.java:48)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.demo.push.TopicsInitializer$RegisterTopicThread$1.run(TopicsInitializer.java:73)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
java.lang.Thread.run(Thread.java:662)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) Caused by: javax.faces.FacesException:
ConnectionFactory -- service jboss.naming.context.java.ConnectionFactory
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:207)
14:23:27,753 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:195)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:155)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) ... 7 more
14:23:27,754 ERROR [stderr] (RegisterTopicThread) Caused by:
javax.naming.NameNotFoundException: ConnectionFactory -- service
jboss.naming.context.java.ConnectionFactory
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:88)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.NamingContext.lookup(NamingContext.java:177)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
org.jboss.as.naming.InitialContext.lookup(InitialContext.java:82)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
javax.naming.InitialContext.lookup(InitialContext.java:396)
14:23:27,754 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.createConnection(JMSTopicsContextImpl.java:98)
14:23:27,755 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$JMSTopicContext.start(JMSTopicsContextImpl.java:123)
14:23:27,755 ERROR [stderr] (RegisterTopicThread) at
org.richfaces.application.push.impl.jms.JMSTopicsContextImpl$1.apply(JMSTopicsContextImpl.java:199)
14:23:27,755 ERROR [stderr] (RegisterTopicThread) ... and 9 more
{code}
Also the *demo - JMS push - was missing* and other push demos were not working neither.
showcase - deploying on JBoss AS 7.1.0-SNAPSHOT trows error:
JMSInitializer was not correctly initialized
---------------------------------------------------------------------------------------------------------
Key: RF-11695
URL:
https://issues.jboss.org/browse/RF-11695
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: build/distribution, showcase
Affects Versions: 4.1.0.CR1
Environment: richfaces-showcase-4.1.0-CR1
container: JBoss AS 7.1.0.Alpha2-SNAPSHOT
Reporter: Juraj Huska
Assignee: Juraj Huska
Priority: Critical
Labels: needs-qe
Fix For: 4.1.0.Final
Deploying on latest *JBoss AS 7.1.0-SNAPSHOT*
(last successful artifact from Nov 15, 2011 12:41:27 PM downloaded at:
https://ci.jboss.org/jenkins/view/JBoss%20AS/job/JBoss-AS-7.0.x/)
causes *critical error during deployment* with this stacktrace:
{code}
18:58:34,893 ERROR [org.jboss.remoting.remote] (Remoting "management-client"
read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: No more
authentication mechanisms to try
18:58:34,905 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-3) Critical error during deployment: :
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Capability
org.richfaces.demo.push.JMSInitializer was not correctly initialized
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376)
[jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
[jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
[jbossweb-7.0.3.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
[jbossweb-7.0.3.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:77)
[jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_22]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
Caused by: java.lang.RuntimeException: Capability org.richfaces.demo.push.JMSInitializer
was not correctly initialized
at
org.richfaces.demo.push.AbstractCapabilityInitializer.processEvent(AbstractCapabilityInitializer.java:66)
[classes:]
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
[jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2129)
[jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at
com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2105)
[jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:300)
[jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at
org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288)
[jboss-as-weld-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:601)
[jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:370)
[jsf-impl-2.1.3-b02-jbossorg-2.jar:2.1.3-SNAPSHOT]
... 9 more
Caused by: java.net.ConnectException: Could not connect to remote://127.0.0.1:9999. Make
sure the server is running.
at org.jboss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:113)
[jboss-as-protocol-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.protocol.mgmt.ManagementClientChannelStrategy$Establishing.getChannel(ManagementClientChannelStrategy.java:123)
[jboss-as-protocol-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.protocol.mgmt.ManagementRequest$1.run(ManagementRequest.java:101)
[jboss-as-protocol-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
... 3 more
Caused by: javax.security.sasl.SaslException: No more authentication mechanisms to try
at
org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:300)
[jboss-remoting-3.2.0.CR2.jar:3.2.0.CR2]
at
org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:199)
[jboss-remoting-3.2.0.CR2.jar:3.2.0.CR2]
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
[xnio-api-3.0.0.CR3.jar:3.0.0.CR3]
at
org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:179)
[xnio-api-3.0.0.CR3.jar:3.0.0.CR3]
at
org.xnio.channels.TranslatingSuspendableChannel$2.handleEvent(TranslatingSuspendableChannel.java:100)
[xnio-api-3.0.0.CR3.jar:3.0.0.CR3]
at
org.xnio.channels.TranslatingSuspendableChannel$2.handleEvent(TranslatingSuspendableChannel.java:98)
[xnio-api-3.0.0.CR3.jar:3.0.0.CR3]
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
[xnio-api-3.0.0.CR3.jar:3.0.0.CR3]
at org.xnio.nio.NioHandle.run(NioHandle.java:90)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:184)
at ...asynchronous invocation...(Unknown Source)
at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:273)
[jboss-remoting-3.2.0.CR2.jar:3.2.0.CR2]
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:336)
[jboss-remoting-3.2.0.CR2.jar:3.2.0.CR2]
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:324)
[jboss-remoting-3.2.0.CR2.jar:3.2.0.CR2]
at org.jboss.as.protocol.ProtocolChannelClient.connect(ProtocolChannelClient.java:107)
[jboss-as-protocol-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
... 5 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira