You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Harper <ro...@iat-cti.com> on 2004/10/15 22:48:33 UTC
Environment variables and Tomcat 5
I have an application that calls some JNI native code that relies on certain
environment variables being set. When Tomcat runs as a service it does not seem
to get the variables. The "The Apache Jakarta Tomcat 5.5 Servlet/JSP Container"
document states that these variables may be set with the -Environment option but
when I use this option, the container will not start.
I am using Tomcat 5.0.24 for my container. How do I ensure that environment
variables are visible to native code?
Robert S. Harper
Senior Engineer
1100 East 6600 South, Suite 300
Salt Lake City, UT 84121-7411
801.265.8800 ex. 255