glassfish
  1. glassfish
  2. GLASSFISH-19650

Server throws com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 500: Internal Server Error

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I have deployed jax-ws web service into glassfish.My client request for the service method which takes process 5000 to 10000 records.In between processing server throws clientTransportException with following stack-trace.
      com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 500: Internal Server Error
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:314)
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:265)
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:184)
      at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:109)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      at com.sun.xml.ws.client.Stub.process(Stub.java:323)
      at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:161)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:113)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:144)
      at $Proxy190.webservicemethodcall(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)

      I try to monitor the glassfish request but it show errorcount 1 which gives me no proper reason of errorcount.
      It has been observed that after throwing exception my service method properly functioning unto last line of method at server.But at client get exception before rendering the response.It look like Client connection drops before returning response.Once return object populated properly it wont find pipe to return response.
      I have tried with all combination of timeout.
      With larger data get i got this exception.

        Activity

        mayurbonde created issue -

          People

          • Assignee:
            michael.y.chen
            Reporter:
            mayurbonde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: