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

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

2009-03-25 Thread Mike Reidy
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 123. I want something other than this

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

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

2009-03-25 Thread Martin Gainty
liability for the content provided. Date: Wed, 25 Mar 2009 17:54:48 + Subject: Setting Tomcat System Properies **without** -D on Command Line From: mike.re...@gmail.com To: users@tomcat.apache.org Hello, I would like to be able to configure system properties at Tomcat start-up

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

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