Howdy,
If you want to go the same route, simply add -Dsearcher.home=... to the
JAVA_OPTS variable in $CATALINA_HOME/bin/catalina.sh. It will be
available via System.getProperty("searcher.home") just like when you
launch a command-line application.
Yoav Shapira
Millennium ChemInformatics
>-----Original Message-----
>From: Sreedhar, Dantam [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 07, 2003 7:53 AM
>To: Tomcat Users List
>Subject: Configuring System properties
>
>Hi,
>
>I am using Java Web Services Developer Pack to expose methods using
SOAP.
>The problem is I want to read a property file location in my program.
If
>the
>program is of application type, this can be implemented by setting
system
>property using -D searcher.home = .... command line argument.
>
>My question is, how to set system property in tomcat (and application
using
>SOAP in particular java web services developer pack)?
>
>Any help on this is highly appreciated.
>
>Thanks,
>-Sreedhar
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]