forgive my ignorance please, but what exactly is tomcat comet anyway?? I
have never heard of it before so enlighten me about it.
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
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
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
Can you send me your examples?
Bernd
2007/5/29, Filip Hanik - Dev Lists [EMAIL PROTECTED]:
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
Hi!
i set my connector like this.
it should be correct, isnt it?
Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol
maxThreads=150 connectionTimeout=2
redirectPort=8443 /
servlet
servlet-nameCometSampleServlet/servlet-name
This is the example from the tomcat user guide. I have the same problem
getting it to work.
2007/5/29, Márton Szabolcs [EMAIL PROTECTED]:
Hi!
i set my connector like this.
it should be correct, isnt it?
Connector port=8080 protocol=
org.apache.coyote.http11.Http11NioProtocol
maxThreads=150
send us a link to your test WAR file, and I can give it a shot, looks
good to me.
Filip
Márton Szabolcs wrote:
Hi!
i set my connector like this.
it should be correct, isnt it?
Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol
maxThreads=150 connectionTimeout=2
i will send later, i cant ftp from here.
any other ideas?
i would like if somebody, who made this cometprocessor worked describe
the things what have to do. I already done what is in tomcat docs
(advanced NIO)
regards,
Saby
2007/5/29, Filip Hanik - Dev Lists [EMAIL PROTECTED]:
send us a link
you don't really have to do that much, here is mine
package org.hanik.comet.test;
import java.io.IOException;
import java.io.InputStream;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import org.apache.catalina.CometEvent;
import
as a client I use
http://people.apache.org/~fhanik/cometgui.jar
The client automatically translates \n into CRLF for the HTTP protocol
To do what you need to do, do this
0. java -jar cometgui.jar
1. Click Connect
2. Click Submit
3. Erase the headers, make sure the next text looks like this:
10 matches
Mail list logo