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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 12675
    
    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


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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: 505 Error from tomcat 4.1.3
 
Similar Threads
Web Application Root
Tomcat 404 error
Executing my first servlet program
jsp-config does not appear to be "shared"
problem in deploying WAR files in server