tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabien Benoit <fabien.ben...@gmail.com>
Subject Re: playing outside the tomcat 4 classloaders "sandbox"
Date Tue, 23 Aug 2005 15:17:55 GMT
On 8/23/05, Peter Crowther <Peter.Crowther@melandra.com> wrote:
> > From: Fabien Benoit [mailto:fabien.benoit@gmail.com]
> > I'm using Tomcat (4.1) and Axis 1.2 to provide a web service interface
> > to a classical 2-tier application. My problem is, I need to access the
> > existing API of this application, a single jar located outside the
> > tomcat install. Copying this jar inside tomcat commmon lib dir or
> > webapp lib dir is not permitted.
> > Since tomcat gets rid of the system classpath
> 
> ... But you can put it back by modifying catalina.{bat,sh} depending on
> platform, which will be more robust than relying on a classloader. 

I agree, but it seems that the classpath is overrided by some hidden
mecanism inside bootstrap.jar itself, not by the script?
Do you mean doing smething like 
"java -classpath %CLASSPATH% -jar bootstrap.jar" ?
Thanks

Fabien

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message