Operating Systems: i5/OS
Personalize the table of contents and search results
Set the time zone for a single application server
You can ensure that your application components use the correct
time zone. How you do this varies by the operating system on which WebSphere
Application Server is installed and, in some cases, by the scope required.
Verify that extended National Language Support
(NLS) is installed on your i5/OS server. If extended NLS support is not already
installed, install it by selecting option 21 when you install the base operating
system (5769-SS1).
If you set your application servers to a North America
time zone, review the Technote Changes to Daylight Saving Time will affect IBM WebSphere
Application Server and its associated Operating Systems and make sure
that you have applied the service updates required to support the changes
the United States and Canada are making to the start and stop dates for Daylight
Savings Time.
Remember that time zone IDs should include an offset and, in almost
all cases, a daylight saving time zone name for consistent results. For example,
you might specify EST5EDT for Eastern Standard Time, Daylight Savings Time.
Overview
In some application environments, it is important that application
server components use the same time zone. You can change
the time zone setting for a single application server, for all of the application
servers running under a user profile, or for all of the JVM processes running
on your i5/OS server:
- To change the time zone setting for a single application server, add the
user.timezone JVM custom property to your application
server instance configuration settings.
- To change the time zone setting for all of the application servers running
under a user profile, update the user.timezone property in the user profile
properties file with the appropriate time zone setting.
- To change the time zone setting for all of the JVM processes running on
that server, either update the user.timezone property in the properties file
for your i5/OS server with the appropriate time zone setting or set a system
local for that server.
To add the user.timezone Java virtual machine
(JVM) custom property to the configuration settings of a specific application
server:
Procedure
- In the administrative console click Application Servers > server_name .
- Under Server Infrastructure, click Java
and Process Management > Process Definition > Java Virtual Machine > .
- Either click Custom Properties, or enter -Duser.timezone=time_zone_ID in
the Generic JVM arguments field.
- If you clicked Custom Properties in the previous step, specify user.timezone in
the Name field and the appropriate time zone ID in the Value field.
You can also enter a description of this custom property and the
setting you specified.
- Click Apply.
- Save your work.
Make sure Synchronize changes with
Nodes is selected, and click Save.
Results
All of the components of this application server use the time zone
specified for the custom property.
What to do next
Stop and restart this application server. You must restart the server
for the change to take effect.
}
Setting the time zone for all of the application servers running under
a user profile
Setting the same time zone for all of your JVM processes
Time zone IDs that can be specified for the user.timezone property
Related tasks
Configuring WebSphere variables
Managing application servers
|