Accessing WebSphere Application Server V5.0 environment variables
 Technote (troubleshooting)
 
Problem(Abstract)
How do we retrieve IBM® WebSphere® Application Server V5.0 environment variables like WAS_HOME by a Java™ program in the run-time?
 
Resolving the problem
Many of the WebSphere Application Server specific variables are available as system properties within the application server. You can simply use System.getProperty() to read them. For example, the WAS_HOME variable is available as the System property was.install.root. I have included a partial list of WebSphere System properties below:
was.repository,temp
was.install.root
user.install.root
ws.ext.dirs
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Servlet Engine/Web Container
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1083939
IBM Group: Software Group
Modified date: Feb 11, 2003