-
1. Re: JBossErraiServlet Problem
cbrock Aug 16, 2010 2:16 PM (in response to jdestef)Are there any console error messages?
In order for it to work, your JBoss instance must be correctly configured to use the APR connector with comet support enabled.
-
2. Re: JBossErraiServlet Problem
jdestef Aug 16, 2010 6:03 PM (in response to cbrock)Hi,
No errors on the console. When I put the application url in and press enter the Message Bus Error Window pops up with the following error:
The bus was disconnected by the server
Additional details:
Reason: There is no queue associated with this session.
Additional Details:There is no error message on the server console.Thx -
3. Re: JBossErraiServlet Problem
cbrock Aug 17, 2010 3:55 PM (in response to jdestef)You may be experiencing a problem with the build output containing stuff that shouldn't be there for jboss. You might want to look at the "jboss6" profile here: https://anonsvn.jboss.org/repos/errai/trunk/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
Are you building with Maven? -
4. Re: JBossErraiServlet Problem
jdestef Aug 17, 2010 4:43 PM (in response to cbrock)Hi,
I use the GWT compile option in Eclipse to build the project and this I have a build.xml to create the war file. Also, I am deploying to JBoss 5.1. Would that make a difference.
Thx
-
5. Re: JBossErraiServlet Problem
jdestef Aug 18, 2010 9:28 PM (in response to jdestef)Hi,
Since there are no exceptions being thrown on the server console what is the best approach to tracking this problem down. Any help would be appreciated.
Thx
-
6. Re: JBossErraiServlet Problem
jdestef Aug 31, 2010 10:40 AM (in response to jdestef)Hi,
I'm using jboss 5.1. Will the above maven build run on 5.1 or are there JBoss 6 dependencies?
Thx
-
7. Re: JBossErraiServlet Problem
cbrock Sep 3, 2010 1:14 PM (in response to jdestef)We support JBoss 5.1. But for CDI integration, we only support AS6.
-
8. Re: JBossErraiServlet Problem
jdestef Sep 12, 2010 10:10 PM (in response to jdestef)Hi,
The app has no CDI related code in it. Also, I tried the same code on Tomcat 6, after configuring the Tomcat comet servlet in the web.xml. I receieved the following exception:
SEVERE: Servlet.service() for servlet TomcatErraiServlet threw exception
java.lang.UnsupportedOperationException
at org.apache.catalina.connector.CometEventImpl.setTimeout(CometEventImpl.java:124)
at org.jboss.errai.bus.server.servlet.TomcatCometServlet.event(TomcatCometServlet.java:102)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilterEvent(ApplicationFilterChain.java:470)
at org.apache.catalina.core.ApplicationFilterChain.doFilterEvent(ApplicationFilterChain.java:363)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)
at java.lang.Thread.run(Thread.java:619)
I'm running this on Ubuntu 10.04. After a short period of time the tomcat java process pegged the CPU and I had to kill it. If I use the default blocking servlet I have no problems.
Are there specific versions of Tomcat that the current comet servlet implementation is targeted to?
Thx
SEVERE: Servlet.service() for servlet TomcatErraiServlet threw exceptionjava.lang.UnsupportedOperationExceptionat org.apache.catalina.connector.CometEventImpl.setTimeout(CometEventImpl.java:124)at org.jboss.errai.bus.server.servlet.TomcatCometServlet.event(TomcatCometServlet.java:102)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilterEvent(ApplicationFilterChain.java:470)at org.apache.catalina.core.ApplicationFilterChain.doFilterEvent(ApplicationFilterChain.java:363)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574)at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)at java.lang.Thread.run(Thread.java:619)