I think I have found the problem... I was creating multiple new
PersistenceBroker instances. Eventually this makes it run out of
connections. Now I share the same PB instance for severall classes.
sorry,
Pedro Salgado
On 14/01/2004 10:34, "Pedro Salgado" <[EMAIL PROTECTED]> wrote:
>
> Can anyone describe me what is happening? The connection pool is out of
> connections?
>
>
> javax.servlet.ServletException: Could not borrow connection from pool -
> org.apache.ojb.broker.metadata.JdbcConnectionDescriptor:
> [EMAIL PROTECTED]
> jcd-alias=default
> default-connection=true
> dbms=MySQL
> jdbc-level=2.0
> driver=org.gjt.mm.mysql.Driver
> protocol=jdbc
> sub-protocol=mysql
> db-alias=//127.0.0.1:3306/portonline
> user=root
> password=*****
> eager-release=false
> ConnectionPoolDescriptor={whenExhaustedAction=0, maxIdle=-1, maxActive=5,
> 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.SequenceManagerInMemoryImpl
> Properties={autoNaming=true}
> ]
> ]
>
> Pedro Salgado
>
>
> ---------------------------------------------------------------------
> 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]