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 add the user.timezone Java virtual machine (JVM) custom property to the configuration settings of a specific application server:

 

Procedure

  1. In the administrative console click Application Servers > server_name .

  2. Under Server Infrastructure, click Java and Process Management > Process Definition > Java Virtual Machine > .

  3. Either click Custom Properties, or enter -Duser.timezone=time_zone_ID in the Generic JVM arguments field.

  4. 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.

  5. Click Apply.

  6. 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