tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Willis" <agwil...@geocities.com>
Subject RE: .jar files in the lib directory
Date Mon, 27 Mar 2000 14:50:01 GMT
The problem seems to be that the code to load the jars out of the lib
directory doesn't check to see if that directory is absolute.  The work
around that I've found is in the server.xml file, specify an absolute path,
not a relative path for your docBase property for a context entry.

If you are interested, the link to the code fix is at
http://jakarta.apache.org/bugs/show_bug.cgi?id=83


-Andrew


-----Original Message-----
From: Kyle Cordes [mailto:Kyle@kylecordes.com]
Sent: Friday, March 24, 2000 9:04 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: .jar files in the lib directory


It's a known bug in 3.1, it's in the bug database several times.





----- Original Message -----
From: "Kabriel Robichaux" <kabriel@netobjects.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, March 24, 2000 1:04 PM
Subject: .jar files in the lib directory


> According to what documentation i have seen (such as the Servlet Spec)
the
> Servlet engine is supposed to automatically look for any classes it
needs in
> all jar files in the /lib directories of any web apps (contexts). I
have a
> simple web app that contains a Servlet class in the /classes directory
and a
> util.jar in the /lib directory of my /simpleapp context. For some
reason (a
> reason i hope someone in this group can point out) the Servlet engine
is not
> finding any of my classes that are in the util.jar file. If i include
my jar
> file in the system classpath then everything works correctly. The way
i
> understand it anything in the /lib dir should be loaded automatically
> without having to be included on the system classpath. Is this
correct? Is
> there a way to get Tomcat to do this correctly? or is this a
bug/feature
> that has not yet been fixed/implemented ?
>
> Any help would be greatly appreciated. Thank you.
>
> ....
> Kabe
>
> ----------------------------------------------------------------------
----
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message