General J2EE: Entity Bean - Using JNDI Could not connect to data base !
- Posted by: Dharmin Desai
- Posted on: July 27 2003 23:35 EDT
I m using J2EE1.3 SUN Server with its own Deployment tool.
My code can pick up JNDI name.
But it is saying, It can not locate proper driver. I m using TYPE 4 Oracle driver (classes12.jar) and my tables are at database server.
Please tell me where to put my driver jar file in the path (it is already set in the classpath) so that server can find proper Driver ?
Should i provide server IP address in the connect string ? Please answer.
- Entity Bean - Using JNDI Could not connect to data base ! by Chetans on July 28 2003 08:50 EDT
- Entity Bean - Using JNDI Could not connect to data base ! by Chetans on July 28 2003 08:52 EDT
I guess we will need more information so as to pinpoint the problem you are facing. may be later we will be able to help you.
Just for the starters
1. put your classes12.jar in your application classes\lib folder.