wood burning stoves 2.0*
The moose likes Tomcat and the fly likes 505 Error from tomcat 4.1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "505 Error from tomcat 4.1.3" Watch "505 Error from tomcat 4.1.3" New topic

505 Error from tomcat 4.1.3

Apu Shah

Joined: Aug 15, 2004
Posts: 8
I have a war file. I have 2 versions of tomcat - 4.0.6 and 4.1.3. Same war file works fine in 4.0.6 but does not work in 4.1.3. My application is an applet-servlet application. I see the following error in the Java console. I do not see anything going to the server logs.

java.io.IOException: Server returned HTTP response code: 505 for URL: http://localhost:8480/myApp/servlet/DispatcherServlet?key=abc&data=FFFFFFFFFF|<All>

- I tried to remove the '<All>' in the request and every thing works fine.
Does anyone know what the problem could be?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
505 is for "HTTP version not supported"
so I am guessing it does not like the < and or > characters in the URL.
You could escape them using java.net.URLEncoder
Apu Shah

Joined: Aug 15, 2004
Posts: 8
I will try that.
Apu Shah

Joined: Aug 15, 2004
Posts: 8
It works.
thanks a lot.
I agree. Here's the link: http://aspose.com/file-tools
subject: 505 Error from tomcat 4.1.3
Similar Threads
Web Application Root
problem in deploying WAR files in server
Tomcat 404 error
Executing my first servlet program
jsp-config does not appear to be "shared"