Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-534

Possible ds connection leaks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.5.Final
    • 1.1.4.Final
    • Management API
    • None

      Lately when working more with manager REST API I started seeing the following error:

      16:08:22,020 WARN  [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (default task-60) SQL Error: 0, SQLState: null
      16:08:22,021 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (default task-60) javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/jdbc/ApiManagerDS
      

      Server restart seems to be the only way to recover from this state.

      After looking further into logs I have noticed the following warning during WF startup

      16:01:25,688 WARN  [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool -- 53) HHH000008: JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession()
      

        1. reproducer.sh
          1 kB
          Jakub Čecháček

              ewittman@redhat.com Eric Wittmann
              jcechace@redhat.com Jakub Čecháček
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: