I just want to mention that, I don't see ANY way at all to expose any custom environment variable to the Tomcat process itself.
Feature? Unsure. AFAIK If you push an environment variable inside your catalina.sh, (for example via the previously mentioned setenv.sh), that variable just die in catalina.sh and - it seems to me - it is never exposed to the Tomcat's Bootstrap process. I'd just be curious if what I'm saying makes sense. -- Valerio Bozz. E-mail sent from Evolution from a random GNU/Linux distribution, delivered from my Postfix mailserver. Have fun with software freedom!