Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Connecting to Oracle with JSP (Newbie)

Re: Connecting to Oracle with JSP (Newbie)

From: John Mishefske <mishej_at_execpc.com>
Date: Tue, 23 Jul 2002 23:12:53 -0500
Message-ID: <3d3e294f$0$3581$272ea4a1@news.execpc.com>


Paul Matheson wrote:
> Hi,
> I'm having trouble connecting to Oracle using JSP.
> I'm using Oracle 8.1.6, jdk 1.2.2, Tomcat 4.0.4 running on Win2k,
> all running one machine.
>
> When I try running a very simple Database query using JSP, I get the
> following error message.
>
> Class oracle.jdbc.driver.OracleDriver not found.
>
> The part of the code the error points to is:
>
> DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
>
> Thanx in advance,
>
> P...

Copy your classes12.zip file (c:\orant\jdbc\lib\classes12.zip??) to the Tomcat common lib folder (%CATALINA_HOME\common\lib) and rename it to classes12.jar.

You may have problems running JDK 1.2.2 - should have 1.3 at least I believe.

Tomcat doesn't use the %CLASSPATH%.

-- 
'-------------------------------
' John Mishefske
'-------------------------------
Received on Tue Jul 23 2002 - 23:12:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US