tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Configuring System properties
Date Fri, 07 Feb 2003 14:02:57 GMT
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:Dantam-Sreedhar@deshaw.com]
>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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