RE: passing environment variables to Tomcat

2002-07-29 Thread Greg Waehner
Yes. There are three ways. 1. JAVA_OPTS you can set your JAVA_OPTS env. variable. The startup includes this. This works, but is a little wierd since you're not really passing "Java" optional startup parameteres. 2. You ~could~ use the "web.xml" file within your webapp, but then you have to

RE: passing environment variables to Tomcat

2002-07-29 Thread Shapira, Yoav
Hi, Have you considered putting this variable in the web.xml? You (should) always have control over your web.xml file, whereas your service provider may not let you mess around with their server.xml file. You can put it in a context-param or an init-param to a startup servlet... Yoav Shapira Mi