My Oracle Support Banner

oracle.jms.AQjmsException: The method 'commit' cant be called when a global transaction is active. (Doc ID 1323334.1)

Last updated on AUGUST 31, 2018

Applies to:

Oracle SOA Platform - Version 11.1.1.1.0 and later
Information in this document applies to any platform.

Symptoms

SOA running AIA hangs intermittently. The workaround is to restart the server.
The following errors might be recorded in the log file:

Error 1
oracle.jms.AQjmsException: The method 'commit' cant be called when a global transaction is active.
at oracle.jms.AQjmsSession.commitNoCheck(AQjmsSession.java:938)
at oracle.jms.AQjmsSession.commit(AQjmsSession.java:907)
at oracle.apps.aia.core.eh.PublishMessageSession.publishFaultMessageOnTopic(Unknown Source)
at oracle.apps.aia.core.eh.AIAErrorHandlerImpl.sendNotification(Unknown Source)
at oracle.apps.aia.core.eh.InvokeBusinessErrorHandler.process(Unknown Source)
at bpel.aiaasyncerrorhandlingbpelprocess.ExecLetBxExe0.execute(ExecLetBxExe0.java:58)
at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:50)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3714)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1657)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:221)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:326)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5809)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1089)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:651)


Error 2
java.sql.SQLException: The method 'commit' cant be called when a global transaction is active.
at oracle.oc4j.sql.spi.ConnectionHandle.oc4j_throwSQLExceptionIfGlobalTxActive(ConnectionHandle.java:417)
at oracle.oc4j.sql.spi.ConnectionHandle.commit(ConnectionHandle.java:123)
at oracle.jms.AQjmsSession.commitNoCheck(AQjmsSession.java:934)
at oracle.jms.AQjmsSession.commit(AQjmsSession.java:907)
at oracle.apps.aia.core.eh.PublishMessageSession.publishFaultMessageOnTopic(Unknown Source)
at oracle.apps.aia.core.eh.AIAErrorHandlerImpl.sendNotification(Unknown Source)
at oracle.apps.aia.core.eh.InvokeBusinessErrorHandler.process(Unknown Source)
at bpel.aiaasyncerrorhandlingbpelprocess.ExecLetBxExe0.execute(ExecLetBxExe0.java:58)
at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:50)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3714)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1657)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:221)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:326)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5809)


Error 3
oracle.jms.AQjmsException: ORA-00060: deadlock detected
while waiting for resource
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 6008
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_AQJMS", line 174
ORA-06512: at line 1
at oracle.jms.AQjmsSession.alterDurableSubscriber(AQjmsSession.java:3880)
at oracle.jms.AQjmsSession.createSubInOldMode(AQjmsSession.java:2771)
at oracle.jms.AQjmsSession.createDurableSubscriber(AQjmsSession.java:2400)
at oracle.jms.AQjmsSession.createDurableSubscriber(AQjmsSession.java:2330)
at oracle.jms.AQjmsSession.createDurableSubscriber(AQjmsSession.java:2175)
at
oracle.apps.aia.core.eh.PublishMessageSession.publishFaultMessageOnTopic(Publi
shMessageSession.java:175)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.