Dear Tommaso,
I have checked Torque.properties and I have seen many of the properties you mention are commented. Do you suggest to uncomment them and configure them in order to prevent "Anon..". exception? In particular, torque.dsfactory.default.pool.initialSize is not included: can it be used or is something you added?
Thanks (the system crashed a couple of minutes ago...),
Stefano


----- 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]

Reply via email to