Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2595

TransactionalDriver consuming all database connections

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Incomplete Description
    • Affects Version/s: 5.2.11.Final
    • Fix Version/s: None
    • Component/s: Transactional Driver
    • Labels:
      None
    • Environment:

      Windows 7, Java 8, Spring 4.1.7, Hibernate 5.0.1, PostgreSQL

      Description

      I'm using Narayana in a Spring / Hibernate Set Up for running a distributed Infinispan cache. During the start up of the application Spring Security is fetching several access control entries from the database. These are several hundred requests. The TransactionManager is creating always a new connection and I can see in the PostgreSQL console that all connections are used up until PostgreSQL is not allowing any connections anymore.

      What is needed is a blocking feature. I think Apache DBCP has something like this and is blocking calls until connections are available again.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                k_o_ Karsten Ohme
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: