The JDBC driver must be in common/lib so that it is accessible to both Tomcat and your app. See http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html and http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html -- Len
On 9/29/06, red phoenix <[EMAIL PROTECTED]> wrote:
I use Oracle9i,so I put oracle\ora90\jdbc\lib\classes12.jar file into tomcat\webapp\myweb\WEB-INF\lib,I don't where I did wrong,I am puzzled with it On 9/30/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: red phoenix [mailto:[EMAIL PROTECTED] > > Subject: Tomcat5.5.17 JNDI configure error > > > > But when I run it,it raise following errors: > > > > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load > > JDBC driver class 'oracle.jdbc.driver.OracleDriver' > > Where did you put the jar containing the Oracle driver? > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]