db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Plachy" <johannes.pla...@jps.at>
Subject problems with torque at runtime
Date Wed, 20 Aug 2003 19:09:15 GMT

I am new to torque and tryingto get it up and running without success.
code generation and db initialization works fine, but runtime usage
doesnt work.

I am using a fairly simple mysql db with just one table without need of
an idbroker.

my runtime config: ( no factory worked for me...)

torque.database.default : registerx
torque.database.registerx.adapter : mysql
torque.dsfactory.default.factory :
torque.dsfactory.default.pool.defaultMaxConnections : 10
torque.dsfactory.default.pool.maxExpiryTime : 3600
torque.dsfactory.default.pool.connectionWaitTimeout : 10
torque.dsfactory.default.connection.driver : com.mysql.jdbc.Driver
torque.dsfactory.default.connection.url :
torque.dsfactory.default.connection.user : johannes
torque.dsfactory.default.connection.password : test
torque.database.registerx.maxConnections : 10
torque.database.registerx.expiryTime : 3600000

this is the exception I always get on my first access to the db:

38997 [Thread-5] WARN oid.IDBroker  - IDBroker is being used with db
'REGDAT', which does not support transactions. IDBroker attempts to use
transactions to limit the possibility of duplicate key generation.
Without transactions, duplicate key generation is possible if multiple
JVMs are used or other means are used to write to the database.
39017 [Thread-12] DEBUG oid.IDBroker  - IDBroker thread was started.
StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw
org.apache.jasper.JasperException: 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.
does anybody know the reason why this doesn't work ?

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

View raw message