On Mon, Apr 27, 2009 at 11:06 PM, Caldarale, Charles R
<chuck.caldar...@unisys.com> wrote:
>> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com]
>> Subject: Re: adding files to classpath
>>
>> Why should I restart tomcat to change the config in this case?
>
> If you're using ClassLoader.getResourceAsStream() each time you check the 
> config, it should be o.k. without a restart.  However, if you're using some 
> technique that caches the config with the classloader, it won't go away until 
> the classloader does, which won't be until the complete JVM is restarted.

Yes, I'm using getResource, and it works.

> As long as no actual classes are involved, I don't think there's a problem.

Thanks a lot for your help. You have been very helpful as usual!

>
>  - Chuck
>


regards
Leon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to