Sorry Tommaso,
do you mean it is enough to set
torque.dsfactory.default.pool.initialSize=1
to avoid the problem?
----- Original Message -----
From: "Tommaso" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 14, 2006 4:18 PM
Subject: Re: "Anon User not found" - Exception
Hi there,
might be interesting, I've found a solution to this (for me).
I restructered the Torque.properties to (with emphasis on the
initialSize!!!)
---
torque.dsfactory.default.factory=org.apache.torque.dsfactory.SharedPoolDataSourc
eFactory
torque.dsfactory.default.pool.defaultMaxActive=15
torque.dsfactory.default.pool.initialSize=1
torque.dsfactory.default.pool.testOnBorrow=true
torque.dsfactory.default.pool.validationQuery=SELECT 1
torque.dsfactory.default.connection.driver = com.inet.tds.TdsDriver
torque.dsfactory.default.connection.url = jdbc:inetdae7a:1.2.3.4:1433?
database=foobar
torque.dsfactory.default.connection.user = ***
torque.dsfactory.default.connection.password = ***
---
Now it works.
Additionally it would be great, if someone could tell me, where to find a
jar,
having the class Jdbc2PoolDataSourceFactory.class.
Ciao,
Tommaso
---------------------------------------------------------------------
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]