Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC connection to 8.1.5 from servlet fails
Now you've got me confused. You stated that you put the zip file in the classes
directory. If they can only go in the lib directory, do you have that in the
classpath?
Specifically, <webroot>/lib/classes111.zip?
And then if that doesn't work, here's a nasty suggestion, unzip the classes111.zip in the classes directory.
hth,
cindy
John Buell wrote:
> 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