The CA Output Management Web Viewer 12.1 Tomcat Timezone is displaying Coordinated Universal Time (UTC) instead of the Local time zone.
search cancel

The CA Output Management Web Viewer 12.1 Tomcat Timezone is displaying Coordinated Universal Time (UTC) instead of the Local time zone.

book

Article ID: 11401

calendar_today

Updated On:

Products

Output Management Document Viewer Output Management Web Viewer

Issue/Introduction

CA Output Management Web Viewer 12.1 is displaying the Coordinated Universal Time (UTC) instead of the Local time.



How to change the time in TOMCAT so it's local rather than the default?

Environment

Release: OUTWBV01300-12.1-Output Management-Web Viewer for AIX
Component:

Resolution

In the TOMCAT parameter member or instream data there is section like the one listed below.  Add the indicated line with the time zone you need just above the export command: Replace the "America/Chicago" Or whatever you see there the name of your timezone. 

# Configure JVM options 
IJO="-Xms256m -Xmx4096m" 
IJO="$IJO -Dibm.serversocket.recover=true" 
IJO="$IJO -Dsun.lang.ClassLoader.allowArraySyntax=true" 
IJO="$IJO -Dfile.encoding=ISO8859-1" 
IJO="$IJO -Dcatalina.base=${TOMCAT_HOME}" 
IJO="$IJO -Dcatalina.home=${TOMCAT_HOME}" 
IJO="$IJO -Djava.io.tmpdir=${TOMCAT_HOME}/temp" 
IJO="$IJO -Dactivate.saf.manager=false" 
IJO="$IJO –Duser.timezone=America/Chicago"     <<===============
export IBM_JAVA_OPTIONS="$IJO " 

Additional Information

To locate your timezone information, see complete timezone information here:

https://en.wikipedia.org/wiki/List_of_tz_database_time_zones