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

Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC connection to 8.1.5 from servlet fails

Re: JDBC connection to 8.1.5 from servlet fails

From: John Buell <jbuell_at_erols.com>
Date: 2000/05/16
Message-ID: <39216E5F.2CBF96CE@erols.com>#1/1

I tried that before I asked for help. In fact, zip/jars can't be put in the <webroot>/classes directory, only .class files. zip/jars go in the <webroot>/lib directory (according to the release notes).

J

"C. Ferguson" wrote:

> Hi,
> read the documentation for referencing a zip or jar. My guess is that
> it is a classpath issue, and you need to specifically add
> <webroot>/classes/classes111.zip so that the web server will understand
> to look into the zip file.
>
> hth,
> cindy
>
> John Buell wrote:
>
> > I can't connect to the database from a servlet using the eval copy of
> > java web server 2. It connects fine as a standalone app, or running
> > from the Java servletrunner.
> >
> > When I move the servlet to the <webroot>/servlets directory, and copy
> > the classes111.zip file to the <webroot>/classes directory (and
> > restarted the server)
> > I get a suitable driver not found error.
> >
> > I would appreciate input from the group,
> >
> > J
Received on Tue May 16 2000 - 00:00:00 CDT

Original text of this message

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