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
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
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
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 prope
> 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 suppor
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