tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naresh Bhatia" <NBha...@sapient.com>
Subject RE: Modifying Tomcat's classpath
Date Thu, 01 May 2003 11:39:48 GMT
Well, I asked the question because I wanted to affect the entire JVM not
just one webapp. Here's my usage, please let me know if there are better
ways to do this:

1) I like to keep my log4j.xml configuration file common to all web
apps. In fact I would like Tomcat to be using log4j and my configuration
file (haven't found a way to do this yet).

2) I have a read/write "data" directory that I need several webapps to
have access to, via the classpath - getResourceAsStream(). It does not
feel right to put this data directory in WEB-INF/classes or WEB-INF/lib.

Thanks.
Naresh

-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org] 
Sent: Thursday, May 01, 2003 6:48 AM
To: Tomcat Users List
Subject: Re: Modifying Tomcat's classpath


No. It would be "easier" to copy your jars(or classes) to common/lib or
the 
appropriate webapps before your call startup.bat.

If you ask the developers for such a change (even if you have a patch)
will 
result in a very large no from them. (Unless they are tired of being
asked 
that and give in)

-Tim

Naresh Bhatia wrote:
> Is there a way to modify Tomcat's classpath without altering 
> startup.bat or catalina.bat? I just want to add a few directories to 
> the classpath.
> 
> Or is it an acceptable practice to bypass statup.bat completely and 
> invoke tomcat using a custom command-line?
> 
> Thanks.
> Naresh
> 


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


---------------------------------------------------------------------
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