3 Replies Latest reply: Apr 5, 2012 1:45 PM by mikereiche RSS

    weblogic.transaction.internal.TimedOutException

    user13131199
      Hi,

      I'm getting a "weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds" error intermittently when my web application calls a web service which calls a data service exposed as a web service. The ODSI function that seems to be "timing out" is a function to delete a record from a table.

      -----

      com.bea.control.ServiceControlException: Unexpected exception raised invoking processBatch on control org.abc.claims.testws.control.TestControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.testing.services.TestMasterService (POJO), operation=processBatch
      -> Failed to invoke method
      -> Unexpected exception raised invoking deleteDocumentSubmission on control org.abc.internet.submissionws.control.SubmissionServiceControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ]
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">com.bea.control.ServiceControlException: Unexpected exception raised invoking deleteDocumentSubmission on control org.abc.internet.submissionws.control.SubmissionServiceControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ]
      java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method

      weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method

      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.testing.services.TestMasterService (POJO), operation=processBatch
      -> Failed to invoke method
      -> Unexpected exception raised invoking deleteDocumentSubmission on control org.abc.internet.submissionws.control.SubmissionServiceControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ]
      ]
           at com.bea.control.servicecontrol.impl.ServiceControlImpl.invoke(ServiceControlImpl.java:696)
           at org.abc.claims.testws.control.TestControlBean.processBatch(TestControlBean.java:1202)
           at TestWeb.UploadInvoices.TestBatchProcessor.run(TestBatchProcessor.java:73)
           at java.lang.Thread.run(Thread.java:736)
      Caused by:
      java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.testing.services.TestMasterService (POJO), operation=processBatch
      -> Failed to invoke method
      -> Unexpected exception raised invoking deleteDocumentSubmission on control org.abc.internet.submissionws.control.SubmissionServiceControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ]
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">com.bea.control.ServiceControlException: Unexpected exception raised invoking deleteDocumentSubmission on control org.abc.internet.submissionws.control.SubmissionServiceControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ]
      java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method

      weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method

      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.testing.services.TestMasterService (POJO), operation=processBatch
      -> Failed to invoke method
      -> Unexpected exception raised invoking deleteDocumentSubmission on control org.abc.internet.submissionws.control.SubmissionServiceControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ]

           at weblogic.wsee.jaxrpc.StubImpl.throwRemoteException(StubImpl.java:296)
           at weblogic.wsee.jaxrpc.StubImpl.invoke(StubImpl.java:257)
           at $Proxy609.processBatch(Unknown Source)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:600)
           at com.bea.control.servicecontrol.impl.ServiceControlImpl.invoke(ServiceControlImpl.java:652)
           ... 3 more
      Caused by:
      weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.testing.services.TestMasterService (POJO), operation=processBatch
      -> Failed to invoke method
      -> Unexpected exception raised invoking deleteDocumentSubmission on control org.abc.internet.submissionws.control.SubmissionServiceControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ] FaultActor [null] Detail [<detail><java:string xmlns:java="java.io">java.lang.reflect.UndeclaredThrowableException
      com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_5bb8194193a35819:31b52569:136625f87c6:2963): weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      weblogic.transaction.internal.TimedOutException: Transaction timed out after 28 seconds
      BEA1-1CC20B8EDAD07088B65D
      </java:string></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to invoke end component org.abc.internet.service.SubmissionService (POJO), operation=deleteDocumentSubmission
      -> Failed to invoke method
      ]

           at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:355)
           at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:115)
           at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:100)
           at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:88)
           at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:309)
           at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:269)
           at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:213)
           at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:150)
           at weblogic.wsee.ws.WsStub.invoke(WsStub.java:87)
           at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:337)
           at weblogic.wsee.jaxrpc.StubImpl.invoke(StubImpl.java:255)
           ... 9 more

      -----

      Any thoughts on:

      1) What may be causing it? What is the root cause? Just a slow responding delete?
      2) Is there a temporary/quick fix, like changing a time out value?
        • 1. Re: weblogic.transaction.internal.TimedOutException
          mikereiche
          look at the file:

          ...installdir...\odsi_10.3\deployment\weblogic-ejb-jar.xml

          Make a copy of the original for safety's sake, and directly following the </stateless-session-descriptor> for the Server ejb, explicitly add the element

          <transaction-descriptor>
               <trans-timeout-seconds>600</trans-timeout-seconds>
          </transaction-descriptor>

          Be aware that this change will affect all of your applications built using this particular ODSI installation.

          Now, explicitly delete your dataspace from the server and then redeploy it. It should now have the new timeout. If you need a shorter timeout, you can use the fn-bea:timeout() function in your function, or specify a timeout in RequestConfig when making the call.

          - Mike
          • 2. Re: weblogic.transaction.internal.TimedOutException
            user13131199
            Thanks, Mike. I'll try it, but since I can't replicate the problem on demand, I'll just have to see if the problem stops happening...that's how I'll know if it worked or not.

            Is this or a configuration value that achieves the same thing able to be set in the weblogic console somewhere?
            • 3. Re: weblogic.transaction.internal.TimedOutException
              mikereiche
              Yes there is a setting in the weblogic console. Google for it (otherwise I'll have too Google for it). It's under Services -> JTA.

              - mike