i installed jetspeed at my isv.
they support jsp servlets .. blah ...
but they don't support
- servlet mapping
- connection pooling

in my torque.properties i have the following lines


torque.database.default.adapter=mysql
### torque.database.default.adapter=oracle
### torque.database.default.adapter=mssql
torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.default.connection.url = jdbc:mysql://localhost:3306/segieth
torque.dsfactory.default.connection.user =********
torque.dsfactory.default.connection.password = ********


torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
# The number of database connections to cache per ConnectionPool instance (specified per database)
torque.dsfactory.default.pool.defaultMaxConnections=10
torque.dsfactory.default.pool.maxExpiryTime=3600
torque.dsfactory.default.pool.connectionWaitTimeout=10



From time to time i get the following exception


Horrible Exception: org.apache.jetspeed.services.security.LoginException
[...]
Connection object was null. This could be due to a misconfiguration of the DataSourceFactory. Check the logs and Torque.properties to better determine the cause.


i suspect the 11th Connection ist the bad apple :-)
is there a way to tell torque not to pool the connections?
can i reset the connection pool if all connections in the pool are null?
- have i to overwrite the class?

tia
frank



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



Reply via email to