We are still running 2.4.3 at work, and I'm starting to prepare for the transition to 3.2.x. In my first test conversion, I created an Oracle datasource and deployed it. I forgot to copy classes12.jar into server\<myserver>\lib. But looking through the boot.log and server.log, I can find no message informing me that it could not find class oracle.jdbc.driver.OracleDriver. Instead, when I attempted to deploy an EJB which uses this datasource, I got the following messages:

2003-05-23 17:27:18,682 DEBUG [org.jboss.ejb.StatelessSessionContainer] Begin java:comp/env for EJB: com.masergy.ejb.OrderManagement.OrderManagement
2003-05-23 17:27:18,682 DEBUG [org.jboss.ejb.StatelessSessionContainer] TCL: [EMAIL PROTECTED]
2003-05-23 17:27:18,772 ERROR [org.jboss.ejb.StatelessSessionContainer] Starting failed
javax.naming.NameNotFoundException: comp not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)


Needless to say, this message is not very helpful. I eventually figured out my setup problem and was then able to deploy the EJB. (As a side note, the only change I had to make to deploy my EJB from 2.4.3 was to add the doctype to ejb-jar.xml. Great job, JBoss authors!) Why didn't I get a ClassNotFound exception when the Oracle datasource was deployed?




------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to