Hi,
your code uses this driver:
// Class.forName("
oracle.jdbc.driver.OracleDriver");// driver
But
Tomcat tries to load this driver:
java.lang.ClassNotFoundException:
oracle.jdbc.OracleDriver
There is a subtle difference
Either install proper driver file somewhere in the classpath (the best place is $CATALINA/lib) , or change the driver name in context.xml.
As described here:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
For Oracle 9i onwards you should use oracle.jdbc.OracleDriver rather than oracle.jdbc.driver.OracleDriver as Oracle have stated that oracle.jdbc.driver.OracleDriver is deprecated and support for this driver class will be discontinued in the next major release.