tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject wrapper.bin.parameters
Date Wed, 09 May 2001 10:48:57 GMT
Hi, i 've just installed Tomcat,
I would like to define init parameters for the JVM,
For example, for the "ini directory" where i stock my .ini files, i would
like to define an environment variable.
I used to do this with an old version of Apache Jserv (without JSP) like
int the file i wrote : 
wrapper.bin.parameters=-D MYSITE_INI=c:\ ....

and in my servlet I just needed : 
String path = System.getProperty("MYSITE_INI");

I don't know how to do the same thing with TOMCAT. I did the same
manipulation in the file,
and in my servlet, i get a null !!!

Hope you'll have a few minutes to answer me

View raw message