Re: adding files to classpath

2009-04-27 Thread Leon Rosenberg
On Mon, Apr 27, 2009 at 11:06 PM, Caldarale, Charles R 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 Cla

RE: adding files to classpath

2009-04-27 Thread Caldarale, Charles R
> 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.

Re: adding files to classpath

2009-04-27 Thread Leon Rosenberg
On Mon, Apr 27, 2009 at 11:19 AM, Leon Rosenberg wrote: > On Mon, Apr 27, 2009 at 10:59 AM, Caldarale, Charles R >> >> This is one of those rare instances where you actually could extend the >> Tomcat classpath with a reference to your config directory, as long as you >> don't mind sharing >thos

Re: adding files to classpath

2009-04-27 Thread Leon Rosenberg
On Mon, Apr 27, 2009 at 10:59 AM, Caldarale, Charles R wrote: >> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] >> Subject: adding files to classpath >> >> Is there any other possibility to add something to the classpath >> without screwing up my

RE: adding files to classpath

2009-04-27 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] > Subject: adding files to classpath > > Is there any other possibility to add something to the classpath > without screwing up my tomcat installation completely? Something > similar to common/endorsed prior to 6.

adding files to classpath

2009-04-27 Thread Leon Rosenberg
Hello, we are at the moment migrating to new configuration framework (http://configureme.dev.java.net) which is working with plain json files reading them from classpath. We don't want the configuration files to be part of application anymore. Instead we want them to be located under $HOME/etc/con