if this is ignored then fair enough as its not really the place for it but if anyone has seen this it would be good to know tomcat is 6.0.18 CLASSPATH is set in /etc/sysconfig/<appname> and this IS getting used as _some_ configuration items are being picked up from /etc/<appname> but the issue is when default setting from within the webapp are not being overwritten by settings in /etc/<appname> ie if they are in /etc/<appname> and /var/lib/<appname>/webapps/ROOT/WEB-INF/classes/foo then the webapps location wins. If i echo the CLASSPATH during app start then /etc/<appname> comes first so i dont see why the values in here are not taking precedence any thoughts?
Hi, On Tue, Jun 16, 2009 at 09:35, Tom Brown<tom at ng23.net> wrote:> tomcat is 6.0.18 > > if they are in > /etc/<appname> and /var/lib/<appname>/webapps/ROOT/WEB-INF/classes/foo > then the webapps location wins. > > any thoughts?Does this answer your question? http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html HTH, Filipe
At 09:58 AM 6/16/2009, you wrote:> > Does this answer your question? > > http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html > > > > > >not really no ......From the same version of Apache-Tomcat (6.0.18) web.xml config file: <!-- classpath What class path should I use while compiling --> <!-- generated servlets? [Created dynamically --> <!-- based on the current web application] --> <!-- --> You are setting CLASSPATH as an OS environment variable. Tomcat wants/has it's own and you set it within the engine, or let the engine take care of it for you. Cheers, Glenn