[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - CometProcessor and filter in JBoss-4.2.0.GA

OhKei do-not-reply at jboss.com
Wed Aug 8 22:20:14 EDT 2007


I have a servlet that implements CometProcessor interface. Whenever I try to access in JBoss-4.2.0.GA, it I get : 

java.lang.ClassCastException: org.jboss.web.tomcat.filters.ReplyHeaderFilter
	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:104)
	org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
	org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
	org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:896)
	org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:701)
	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2031)
	java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	java.lang.Thread.run(Thread.java:595)


So when the ReplyHeaderFilter from the jboss web.xml was deleted, I succeeded in access.

Can't I access servlet that implements CometProcessor interface in the state which set ReplyHeaderFilter why?

Is this the bug of ReplyHeaderFilter?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072271#4072271

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072271



More information about the jboss-user mailing list