Hi Werner,

I did exactly (I think) as you wrote but get the following exception:

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at org.exolab.castor.jdo.engine.DatabaseRegistry.createConnection(DatabaseRegistry.java:392)
at org.exolab.castor.jdo.engine.TransactionContextImpl.getConnection(TransactionContextImpl.java:209)
at org.exolab.castor.persist.TransactionContext.query(TransactionContext.java:718)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:508)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:459)
at org.exolab.castor.jdo.engine.OQLQueryImpl.execute(OQLQueryImpl.java:451)
..
Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:243)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773)


There must be something I'm doing wrong ...??? It seems to miss the parameters for the connection.
But If I start the tomcat Admin interface I see the datasource configured correctly.
The <resource-ref> is in the web.xml file and JNDI seems to work.


many thanks anyway
Andreas



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to