Hi Jack,

Jack ValLance wrote:

I have the following setting in my OJB.properties file:

# OJB.properties -- configuration of the OJB runtime environment

maxActive=300

maxIdle=-1

maxWait=2000

timeBetweenEvictionRunsMillis=-1

minEvictableIdleTimeMillis=1000000

whenExhaustedAction=2

When I run the application using Tomcat 4.1.27, I get the following Message: which changes the properties setting.

[org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl] INFO: Create PersistenceBroker instance pool, pool configuration was {whenExhaustedAction=2, maxIdle=-1, maxActive=300, maxWait=2000, removeAbandoned=false, numTestsPerEvictionRun=10, testWhileIdle=false, minEvictableIdleTimeMillis=1000000, testOnReturn=false, logAbandoned=false, removeAbandonedTimeout=300, timeBetweenEvictionRunsMillis=-1, testOnBorrow=false}


The settings for the PersistenceBroker pool seems ok to me. What is the problem here?


Below you post the settings of the connection pool. The connection pool settings can be set within the 'jdbc-connection-descriptor' element using 'connection-pool'

<connection-pool
            maxActive="6"
            whenExhaustedAction="0"
            validationQuery="select count(*) from OJB_HL_SEQ"
        />

What are the problems here? Can you describe a little more?

regards,
Armin


[org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl] INFO: Create new connection pool:[EMAIL PROTECTED]
jcd-alias=default
default-connection=true
dbms=Oracle
jdbc-level=2.0
driver=oracle.jdbc.driver.OracleDriver
protocol=jdbc
sub-protocol=Oracle
db-alias=thin:@mcpha4cds51.forscom.army.mil:1521:nc2d
user=TSAMS_USER
password=*****
eager-release=false
ConnectionPoolDescriptor={whenExhaustedAction=0, maxIdle=-1, maxActive=21, maxWait=5000, removeAbandoned=false, numTestsPerEvictionRun=10, testWhileIdle=false, minEvictableIdleTimeMillis=600000, testOnReturn=false, logAbandoned=false, removeAbandonedTimeout=300, timeBetweenEvictionRunsMillis=-1, testOnBorrow=true}
batchMode=false
useAutoCommit=AUTO_COMMIT_SET_TRUE_AND_TEMPORARY_FALSE
ignoreAutoCommitExceptions=false


[EMAIL PROTECTED]

sequenceManagerClass=class org.apache.ojb.broker.util.sequence.SequenceManagerNextValImpl
Properties={}




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to