take a look at 
<init-param> 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 kindly ask you to  please inform the sender. Any unauthorised 
dissemination or copying hereof is prohibited. This message serves for 
information purposes only and shall not have any legally binding effect. Given 
that e-mails can easily be subject to manipulation, we can not accept any 
liability for the content provided.






> Date: Wed, 25 Mar 2009 17:54:48 +0000
> 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
> *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....
> 
> I was hoping that there might be a way of loading an additional properties
> file in a similar way to catalina.properties but I cannot see this in
> documentation.  Does this exist?  If so can someone point me at the
> documentation please.
> 
> 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?
> 
> 
> Thank you for your time & effort,
> 
> M

_________________________________________________________________
HotmailĀ® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009

Reply via email to