Ramesh Reddy created TEIID-3435:
-----------------------------------
Summary: XML subquery plans being closed twice
Key: TEIID-3435
URL:
https://issues.jboss.org/browse/TEIID-3435
Project: Teiid
Issue Type: Quality Risk
Affects Versions: 8.7
Reporter: Ramesh Reddy
Assignee: Steven Hawkins
Another thing from the log are what appear to be exceptions related to double close
calls:
{code}
10:30:27,074 INFO
[org.jboss.jca.core.connectionmanager.listener.TxConnectionListener]
(http-localhost/127.0.0.1:8080-1) IJ000311: Throwable from unregister
connection: java.lang.IllegalStateException: Trying to return an unknown connection2!
org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6@b036577
at
org.jboss.jca.core.connectionmanager.ccm.CachedConnectionManagerImpl.unregisterConnection(CachedConnectionManagerImpl.java:347)
at
org.jboss.jca.core.connectionmanager.listener.TxConnectionListener.connectionClosed(TxConnectionListener.java:371)
at
org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.closeHandle(BaseWrapperManagedConnection.java:574)
at
org.jboss.jca.adapters.jdbc.WrappedConnection.close(WrappedConnection.java:265)
at
org.teiid.translator.jdbc.JDBCExecutionFactory.closeConnection(JDBCExecutionFactory.java:287)
at
org.teiid.translator.jdbc.JDBCExecutionFactory.closeConnection(JDBCExecutionFactory.java:51)
at
org.teiid.dqp.internal.datamgr.ConnectorWorkItem.close(ConnectorWorkItem.java:226)
[teiid-engine-8.4.2-redhat-1.jar:8.4.2-redhat-1]
{code}
It looks like it's only happening for the XML subplans. But it seems odd
as we explicitly prevent close from being called multiple times on connector
work item.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)