aspose file tools*
The moose likes Tomcat and the fly likes Tomcat Comet event not called - HTTP method GET is not supported by this URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Comet event not called - HTTP method GET is not supported by this URL" Watch "Tomcat Comet event not called - HTTP method GET is not supported by this URL" New topic
Author

Tomcat Comet event not called - HTTP method GET is not supported by this URL

andrew winter
Greenhorn

Joined: Jan 23, 2013
Posts: 2
I am trying to implement a Comet process.

Tomcat 6.0.36

Red Hat Enterprise Linux Server release 6.2 (Santiago)

Java 7u11 (32 bit)

I have implemented CometProcessor. I am using the NIO connector. When I try the servlet I get: HTTP method GET is not supported by this URL. The other topics I have found on this matter advise people to make sure they are using the NIO connector. I have. I have also seen recommendations to make sure the catalina.jar was not packaged with the web app. I have checked that also. So far I have asked this on the tomcat mailing list and on another forum but I haven't gotten any responses.

Am I doing something wrong?

Thanks!

Code snippet:


From catalina log:



From catalina.out:
andrew winter
Greenhorn

Joined: Jan 23, 2013
Posts: 2
I solved it. The problem is that I was using the invoker servlet and apparently comet does not work with that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Comet event not called - HTTP method GET is not supported by this URL
 
Similar Threads
Error The requested resource is not available
cant shutdown tomcat
Tomcat server restarted automatically
problem with tomcat Native library
Tomcat Coyote getting paused/stopped/destroyed after restart ??- Error 503