db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andras Balogh <and...@reea.net>
Subject Re: Strange connection pool exception
Date Tue, 06 Apr 2004 12:27:07 GMT
Hello,

How is your connection settings in torque.properties?
Try to use the second type of pool:
org.apache.torque.dsfactory.SharedPoolDataSourceFactory

Best wishes,
Andras.

Nathan Mcminn wrote:

>Has anybody ever seen this exception before?  Most of the time I'm not
>having any issues, but once in a while, this crops up:
> 
>java.sql.SQLException: Timed out waiting for pooled connection from
>'null'
>        at
>org.apache.torque.pool.ConnectionPool.getConnection(ConnectionPool.java:
>233)
>        at
>org.apache.torque.pool.TorqueClassicDataSource.getConnection(TorqueClass
>icDataSource.java:488)
>        at
>org.apache.torque.pool.TorqueClassicDataSource.getConnection(TorqueClass
>icDataSource.java:458)
>        at
>org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:743)
>        at org.apache.torque.Torque.getConnection(Torque.java:306)
>        at
>org.apache.torque.util.Transaction.beginOptional(Transaction.java:118)
>        at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1365)
>        at
>org.apache.turbine.om.security.peer.TurbineUserPeer.doSelect(TurbineUser
>Peer.java:417)
>        at
>org.apache.turbine.om.security.peer.TurbineUserPeer.doSelect(TurbineUser
>Peer.java:381)
> 
>--------------------------------------------
>Nathan McMinn
>Application Developer
>NequalsOne - HealthCare marketing tools
>mailto:nmcminn@NequalsOne.com
>http://www.NequalsOne.com 
> 
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message