[jbossts-issues] [JBoss JIRA] (JBTM-2595) TransactionalDriver consuming all database connections
Karsten Ohme (JIRA)
issues at jboss.org
Tue Dec 29 22:13:00 EST 2015
Karsten Ohme created JBTM-2595:
----------------------------------
Summary: TransactionalDriver consuming all database connections
Key: JBTM-2595
URL: https://issues.jboss.org/browse/JBTM-2595
Project: JBoss Transaction Manager
Issue Type: Bug
Components: JTA
Affects Versions: 5.2.11.Final
Environment: Windows 7, Java 8, Spring 4.1.7, Hibernate 5.0.1, PostgreSQL
Reporter: Karsten Ohme
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbossts-issues
mailing list