[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Tomcat 6 comet support in 4.2.2
jon.brisbin
do-not-reply at jboss.com
Tue Nov 20 16:47:26 EST 2007
I was wondering how I go about doing Comet inside a webapp by implementing the catalina CometProcessor interface? When I access a servlet that implements this interface, I get this JBoss-specific error:
java.lang.ClassCastException: org.jboss.web.tomcat.filters.ReplyHeaderFilter cannot be cast to org.apache.catalina.CometFilter
| org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:887)
| org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:696)
| org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2008)
| java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
| java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
| java.lang.Thread.run(Thread.java:619)
What do I need to do to get comet support in the Tomcat that comes with JBoss? Replace it with Jetty?
Thanks!
Jon Brisbin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106554#4106554
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106554
More information about the jboss-user
mailing list