File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply 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: 12266
    
    1
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


Java Resources at www.wbrogden.com
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://jrebel.com/download
 
subject: 505 Error from tomcat 4.1.3
 
Similar Threads
Tomcat 404 error
Web Application Root
Executing my first servlet program
problem in deploying WAR files in server
jsp-config does not appear to be "shared"