I didn't get a response on this, but I did solve the problem and thought I
would pass it on just in case someone else runs into something similar.

I found out that the web.xml file was an older version that used an older
DTD (2.2). It was tied to an older version of tomcat. I think around tomcat
2.something. 

When they upgraded to the latest red hat enterprise linux, they were using
tomcat 4.1.29. The 2.3 DTD that is used by 4.1.29 includes the
<servlet-mapping></servlet-mapping> tags that let you specify the
url-pattern for your servlets. As soon as I upgraded the web.xml file to the
new version, and included the servlet-mapping, everything worked perfectly. 

I still don't understand why I got the original error message:

HTTP Status 405 - HTTP method GET is not supported by this URL

I would have expected a servlet not available message if tomcat couldn't
find it because the web.xml file was wrong?

-Brian 

-----Original Message-----
From: Brian Menke [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 26, 2003 10:47 AM
To: 'Tomcat Users List'
Subject: Strange "GET" error with recent linux upgrade.

Hi Everyone,

I have a client that just upgraded their Linux to the latest redhat
enterprise linux. They had a bunch of servlets that all worked with the
previous version just fine. Those servlets handled both post and get
request. After the update, all the servlets now display the following
message:

HTTP Status 405 - HTTP method GET is not supported by this URL

I think they just used what ever versions of java, tomcat etc. that came
with linux. I'm not real familiar with linux, or if this is even a linux
problem. Just wonder if there is something obvious that may have caused this
that someone may be aware of? Any insight is greatly appreciated.

Happy Thanksgiving everyone.

-Brian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to