Matej Novotny created RF-13791:
----------------------------------
Summary: Push in Showcase with EAP 6.2
Key: RF-13791
URL:
https://issues.jboss.org/browse/RF-13791
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.5.0.Alpha3
Environment: Showcase 4.5.x
EAP 6.2
Any browser
Reporter: Matej Novotny
This issue happens since the upgrade of Atmosphere.
Once you attempt to deploy Showcase to EAP 6.2 and access a push sample page, you get the
following error in server console:
{code}
14:28:20,881 ERROR [org.atmosphere.container.JBossWebCometSupport]
(http-/127.0.0.1:8080-5) HttpEvent is null, JBoss APR Not Properly installed
14:28:20,881 WARN [org.atmosphere.cpr.AtmosphereFramework] (http-/127.0.0.1:8080-5)
Failed using comet support: org.atmosphere.container.JBossWebCometSupport, error: JBoss
failed to detect this is a Comet application because the APR Connector is not enabled.
Make sure atmosphere-compat-jboss.jar is not under your WEB-INF/lib and You must use the
atmosphere-native-runtime dependency in order to use native Comet Support
there is no context.xml under WEB-INF Is the NIO or APR Connector enabled?
14:28:20,881 ERROR [org.atmosphere.cpr.AtmosphereFramework] (http-/127.0.0.1:8080-5) If
you have more than one Connector enabled, make sure they both use the same protocol, e.g
NIO/APR or HTTP for all. If not, org.atmosphere.container.BlockingIOCometSupport will be
used and cannot be changed.: java.lang.IllegalStateException: JBoss failed to detect this
is a Comet application because the APR Connector is not enabled.
Make sure atmosphere-compat-jboss.jar is not under your WEB-INF/lib and You must use the
atmosphere-native-runtime dependency in order to use native Comet Support
there is no context.xml under WEB-INF
at
org.atmosphere.container.JBossWebCometSupport.<clinit>(JBossWebCometSupport.java:49)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[rt.jar:1.7.0_25]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[rt.jar:1.7.0_25]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[rt.jar:1.7.0_25]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_25]
at
org.atmosphere.cpr.DefaultAsyncSupportResolver.newCometSupport(DefaultAsyncSupportResolver.java:225)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at
org.atmosphere.cpr.DefaultAsyncSupportResolver.resolveMultipleNativeSupportConflict(DefaultAsyncSupportResolver.java:318)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at
org.atmosphere.cpr.DefaultAsyncSupportResolver.resolveNativeCometSupport(DefaultAsyncSupportResolver.java:302)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at
org.atmosphere.cpr.DefaultAsyncSupportResolver.resolve(DefaultAsyncSupportResolver.java:281)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at
org.atmosphere.cpr.AtmosphereFramework.autoDetectContainer(AtmosphereFramework.java:1811)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:872)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at org.atmosphere.cpr.AtmosphereFramework.init(AtmosphereFramework.java:765)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at org.atmosphere.cpr.AtmosphereServlet.configureFramework(AtmosphereServlet.java:101)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at org.atmosphere.cpr.AtmosphereServlet.init(AtmosphereServlet.java:80)
[atmosphere-runtime-2.2.0.jar:2.2.0]
at org.richfaces.webapp.PushServlet.init(PushServlet.java:67)
[richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:950)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:151)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.3.4.Final-redhat-1.jar:7.3.4.Final-redhat-1]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.3.4.Final-redhat-1.jar:7.3.4.Final-redhat-1]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
[jboss-as-web-7.3.4.Final-redhat-1.jar:7.3.4.Final-redhat-1]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
[jbossweb-7.3.2.Final-redhat-1.jar:7.3.2.Final-redhat-1]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
14:28:20,885 WARN [org.atmosphere.cpr.AtmosphereFramework] (http-/127.0.0.1:8080-5) Using
org.atmosphere.container.BlockingIOCometSupport
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)