I'm getting an error when I try to run Torque 3.0 b3.  The program is just
setting a couple of values and then doing a save, just to test and get
things working.  After many trials and tribulations , I finally got
everything to compile and run with runtime exceptions.  Now, I'm getting an
error on the save() command.  The error message is this:

Io exception: The Network Adapter could not establish the connection; a
rollback exception occurred when rolling back the error: 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.: Io
exception: The Network Adapter could not establish the connection

The log file isn't much help (to me, at least).  Here it is:

2002-07-24 14:21:04,849 [main] INFO  org.apache.torque.Torque - Logging has
been configured by Torque.
2002-07-24 14:21:04,889 [main] DEBUG org.apache.torque.adapter.DBFactory -
Using org.apache.torque.adapter.DBOracle
2002-07-24 14:21:04,920 [main] DEBUG org.apache.torque.adapter.DBFactory -
Using org.apache.torque.adapter.DBOracle
2002-07-24 14:21:04,930 [main] DEBUG org.apache.torque.adapter.DBFactory -
Using org.apache.torque.adapter.DBOracle
2002-07-24 14:21:04,930 [main] DEBUG org.apache.torque.Torque - Starting
initAdapters
2002-07-24 14:21:04,930 [main] DEBUG org.apache.torque.Torque - Starting
initDSF
2002-07-24 14:21:04,930 [main] DEBUG org.apache.torque.Torque - handle:
dnislookup DataSourceFactory:
org.apache.torque.dsfactory.Jdbc2PoolDataSourceFactory
2002-07-24 14:21:04,970 [main] DEBUG org.apache.torque - Starting initCPDS
2002-07-24 14:21:05,010 [main] DEBUG org.apache.torque - Setting datasource
property: driver
2002-07-24 14:21:05,560 [main] DEBUG org.apache.torque - Setting datasource
property: url
2002-07-24 14:21:05,560 [main] DEBUG org.apache.torque - Setting datasource
property: user
2002-07-24 14:21:05,560 [main] DEBUG org.apache.torque - Setting datasource
property: password
2002-07-24 14:21:05,560 [main] DEBUG org.apache.torque - Starting
initTorqueClassic
2002-07-24 14:21:05,871 [main] DEBUG org.apache.torque - Setting datasource
property: defaultMaxActive
2002-07-24 14:21:05,951 [main] DEBUG org.apache.torque - Setting datasource
property: testOnBorrow
2002-07-24 14:21:06,041 [main] DEBUG org.apache.torque - Setting datasource
property: validationQuery
2002-07-24 14:21:06,161 [Thread-1] INFO  org.apache.torque.oid.IDBroker -
IDBroker thread was started.
2002-07-24 14:21:09,556 [main] WARN  org.apache.torque.oid.IDBroker -
IDBroker is being used with db 'dnislookup', 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.

I am trying to use the JDBC2Pool method of connecting.  Does anyone have
any tips to help me out?  I'm going crazy, torque seems like such a great
tool, but I've spent hours now trying to get everything setup correctly,
and am beginning to wonder if it is worth it.  Thanks!


Tobin Juday
Software Engineer
proud graduate of The Ohio State University
[EMAIL PROTECTED]
Phone: 614.564.4192
Pager: 877.546.0103

The #1 Way to Pay Online
http://www.checkfree.com/paybillsonline




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

Reply via email to