Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Kannan Somaiah
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks William. I will try and let you know.

Regards,
Somaiah
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic