hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: HTTP client connecting to Tomcat server application
Date Thu, 12 Jul 2007 05:55:06 GMT
Dhiraj Shetty wrote:
> Hi ,
>  I am using a standalone application to connect a Tomcat application using
> the HTTP client package .
> I am trying to implement a SSL connection to the remote application but i
> get a HTTP/1.1 500 Internal Server Error.
> Is there any way to find or debug the problem ?

Look at the server logs and consult the Tomcat documentation.

> The Error is thrown by the httpPost.getStatusLine() in my standalone
> application .

The error is _reported_ to you via getStatusLine.
HTTP status codes are always generated by the server.
5xx means there is something wrong with the server.
4xx would indicate a problem with the request you sent.

hope that helps,

To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message