• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.io.IOException: Server returned HTTP response code: 505 for URL

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am working in a struts application. I am working on a screen which has several sections. Each sections correspond to a .do and I am using <c:import> to call each .do to load the individual sections inside the JSP.

I am getting the below error:

[#|2007-12-13T05:18:29.413-0700|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=13;|StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.io.IOException: Server returned HTTP response code: 505 for URL: http://eng-reports-uat.central/reports/metaDataPages.do?actionType=getProjectStakeHolders&appID=APP019&appName=AA&fullName=Availability Appliance


Please let me know how I can solve this problem.

Thanks in advance.

Also let me know if you need more information from me to solve the problem.

Regards,
Somaiah
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The 505 error code stands for "the server does not support or refuses to support the HTTP protocol version used in the request message"



That is pretty weird - if this was my problem I would attempt to capture the entire request - headers and body - with something like TCPMON.

There is a convenient list of response codes in the HttpServletResponse Javadocs.

Bill
 
Kannan Somaiah
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi William,

Thanks for taking time to answer my question.

Can you please tell me how to capture the entire request?

"if this was my problem I would attempt to capture the entire request - headers and body - with something like TCPMON."

I am not able to understand the above line.

Thanks again.

Regards,
Somaiah
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Recording the complete text of the request/response message cycle is one of the important debugging techniques for servlet/jsp applications. A tool that will let you do this is the open source utility TCPMON. It will let you see exactly what the headers and body of the request contain.

I don't know if it will lead you to the cause of that 505 error message, but it is an important tool to learn in any case.

Bill
 
Kannan Somaiah
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks William. I will try and let you know.

Regards,
Somaiah
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic