Am 12.08.2010 11:53, schrieb Adrien Flammarion:
Hello experts,

I have setup my james server to use an Oracle database as the inbox/spool/user repository. I can see in my Oracle logs that James is openning a new connection with the DB roughly 22 000 times a day.

Is this expected behaviour? I would have expected James to use a pool and not open new connection for every dialogue it has with the DB.

I would appreciate any input.
Thanks.

Hi,

what version of James you are using ? I guess its 2.3.x. By default it use a connection pool of 20 connections there. You can find howto tune this here:

http://james.apache.org/server/2.3.2/apidocs/org/apache/james/util/dbcp/JdbcDataSource.html


Hope it helps,
Norman


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to