tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Set System properties at TC startup
Date Thu, 19 Jun 2003 07:45:10 GMT
Assuming that you are using TC 4.x (TC 3.3 has a different way of doing
this), then you create a file called "setenv.(bat|sh)" (of course, "bat" for
Windows, "sh" for *nix).  In this file you set the environment variable
CATALINA_OPTS to define the system properties that you need.

<christian.schuster@rsag.ch> wrote in message
news:OFA4471202.2F7599BC-ONC1256D4A.0022A980-C1256D4A.00238DB9@rsag.ch...
>
>
>
>
> Hi list,
>
> I have several web applications running. All of them have some properties
> equal. They are also important in order to the web applications working
> appropriatly. Is there a way at TC startup time to set these properties
> (just Strings) and in case the properties are not found to let TC
> immediately crash.
>
> I am not really an expert in this and there may be a totally different way
> how to do this.
>
> Regards,
>
> Christian Schuster
>
> Rudolf Schuster AG
> Postfach 277
> CH - 3000 Bern 11
>
> http://www.rsag.ch
> ++41 31 348 05 30




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message