The easiest way, using JWS, is to rename the file to classes111.jar and put
it in the <server_root>/lib directory.  JWS automatically picks up all .jar
files in its lib directory when it starts, but it ignores .zip files.  Since
.zip and .jar files use the exact same file format, there is no problem with
doing the renaming.
    (*Chris*)

----- Original Message -----
From: Kevin Gross <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 28, 1999 7:46 AM
Subject: Re: Problem with Oracle and Servlets - 2nd try


> I don't know about JWS, but with JRun you have to put the classes.zip
> for of the Oracle JDBC driver in the proper configuration file, not just
> the CLASSPATH. I believe the classpath is ignored and just the value of
> the configuration file is used.
>
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of FOLEY
> Mark (EDS)
> Sent: Thursday, June 24, 1999 6:08 PM
> To: [EMAIL PROTECTED]
> Subject: Problem with Oracle and Servlets - 2nd try
>
>
> Hi all,
> it seems my first posting of this didn't hit the
> list...
>
> I have been trying to make a call to an Oracle 8 database using a java
> servlet via a JDBC driver. I have been using a version of Personal Oracle
> that implements the Oracle 8 database.
>
> I have managed to communicate to Oracle 8 from a simple console
application,
> however
> I am having trouble when I tried to scale the application up to run from a
> browser
> which calls a servlet via the form post method and in turn serves up the
> results
> of an sql query as a html page. The web server I am using is Java Web
> Server1.1.3 (JWS).
>
> As far as I can tell, I have made all the correct references in my
> CLASSPATH environment variable, and I have put my HTML in the
> public_html directory of the JWS and the .class file of my servlet in
> the servlets directory of the JWS, yet I am still trigerring the
>
> ClassNotFoundException
>
> exception when attempting to load the Oracle JDBC
> driver (as per the line of code below).
>
> Class.forName ("oracle.jdbc.driver.OracleDriver");
>
>  Can anyone help point me in the right direction here?
>
> thanks
>
>
> Daniel
>
> c/o
> Mark Foley
> EDS (Australia)
> +61-2-62756494
> [EMAIL PROTECTED]
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to