java.lang.IllegalStateException

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    java.sql.SQLException(Error in allocating a connection)

    Oracle Community | 8 years ago | myjavahelp
    java.lang.IllegalStateException: Wrong XAState: 0)[/b] Stacktrace - ---------------------------------------------------------------------------------------------------------------------------- [#|2008-10-13T10:41:26.475-0400|SEVERE|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=23;_ThreadName=p: thread-pool-1; w: 9;_RequestID=e70b464f-c2de-4db1-a46b-f2e4860a2961;|RAR5027:Unexpected exception in resource pooling java.lang.IllegalStateException: Wrong XAState: 0

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No message provided

      at com.sun.jts.jta.TransactionImpl.enlistResource()
    2. Embedded GlassFish Web
      TransactionImpl.enlistResource
      1. com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:152)
      1 frame
    3. com.sun.enterprise
      J2EETransactionManagerOpt.enlistResource
      1. com.sun.enterprise.distributedtx.J2EETransaction.enlistResource(J2EETransaction.java:310)
      2. com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistResource(J2EETransactionManagerImpl.java:285)
      3. com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:108)
      3 frames
    4. Connectors Runtime
      PoolManagerImpl.registerResource
      1. com.sun.enterprise.resource.PoolManagerImpl.registerResource(PoolManagerImpl.java:196)
      1 frame
    5. com.sun.enterprise
      ConnectionWrapperEjb.createQueueSession
      1. com.sun.enterprise.jms.ConnectionWrapperBase.registerResourceHandle(ConnectionWrapperBase.java:242)
      2. com.sun.enterprise.jms.ConnectionWrapperBase.setupResourceHandle(ConnectionWrapperBase.java:259)
      3. com.sun.enterprise.jms.ConnectionWrapperEjb.createQueueSession(ConnectionWrapperEjb.java:101)
      3 frames
    6. com.apsolve.sapgateway
      ConnManagerOUT.handleProgressEvent
      1. com.apsolve.sapgateway.utils.sendMessage.init(sendMessage.java:47)
      2. com.apsolve.sapgateway.utils.sendMessage.sendTextMessage(sendMessage.java:76)
      3. com.apsolve.sapgateway.taskforce.ConnManagerOUT.handleProgressEvent(ConnManagerOUT.java:78)
      3 frames
    7. com.apsolve.mow
      TaskProgressCallbackImpl.handleProgressEvent
      1. com.apsolve.mow.workmgtreception.process.bridge.TaskProgressCallbackImpl.handleProgressEvent(TaskProgressCallbackImpl.java:74)
      1 frame
    8. mow.taskmanagement.process
      TaskProgressCallbackPOA._invoke
      1. mow.taskmanagement.process.interfaces.TaskProgress.TaskProgressCallbackPOA._vis_handleProgressEvent(TaskProgressCallbackPOA.java:120)
      2. mow.taskmanagement.process.interfaces.TaskProgress.TaskProgressCallbackPOA._invoke(TaskProgressCallbackPOA.java:85)
      3. mow.taskmanagement.process.interfaces.TaskProgress.TaskProgressCallbackPOA._invoke(TaskProgressCallbackPOA.java:63)
      3 frames
    9. com.inprise.vbroker
      ThreadPool$PoolWorker.run
      1. com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2683)
      2. com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRecord.java:109)
      3. com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java:638)
      4. com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(ServerProtocolAdapter.java:68)
      5. com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java:894)
      6. com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TPDispatcherImpl.java:99)
      7. com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool.java:76)
      7 frames