Quantcast
Channel: xCommunity : Popular Discussions - Discuss
Viewing all articles
Browse latest Browse all 932

c3po.properties file

$
0
0

We've been having some issues with connection pooling to the databases, the DBA's are ready to implement a connection timeout on the DB side because we are finding that there are IDLE DB connections that go back for a month every time we do our monthly Windows patching which causes AlarmPoint to not be able to start properly.   I've been doing some research and discovered that the connection pool is controlled by the settings in the c3po.properties file, however on reviewing the file it looks like this:

 

acquireIncrement=1checkoutTimeout=0idleConnectionTestPeriod=180maxIdleTime=1800minPoolSize=5maxPoolSize=15maxStatements=3acquireRetryAttempts=-1testConnectionOnCheckout=falseautomaticTestTable=AUTOMATIC_TEST_TABLE

 

I am wondering if the file was saved in a unix format, and if we should edit it to look like this:

 

acquireIncrement=1

checkoutTimeout=0

idleConnectionTestPeriod=180

maxIdleTime=1800

minPoolSize=5

maxPoolSize=15

maxStatements=3

acquireRetryAttempts=-1

testConnectionOnCheckout=false

automaticTestTable=AUTOMATIC_TEST_TABLE

 

Could you tell me?

 

Thanks+


Viewing all articles
Browse latest Browse all 932

Latest Images

Trending Articles



Latest Images