You need to put the location of the Oracle JDBC driver in TOMCAT's
CLASSPATH.
Edit the $TOMCAT_HOME/bin/catalina.sh file and find lines where the $CP
variable is used.
You should see something like this:

# ----- Set Up The System Classpath
-------------------------------------------

CP="$CATALINA_HOME/bin/bootstrap.jar"






Add the path to your driver, here's what mine looks like:


CP=$CP:"$JAVA_HOME/lib/classes12.zip"






Make sure you have that $JAVA_HOME variable defined.

-----Original Message-----
From: Ricardo Rocha [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 3:01 PM
To: [EMAIL PROTECTED]
Subject: oracle and apache tomcat


    I'm trying to access an oracle database through jsp-jdbc running under
apache tomcat...

    I've seen some thin-drivers in oracle's website but i'm lost... Where
should i put them in my jdk?? How can i be able to load a OracleDriver?

    Thanks for any help...

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to