I had this problem, and got it work by having the ojdbc14.jar in the
'$CATALINA_HOME/common/lib' directory ONLY.

If I kept a copy of ojdbc14.jar in my application's 'WEB-INF/lib' directory,
the thing just did not work.

Strange. I cannot explain it!

Harry Mantheakis
London, UK

> Hey All.
> 
> I've been trying to write a servlet that uses a jdbc driver to connect
> to a remote Oracle server.  I've manage to compile my own standalone app
> to connect to the DB.  I included the ojdbc14.jar in my classpath and
> everything seemed to work fine.  I can't seem to get the same code to
> work in a servlet with tomcat 5, and I'm pretty sure it's because tomcat
> does not know where ojdbc14.jar is.  I've put it in server/lib and /bin
> and common/lib, but to no avail.  Using the web tool, I've added the
> ojdbc14.jar file with multiple paths and i've still got nothing.  Any
> help would be appreciates.
> 
> I'm running this on Linux with tomcat 5, Oracle 9i and apache 1.3.29.
> 
> Regards,
> Jeremie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to