Setting the timezone to local time in Websphere Application Server for z/OS V5
 Technote (troubleshooting)
 
Problem(Abstract)
You experience a problem with IBM® Websphere® Application Server timestamps, as well as application log4j timestamps being written in GMT time and not local time
 
Cause
WebSphere Application Server variable ras_time_local and USS® variable TZ were missing
 
Resolving the problem
You can resolve this problem by adding the variables below:
  1. Set ras_time_local=1 variable in the Administrative console under Manage WebSphere Variables at the server level (they will appear in was.env file). The correct timestamp will be shown in WebSphere Application Server errorlogs and traces sent to SYSPRINT or TRACEFIL DD.
  2. In the administrative console under Environment > Manager WebSphere variables Create the variable TZ and set it to your timezone (for example, EST5EDT). The log4j api will pick up this variable from the jvm during application server startup.

    Note: Restart the Application Server to pick up these changes.
 
 
 


Document Information


Current web document: swg21180654.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS > Administrative Console (all non-scripting)
Operating system(s): z/OS
Software version: 5.1
Software edition:
Reference #: 1180654
IBM Group: Software Group
Modified date: Sep 15, 2004