[ https://issues.apache.org/jira/browse/JAMES-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3877. --------------------------------- Fix Version/s: 3.8.0 Resolution: Fixed > Allow to configure jpa pool max connections in juice module > ----------------------------------------------------------- > > Key: JAMES-3877 > URL: https://issues.apache.org/jira/browse/JAMES-3877 > Project: James Server > Issue Type: Improvement > Components: jpa > Reporter: Jean Helou > Priority: Major > Fix For: 3.8.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > When using the juice JPA module, the configuration is read from > `james-database.properties` by the JPAConfiguration class. In doing so it > creates `openjpa.*` properties which are then consumed by the entity manager > factory. > Among these properties `openjpa.ConnectionFactoryProperties` is used to > configure the underlying apache dbcp connection pool. > While it is already aware of some properties, it doesn't allow for > configuring the `MaxTotal` which is at 8 by default (my quota is 5 :) ) > The list and use of all the properties is documented at > [https://commons.apache.org/proper/commons-dbcp/configuration.html > |https://commons.apache.org/proper/commons-dbcp/configuration.html] > Adding parsing for more properties is pretty easy and could be a nice entry > point to beginner contributors even though I couldn't figure out how to run > the tests within my IDE -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org