aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Getting com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Getting com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Exception" Watch "Getting com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Exception" New topic
Author

Getting com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Exception

rakesh kadulkar
Ranch Hand

Joined: Jul 24, 2008
Posts: 115
Hi Guys,

I get the exception


When I try to make a REST web service call using the jersey client API.
The same code works fine on my local machine , the only difference on local and on production is Local tomcat is running on port 8080 and production tomcat is running on port 80.
I have made the respective changes in the code.
My URL looks like "http://IP..Only/TJMS/services/fileservices/addfile".
I googled for this error and i found that this error occurs when the server is not running. But my server is running.
To track the error, I have used mozilla poster plugin to make the REST service call and I made call to the same URL mentioned above and for surprise it worked well.
Please assist me in this.

-Rakesh


Rakesh Kadulkar
rakesh kadulkar
Ranch Hand

Joined: Jul 24, 2008
Posts: 115
Hi guys,

Any inputs from your side.

-Rakesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Exception