Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19082

"IJ000152: Trying to return an unknown connection" during extensive transactions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 30.0.1.Final
    • JCA, JPA / Hibernate
    • None
    • Hide

      Reproducing is tough - it happens in random use cases of our application during transactions where a lot of data is changed, multiple EJBs are involved and EntityManager#flush is called manually. But it's reproducible for us, so I'm happy to provide any logging or debugging that might help. Our application is a huge monolith .

      I do have to "redact" the log files for company policy reasons.

      Show
      Reproducing is tough - it happens in random use cases of our application during transactions where a lot of data is changed, multiple EJBs are involved and EntityManager#flush is called manually. But it's reproducible for us, so I'm happy to provide any logging or debugging that might help. Our application is a huge monolith . I do have to "redact" the log files for company policy reasons.
    • ---
    • ---

    Description

      smarlow1@redhat.com suggested to open a Jira issue for our problem, please see the linked forum thread.

      In short we are receiving the following INFO level exception logged during extensive transactions. These are transactions where a lot of data is changed, multiple EJBs are involved and EntityManager#flush is called manually. We are deploying a JSF EAR application on WildFly 30.0.1.Final with Hibernate 6.4.4.Final using JPA on Windows and an MSSQL database.

      INFO  [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (default task-10) IJ000311: Throwable from unregister connection: java.lang.IllegalStateException: IJ000152: Trying to return an unknown connection: org.jboss.jca.adapters.jdbc.jdk8.WrappedConnectionJDK8@6ca4f174

      Attachments:

      Attachments

        1. EntityManagerFactoryTestCase_server.log
          187 kB
        2. persistence.xml
          3 kB
        3. server.log
          179 kB
        4. server-1.log
          17.25 MB
        5. stacktrace_with_jca_jpa_and_hibernate_logging.txt
          8 kB
        6. stacktrace.txt
          31 kB

        Activity

          People

            tadamski@redhat.com Tomasz Adamski
            mkomkomko Manuel K
            Scott Marlow
            Scott Marlow
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: