File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Getting com.sun.jersey.api.client.ClientHandlerException: Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Getting com.sun.jersey.api.client.ClientHandlerException: Exception" Watch "Getting com.sun.jersey.api.client.ClientHandlerException: Exception" New topic

Getting com.sun.jersey.api.client.ClientHandlerException: 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 Kadulkar
rakesh kadulkar
Ranch Hand

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

Any inputs from your side.

I agree. Here's the link:
subject: Getting com.sun.jersey.api.client.ClientHandlerException: Exception
It's not a secret anymore!