Re: ClassNotFoundException: oracle.jdbc.driver.OracleDriver



kajko wrote:
>
> Hi.
> I try play a little bit with a oracle, tomcat, apache. I setup apache,
> tomcat, and the oracle 10g. Now I try login to my database by website using
> jsp files.
> Base on website : http://elab.bus.umich.edu/how-to-oracle-jsp.php
> I made the page to pull up some records - just to see if this works.
> When I point in the webbrowser to this file i receive error:
>
> ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
> When I am login on that server I can use sqlplus.
> What could be problem?
> I use a debian system with oracle10g, tomcat 5.5.9 and jdk1.5.
>
> Please point me to some useful documents, examples.
> Thanks for help.

You need to put the JDBC Driver jar/zip in the standard shared library for Tomcat. I
don't what that is, however. It can also be put in common jars under lib/ext or
jre/lib/ext for your JVM.

--
Lee Fesperman, FFE Software, Inc. (http://www.firstsql.com)
==============================================================
* The Ultimate DBMS is here!
* FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)
.



Relevant Pages

  • ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    ... I try play a little bit with a oracle, tomcat, apache. ... I setup apache, ... When I am login on that server I can use sqlplus. ...
    (comp.lang.java.databases)
  • Re: ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    ... >> I try play a little bit with a oracle, tomcat, apache. ... I setup apache, ... Lee Fesperman, FFE Software, Inc. ...
    (comp.lang.java.databases)
  • Re: localhost connection refused (Oracle & Tomcat)
    ... such as: StandardHost: Error deploying application at context ... The problem I have with oracle is also one of the problems that I am ... having with tomcat. ... we are to stand by the president, right or wrong, is not only ...
    (alt.os.linux.suse)
  • Re: Help with Tomcat & Oracle on localhost
    ... My shop recently relocated our Oracle 10g instance to a new box. ... Since, this action, I can no longer run JSP's from my local host ... run it with Tomcat prior to the migration. ... If I run an app on my local tomcat to connect to remote databases I normally get an error stack including the ORA error number at the top of it. ...
    (comp.databases.oracle.misc)
  • Re: Servlets, JDBC Oracle Connection Mode
    ... >I need to write a servlet, that interacts with Oracle database, using ... >JDBC. ... running Tomcat is not the same as Database Server ... Oracle database use over the network. ...
    (comp.lang.java.databases)