Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3435

IllegalStateException closing connection

XMLWordPrintable

    • Icon: Quality Risk Quality Risk
    • Resolution: Can't Do
    • Icon: Major Major
    • None
    • 8.7
    • None
    • None

      Another thing from the log are what appear to be exceptions related to close calls:

      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]
      

      It looks like it's only happening for the XML subplans. We explicitly prevent close from being called multiple times on connector work item.

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-rareddy Ramesh Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: