IBM Support

How to set the Default TimeZone for TCR

Technical Blog Post


Abstract

How to set the Default TimeZone for TCR

Body

1.    TCR is deployed on Websphere Application Server and It uses the Websphere Application Server JRE.
2.    By Default, The TimeZone is picked up from the Machine’s default TimeZone.
3.    For some reason, if the Websphere Application Server didn’t pick up the machine's default TimeZone, you can manually set the default TimeZone.
4.    Please stop the TCR Server.
5.    Please take a backup of this file <tcr_install>/tipv2/profiles/TIPProfile/config/cells/TIPCell/nodes/TIPNode/servers/server1/server.xml (TCR 2.x)
6.    After taking backup, Please find the below entries in the server.xml file

<jvmEntries xmi:id="JavaVirtualMachine_1183122130078" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" initialHeapSize="512" maximumHeapSize="1024" runHProf="false" hprofArguments="" debugMode="false" debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=36050" genericJvmArguments="">

7.    Please modify the genericJvmArguments="" to genericJvmArguments="-Duser.timezone=IST" to set the IST timezone as default.

8.    After editing the file, it looks like, save the file

<jvmEntries xmi:id="JavaVirtualMachine_1183122130078" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" initialHeapSize="512" maximumHeapSize="1024" runHProf="false" hprofArguments="" debugMode="false" debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=36050" genericJvmArguments="-Duser.timezone=IST ">

9. Now start the TCR Server.
 

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEKCU","label":"Jazz for Service Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

UID

ibm11276576