The classloader is most likely skipping over your .zip files. I believe there are newer JDBC drivers from Oracle packaged as .jar files. Try one of those.

--David

Mallik wrote:

HI Friends i am new to this group and tomcat too..... i have downloaded tomcat5.5.x and jdk1.5 and i have oracle8i just i started a sample application which has database connection..... but it is throwing exception called:ClassNotFoundException for Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:databaseName","username","password");
......
.....
why this is ?
i have placed classes12.zip, classes111.zip and classes102.zip in
tomcatRoot/common/lib
it is not working
and i tried by placing in appDir/WEB-INF/lib
but same Exception
what is the problem ? where i am going worng? Is it compatability
problem....?
it is working well on Weblogic8.0 i am not getting the reason........
plw let me know.......



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to