wm20111003 / comet4j

Automatically exported from code.google.com/p/comet4j
0 stars 0 forks source link

HTTP method GET is not supported by this URL #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
<html><head><title>Apache Tomcat/6.0.35 - Error report</title><style><!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:22px;} H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:16px;} H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:14px;} BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px
;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> 
</head><body><h1>HTTP Status 405 - HTTP method GET is not supported by this 
URL</h1><HR size="1" noshade="noshade"><p><b>type</b> Status 
report</p><p><b>message</b> <u>HTTP method GET is not supported by this 
URL</u></p><p><b>description</b> <u>The specified HTTP method is not allowed 
for the requested resource (HTTP method GET is not supported by this 
URL).</u></p><HR size="1" noshade="noshade"><h3>Apache 
Tomcat/6.0.35</h3></body></html>

Original issue reported on code.google.com by jianxion...@gmail.com on 11 Sep 2012 at 12:36

Attachments:

GoogleCodeExporter commented 8 years ago
server.xml: replace
<Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" 
connectionTimeout="20000" redirectPort="8443" />
with
<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" 
protocol="org.apache.coyote.http11.Http11NioProtocol" redirectPort="8443"/>

detail:
http://code.google.com/p/comet4j/wiki/GettingStarted

Original comment by hu...@126.com on 29 Dec 2013 at 10:14