Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
andrew winter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved it. The problem is that I was using the invoker servlet and apparently comet does not work with that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic