2014-05-31 0:38 GMT+04:00 Dave Smith d...@brindlewaye.com:
I am running Tomcat 7.0.41 on a Windows laptop (8.1 Pro). I know, I know - I
get what I deserve in such a configuration.
Actually, it was running fine until about a month ago. Something went
horribly wrong that required I re-install Windows and, basically, start from
scratch. My reason for running Tomcat here? I have a Windows client app,
written in Java, that talks to the Tomcat/JSP server via HTTP.
Since re-installing tomcat and my server application, it runs fine when I
connect to it from a web browser. However, when I tell my desktop client app
to connect to the server, it fails on the initial connection with a 405
status. I am running the server is debug, from Eclipse, and have put
breakpoints in the doGet, doPost, and doPut methods of my ControllerServlet
class that extends the java.servlet.http.HttpServlet. None of these
breakpoints fire before the client gets back the 405 status. (the client
works fine if connecting to the real server running tomcat 6 on an Ubuntu
server.)
I can find no place locally where verb filtering is being configured.
Any idea will be greatly appreciated.
Configure an access log and look there for what request line your
client is actually sending.
If your request line is no starting with GET , POST or PUT
then none of doGet() doPost(), doPut() methods can be called.
You can put a breakpoint in javax.servlet.http.HttpServer.service()
or in org.apache.catalina.connector.CoyoteAdapter class.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org