I have a servlet which uses the CometProcessor interface. When I run
this app normally, connections to the servlet come back with the
response "405 Method Not Allowed" (HTTP method POST is not supported
by this URL).
I am told that this is due to the connector being used not supporting
CometProcessor I/O:
<Connector port="8000" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
Therefore I added this other connector:
<Connector
connectionTimeout="20000"
port="8081"
protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="1"
acceptorThreadCount="2"
redirectPort="8443"
socket.directBuffer="false" />
However, I cannot reach any pages on port 8081, all connections are
being refused.
There doesn't seem to be any errors in the logs anywhere but I did
spot this one:
21-Apr-2009 18:11:03 org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(C:\Program Files (x86)\Apache Software Foundation
\Tomcat 6.0\webapps\CometServerMessenger\WEB-INF\lib\gwt-user.jar) -
jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
Any ideas? Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---