Announcement Announcement Module
No announcement yet.
RestTemplate on Tomcat 6.0.29 give 505 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • RestTemplate on Tomcat 6.0.29 give 505

    We have a Spring REST webservice deployed on Tomcat 6.0.29. We are using REST Template to access the REST Service.

    HttpHeaders headers = new HttpHeaders();

    HttpMethod httpMethod=(HttpMethod) message.getHeaders().get("httpMethod");
    HttpEntity<Object> httpEntity = new HttpEntity<Object>(message.getPayload(), headers);

    httpResponse =, httpMethod, httpEntity, PaymentInstrument.class);

    We get 505 back from the REST Service sometimes and sometimes we get the valid response back. We checked the Apache JIRA for reported defects and we got this link

    Based on the suggestion we upgraded to the new version of tomcat 6.0.30. Everything works fine.

    We have a fix of moving to 6.0.30, but we really need to know why only using REST Template do we get 505, where else any other clients like SOAP UI, Crome RESTConsole, WizTools REST Client.