IBM Support

J2CA0079E, java.lang.IllegalStateException, and J2CA0046E errors occur when invoking a Message Driven Bean (MDB)

Troubleshooting


Problem

When invoking an MDB, the following error might appear in the SystemOut.log: [2/21/06 10:38:36:292 EST] 00000095 MCWrapper E J2CA0079E: Method setManagedConnection has detected an internal illegal state and is throwing an IllegalStateException. The exception is: java.lang.IllegalStateException: setManagedConnection: illegal state exception. State = STATE_TRAN_WRAPPER_INUSE at com.ibm.ejs.j2c.MCWrapper.setManagedConnection(MCWrapper.java:680) ... at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:583) at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:84) ...

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"EJBDeploy (WSAD)","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5;8.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

15722;278;000

Document Information

Modified date:
03 March 2025

UID

swg21236664