tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Set System properties at TC startup
Date Thu, 19 Jun 2003 11:05:04 GMT
http://jakarta.apache.org/tomcat/faq/misc.html#properties

-Tim

christian.schuster@rsag.ch wrote:
> 
> 
> 
> Yes I am running Tomcat 4.1.18.
> 
> Where does this file need to be located that TC is reading it at startup?
> Just somewhere along the classpath?
> 
> Christian Schuster
> 
> Rudolf Schuster AG
> Postfach 277
> CH - 3000 Bern 11
> 
> http://www.rsag.ch
> ++41 31 348 05 30
> 
> 
>                                                                            
>              "Bill Barker"                                                 
>              <wbarker@wilshire                                             
>              .com>                                                      To 
>              Sent by: news             tomcat-user@jakarta.apache.org      
>              <news@main.gmane.                                          cc 
>              org>                                                          
>                                                                    Subject 
>                                        Re: Set System properties at TC     
>              19.06.2003 09:45          startup                             
>                                                                            
>                                                                            
>              Please respond to                                             
>                "Tomcat Users                                               
>                    List"                                                   
>              <tomcat-user@jaka                                             
>               rta.apache.org>                                              
>                                                                            
>                                                                            
> 
> 
> 
> 
> 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


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