aspose file tools*
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
Author

505 Error from tomcat 4.1.3

Apu Shah
Greenhorn

Joined: Aug 15, 2004
Posts: 8
Hi,
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
Rancher

Joined: Mar 22, 2000
Posts: 12787
    
    5
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
Bill
Apu Shah
Greenhorn

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

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