wood burning stoves*
The moose likes BEA/Weblogic and the fly likes Error 500--Internal Server Error - com.sun.xml.ws.client.ClientTransportException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Error 500--Internal Server Error - com.sun.xml.ws.client.ClientTransportException" Watch "Error 500--Internal Server Error - com.sun.xml.ws.client.ClientTransportException" New topic
Author

Error 500--Internal Server Error - com.sun.xml.ws.client.ClientTransportException

Supun Maduranga
Greenhorn

Joined: Jun 21, 2013
Posts: 3
Hello All,
Please help me on this matter. I spent days to resolve this issue but i didn't get any silver line yet

I am using weblogic server 12.1.1 for testing my Java webservice application which is developing by using Netbeans IDE.
When i start the weblogic server from the Netbeans and call web service methods from a remote server it is working properly with the expected results. But after few web service calls or few minutes later the web server raising the
"Error 500--Internal Server Error" with below exceptions.

Error 500--Internal Server Error

com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:321)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:270)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:228)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:143)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:892)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:841)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:804)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:706)
at com.sun.xml.ws.client.Stub.process(Stub.java:385)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:189)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:102)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:172)
at com.sun.proxy.$Proxy130.searchTransaction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
at com.sun.proxy.$Proxy112.searchTransaction(Unknown Source)
at sampath.com.erm.hub.service.ServiceLocatorGateway.searchTransaction(ServiceLocatorGateway.java:30)
at sampath.com.erm.hub.testClient.ServiceHubSearchTransactionTest.doPost(ServiceHubSearchTransactionTest.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3284)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

But if i restart the the web server then it is working and later raise above error.
I think this issue is with the web server configuration settings related to memory management.
Please help me on this matter.
Thank You Very Much!

Best Regards!
Supun
Carles Gasques
Ranch Hand

Joined: Apr 19, 2013
Posts: 199
    
    1
Hi,

Since is a server issue perhaps the server trace (weblogic) could give us some more insight.
Could you attach a excerpt from the server log?

Best regards,

Supun Maduranga
Greenhorn

Joined: Jun 21, 2013
Posts: 3
Carles Gasques wrote:Hi,

Since is a server issue perhaps the server trace (weblogic) could give us some more insight.
Could you attach a excerpt from the server log?

Best regards,


Thanks for the quick respond,
Here is the server exception,

com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:321)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:270)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:228)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:143)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
Truncated. see log file for complete stacktrace
Carles Gasques
Ranch Hand

Joined: Apr 19, 2013
Posts: 199
    
    1
Sorry Supun,

Maybe I'm wrong but seems to me a client trace not a server trace of the error.
"com.sun.xml.ws.transport.http.client.HttpTransportPipe"

Where this trace comes from <your_bea_instance>.log, <your_bea_domain>.log, weblogic error, weblogic out ?


Best regards,
Supun Maduranga
Greenhorn

Joined: Jun 21, 2013
Posts: 3
Dear Charles,
Sorry for the delayed respond.
Since i am new to weblogic server and not much aware of server settings and all this what i get.
I am using netbeans IDE witWeblogic server. When this exception is triggering in the client machine (top one) output window of the weblogic server (in netbeans) giving the above result.
Any idea to get exact server log? and any solution (probably the webserver settings)?

Thank You v. much for the big help.
Regards!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error 500--Internal Server Error - com.sun.xml.ws.client.ClientTransportException
 
Similar Threads
struts2 error
Internal Server Error due to NullPointerException while running the app.
Connecting to a secure webservice from within another webservice
Error while making a SOAP Request
java.lang.ClassCastException: Model.Employee cannot be cast to Model.Employee