Adam Kaupisch wrote:
I am having trouble getting Comet to work and was hoping someone knows
what my problem is...

I am running 6.0.13 on windows XP (yea, I need to change to linux, I
know)...anyway, I went through getting the APR setup and I believe I
have done so...based on when I start tomcat up, I get this message:

May 27, 2008 2:45:23 PM org.apache.catalina.core.AprLifecycleListener
init

INFO: Loaded Apache Tomcat Native library 1.1.12.

May 27, 2008 2:45:23 PM org.apache.catalina.core.AprLifecycleListener
init

INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].

May 27, 2008 2:45:24 PM org.apache.coyote.http11.Http11NioProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

May 27, 2008 2:45:24 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-8081

May 27, 2008 2:45:24 PM org.apache.coyote.http11.Http11NioProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-8443

May 27, 2008 2:45:24 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1741 ms

I have a servlet that sits behind a filter. When I try to access it, it
calls doFilter(...) instead of doFilterEvent(...). Is there something
I'm missing in my config? I'm poking around blindly, so I'd be happy if
anyone can point me in the right direction.

Did you remember to have your servlet implement CometProcessor?

Your messages don't look quite right. On Linux my startup gives...
May 23, 2008 3:41:28 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.12.
May 23, 2008 3:41:28 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
May 23, 2008 3:41:28 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080

Note that I initialized an Http11AprProtocol, you initialized a regular Http11Protocol. Did you explicitly define this in the server.xml?

Alex.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to