ClassNotFoundException: oracle.jdbc.driver.OracleDriver - JDBC JAVA
This is a discussion on ClassNotFoundException: oracle.jdbc.driver.OracleDriver - JDBC JAVA ; 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 ...
-
-
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)
-
Re: ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Lee Fesperman wrote:
>
> 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.
Got it! For Tomcat, place JDBC driver jar/zip's in common/lib or shared/lib. See "Class
Loader HOW-TO" in the Tomcat docs.
--
Lee Fesperman, FFE Software, Inc. (http://www.firstsql.com)
==============================================================
* The Ultimate DBMS is here!
* FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)
Similar Threads
-
By Application Development in forum JDBC JAVA
Replies: 0
Last Post: 06-30-2006, 05:19 AM
-
By Application Development in forum JDBC JAVA
Replies: 8
Last Post: 02-16-2006, 11:00 PM
-
By Application Development in forum JDBC JAVA
Replies: 1
Last Post: 05-05-2005, 12:43 AM
-
By Application Development in forum JDBC JAVA
Replies: 1
Last Post: 02-07-2005, 09:40 PM
-
By Application Development in forum JDBC JAVA
Replies: 7
Last Post: 12-23-2004, 06:44 AM