Forums Register Login

ClientTransportException

+Pie Number of slices to send: Send
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,


+Pie Number of slices to send: Send
can you paste the logs here?
you can find the log file inside AS_HOME/glassfish/domains/domain1/logs/server.log
+Pie Number of slices to send: Send
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,
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3706 times.
Similar Threads
The server sent HTTP status code -1
com.sun.xml.ws.client.ClientTransportException JAX-WS
web service integration using Netbeans IDE
SSL Web Service Client
com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code -1: null
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:42:37.