tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: environment variables for hostname and context name
Date Sat, 19 Sep 2009 13:23:06 GMT
> From: Chris Cheshire [mailto:cheshirator@gmail.com]
> Subject: Re: environment variables for hostname and context name
> 
> The tomcat directory is available through the environment
> somehow, and is accessed as ${catalina.home}.

The ${catalina.home} reference is to a system property, not an environment variable - these
are two entirely separate and distinct mechanisms.  

> What else is exposed this way?

Use System.getProperties() in a servlet to find out.  Lambda Probe has a screen that displays
all of them.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message