Re: Setting Tomcat System Properies **without** -D on Command Line

2009-03-26 Thread Filip Hanik - Dev Lists
this is doable, just enter all your properties in catalina.properties first thing tomcat does is ... System.setProperties( - read catalina.properties - ) ; so you don't need them on the command line Mike Reidy wrote: Hello, I would like to be able to configure system properties at Tomcat st

Re: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Rainer Jung
On 25.03.2009 18:54, Mike Reidy wrote: Hello, I would like to be able to configure system properties at Tomcat start-up *without* adding them to the startup command line, for example you might add -Dxx.yyy.zzz=123 to the command line to add a system property called xxx.yyy.zzz with a value of 12

Re: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Tim Funk
The custom way would be to write a startup listener that its only goal is to load a prop file and promote its properties into the System environment. It could look somethng like this: package cowbell; import org.apache.catalina.Lifecycle; import org.apache.catalina.LifecycleEvent; import org.ap

RE: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Martin Gainty
take a look at implementation in web.xml http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1039383 HTH Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we k

RE: Setting Tomcat System Properies **without** -D on Command Line

2009-03-25 Thread Caldarale, Charles R
> From: Mike Reidy [mailto:mike.re...@gmail.com] > Subject: Setting Tomcat System Properies **without** -D on > Command Line > > If this is not the case is there a standard way that would be the > recommended way of writing a custom plugin for Tomcat to do this? Tomcat supports use of an admin-