Hi Marc,
do you think it's the transaction pool ? Maybe it's the connection pool ?
For transaction, you can override the default value by creating
etc/org.apache.aries.transaction.cfg file (or using the config:* commands).
The default values provided by the feature are:
aries.transaction.recoverable = true
aries.transaction.timeout = 600
aries.transaction.howl.logFileDir = ${karaf.data}/txlog
aries.transaction.howl.maxLogFiles = 2
aries.transaction.howl.maxBlocksPerFile = 512
aries.transaction.howl.bufferSize = 4
For the datasource, it depends how you created the datasource.
Did you use the jdbc:* commands to create the datasource ?
Regards
JB
On 12/03/2015 03:57 AM, Marc Durand wrote:
Hello - I am using Karaf 3.0.5 and noticed that I cannot run more than 10
simultaneous database queries because the pool runs out of connections. I
found the limit to be set to 10 in
org.apache.aries.transaction.jdbc-2.1.0.jar
(org.apache.aries.transaction.jdbc.internal.ConnectionManagerFactory) where
I found this line: "private int poolMaxSize = 10;" and also in
ManagedDataSourceFactory class:
"cm.setPoolMaxSize(getInt("aries.xa.poolMaxSize", 10));"
My question is, how can I increase this value?
Thanks,
Marc
--
View this message in context:
http://karaf.922171.n3.nabble.com/Aries-pool-max-size-tp4044047.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com