]
Flavia Rainone resolved JBJCA-1367.
-----------------------------------
Resolution: Done
BaseWrapperManagedConnection cleanup prevents lock to unlock
------------------------------------------------------------
Key: JBJCA-1367
URL:
https://issues.jboss.org/browse/JBJCA-1367
Project: IronJacamar
Issue Type: Bug
Components: JDBC
Reporter: Flavia Rainone
Assignee: Flavia Rainone
Cleanup is deleting the lock holder in WrappedConnection, causing a concurring thread
that is performing an operation under the protection of the reentrant lock to not be able
to unlock:
09/01/2018 14:42:47,900 WARN
[org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$WildFlyXaMCF]
(Transaction Reaper Worker 0) IJ030022: Lock owned during cleanup: http task-56:
java.lang.Throwable: Lock owned during cleanup: http task-56
at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.8.0_40]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) [rt.jar:1.8.0_40]
at java.net.SocketInputStream.read(SocketInputStream.java:170) [rt.jar:1.8.0_40]
at java.net.SocketInputStream.read(SocketInputStream.java:141) [rt.jar:1.8.0_40]
at oracle.net.ns.Packet.receive(Packet.java:308)
at oracle.net.ns.DataPacket.receive(DataPacket.java:106)
at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:324)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:268)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:190)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:107)
at
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)
at
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1137)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:350)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:886)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1175)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1288)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613)
at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3657)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)
at
org.jboss.jca.adapters.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:113)