• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClientTransportException

 
Eoin Li
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web service deployed to GlassFish server, then I generate a web service client in a different machine and write a client to test this web service out. However, when I called web service, there is the following exception occuring --

Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:196)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:168)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.jav


Could someone point out where it is going wrong?


Thanks,


 
Minhaj Mehmood
Ranch Hand
Posts: 400
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you paste the logs here?
you can find the log file inside AS_HOME/glassfish/domains/domain1/logs/server.log
 
Eoin Li
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response. However, I check log file which is nothing changed after I did a web service call.

Well, I changed a little code to catch exception message in catch block, which tells strict -- The server sent HTTP status code 503: Service Unavailable. Actually, it works if I am calling this web service from the same machine (service and client).


Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic