Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getManagedConnection: illegal state exception. State = STATE_INACTIVE after abort due to transaction timeout #7211

Closed
njr-11 opened this issue Apr 11, 2019 · 0 comments · Fixed by #7215
Assignees
Labels
release bug This bug is present in a released version of Open Liberty release:19004 team:Zombie Apocalypse

Comments

@njr-11
Copy link
Contributor

njr-11 commented Apr 11, 2019

I've seen the following error occur (very infrequently) after an async abort due to transaction timeout of the same managed connection,

[4/11/19, 11:11:20:344 CDT] 00000042 com.ibm.ejs.j2c.MCWrapper                                    E J2CA0079E: Method getManagedConnection has detected an internal illegal state and is throwing an IllegalStateException. The exception is: java.lang.IllegalStateException: getManagedConnection: illegal state exception. State = STATE_INACTIVE MCW = 6f7ff602
	at com.ibm.ejs.j2c.MCWrapper.getManagedConnection(MCWrapper.java:695)
	at com.ibm.ejs.j2c.PoolManager.fatalErrorNotification(PoolManager.java:325)
	at com.ibm.ejs.j2c.MCWrapper.connectionErrorOccurred(MCWrapper.java:2187)
	at com.ibm.ejs.j2c.ConnectionEventListener.connectionErrorOccurred(ConnectionEventListener.java:237)
	at com.ibm.ws.rsadapter.impl.WSRdbManagedConnectionImpl.processConnectionErrorOccurredEvent(WSRdbManagedConnectionImpl.java:1756)
	at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.fireConnectionErrorEvent(WSJdbcConnection.java:1267)
	at com.ibm.ws.rsadapter.AdapterUtil.mapException(AdapterUtil.java:1220)
	at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:108)
	at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeUpdate(WSJdbcStatement.java:614)
	at concurrent.mp.fat.tx.web.MPConcurrentTxTestServlet.testTransactionTimesOutAndReleasesLocks(MPConcurrentTxTestServlet.java:1492)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty release:19004 team:Zombie Apocalypse
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants