Good day. I was trying to use Oracle9i instead of PostgreSQL in Basic CMP example and encountered the following problem: JDBC driver could not be loaded by OpenEJB.
Here is the stack trace: _____________________________________________________ Exception in thread "main" java.rmi.RemoteException: The bean encountered a non- application exception.; nested exception is: java.rmi.RemoteException: Castor JDO DatabaseNotFoundException thrown wh en attempting to begin a local transaciton; nested exception is: org.exolab.castor.jdo.DatabaseNotFoundException: Nested error: java.sql. SQLException: No suitable driver at org.openejb.core.transaction.TransactionPolicy.throwExceptionToServer (TransactionPolicy.java:254) at org.openejb.core.transaction.TxSupports.handleSystemException(TxSuppo rts.java:191) at org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.handl eSystemException(CastorCmpEntityTxPolicy.java:157) at org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.befor eInvoke(CastorCmpEntityTxPolicy.java:101) at org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.c reateEJBObject(CastorCMP11_EntityContainer.java:780) at org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.i nvoke(CastorCMP11_EntityContainer.java:521) at org.openejb.server.EjbDaemon.doEjbHome_CREATE(EjbDaemon.java:728) at org.openejb.server.EjbDaemon.processEjbRequest(EjbDaemon.java:539) at org.openejb.server.EjbDaemon.run(EjbDaemon.java:374) at java.lang.Thread.run(Thread.java:536) Caused by: java.rmi.RemoteException: Castor JDO DatabaseNotFoundException thrown when attempting to begin a local transaciton; nested exception is: org.exolab.castor.jdo.DatabaseNotFoundException: Nested error: java.sql. SQLException: No suitable driver at org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.befor eInvoke(CastorCmpEntityTxPolicy.java:100) ... 6 more Caused by: org.exolab.castor.jdo.DatabaseNotFoundException: Nested error: java.s ql.SQLException: No suitable driver at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:584) at org.openejb.alt.containers.castor_cmp11.CastorCmpEntityTxPolicy.befor eInvoke(CastorCmpEntityTxPolicy.java:69) ... 6 more ________________________________________________________________ But oracle jdbc driver (classes12.jar) were located in %openejb_home%\lib direcrory! Can this problem be fixed, or I've missed smth? Thank you for your attention. With best regards, Alexey Chalov ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ http://OpenEJB.sf.net OpenEJB-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openejb-user