if your service method is invoked means you are not running the correct connector.

You must run the NIO or the APR connector.
take a look at the "protocol" attribute in
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

Filip

Márton Szabolcs wrote:

Hi!

Ive been trying to use tomcat comet for about a week, but i have no success.

I have tomcat 6.0.13, with windows xp. I install the tomcat, change the server.xml connector tag to NIO connector type. Test the chat example, and another example (push a date to the client every x sec.)

But its seems that comet is not working.
If i implement the servlet service method, it is runned. And its run like a normal servlet (I implement the CometProcessor, and i have the event method!!) If i no implement the service method, my browser says "this url.. cannot acces... GET methdod) or something like this.
So it is never get processed like a comet request.

What else do i need?
what is wrong?

i tryed without js client. When i call servlet, it will not close the connection, just keep. so its should work.

I search google all around the world, nothing found, not even a working example.

Please help me...

thanks
Szabi

35% kedvezmény a Partvonal Kiadó köteteire - hogy minden olvasó kézhez kapja a maga könyvét.
http://ad.adverticum.net/b/cl,1,6022,172067,232579/click.prm



------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.0/821 - Release Date: 5/27/2007 3:05 PM


---------------------------------------------------------------------
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