2 Replies Latest reply on Sep 9, 2007 5:50 AM by Hoang Oanh

    CometProcessor and filter in JBoss-4.2.0.GA

    Keiji Ohnita Newbie

      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?