tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dowling" <mich...@e-acumen.com>
Subject RE: Can't find jars in webapps/WEB-INF/lib
Date Fri, 04 Aug 2000 23:39:29 GMT
There *has* to be a bug in the classloader.  This is the 3rd guy (including
myself) that has posted a similar bug...



thanks, mdd



--
Michael D. Dowling
V.P. Technology, e-Acumen
michael@e-acumen.com
415-255-2250, 415-613-4959 cell.
1940 Bryant Street, San Francisco, CA 94110


> -----Original Message-----
> From: Andrew Jarman [mailto:ajarman@metacomcorp.com]
> Sent: Friday, August 04, 2000 4:09 PM
> To: Tomcat User (E-mail)
> Subject: Can't find jars in webapps/WEB-INF/lib
>
>
> Hi,
>
> This seems like a really stupid question, but I've been fighting it for
> hours:
>
> I have put together a servlet, along with some required jar files into
> the following dir structure:
>
> ROOT/WEB-INF/lib/*.jar
> ROOT/WEB-INF/web.xml
>
> The lib/*.jar includes the servlet classes and some other associated
> classes.  This includes the vbjorb.jar and others so my servlet can
> access an oracle database.
>
> When I try to load the servlet this way, by servlet starts initializing
> (so I know that the servlet jar file was found), but the init() function
> fails because it can't load all the necessary classes.
>
> If I copy all of the jar files to the /tomcat/lib directory and restart
> tomcat, everything works fine.
>
> All of the docs seem to indicate that jar files placed in the
> WEB-INF/lib directory would be added to the CLASSPATH for the
> application.
>
> What am I doing wrong?
>
> Assuming somebody helps me figure this out, can I also put .zip files in
> the WEB-INF/lib dir?  (for example, classes12.zip for Oracle)
>
> Cheers,
> Andrew
>
>


Mime
View raw message