Applications Manager's time is different from my local time. How do I reset it to my time?

Applications Manager's time is different from my local time. How do I reset it to my time?

Reason: Your PC's time zone ( eg: French ) is different from Applications Manager's java time zone (eg: GMT).

Solution: Follow the steps given below to set the Applications Manager's clock to a time zone different from that of the server time zone.

1. Stop Applications Manager
2. Edit the startApplicationsManager.bat / startApplicationsManager.sh file present under the <AppManager_Home> directory. In this file, add the entry -Duser.timezone=CET in the following lines (depending upon your time zone you have to use either EST / CST / MST / PST in the "-Duser.timezone" attribute)

In Windows (startApplicationsManager.bat)
start /B %JAVA_HOME%injavaw -cp %CLASSPATH% -Duser.timezone=CET -Dfile.encoding=UTF-8 -Xms100m -Xmx200m -XX:PermSize=64m -XX:MaxPermSize=128m com.adventnet.appmanager.server.startup.StartServer %exit_code% > %outfile%

In Linux (startApplicationsManager.sh file)
$JAVA_HOME/bin/java -cp $CLASSPATH $AWT_HEADLESS -Dcatalina.home=$TOMCAT_HOME -Duser.timezone=CET -Dfile.encoding=UTF-8 -Xms100m -Xmx200m -XX:PermSize=64m -XX:MaxPermSize=128m com.adventnet.appmanager.server.startup.StartServer $NMS_HOME


If Applications Manager is installed as a windows service, you have to add the entry wrapper.java.additional.5=-Duser.timezone=CET in the AppManagerHome/working/conf/wrapper.conf file as shown below:
# Java Additional Parameters
wrapper.java.additional.2=-Dfile.encoding=UTF-8
wrapper.java.additional.3=-XX:PermSize=64m -XX:MaxPermSize=128m
wrapper.java.additional.4=-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
wrapper.java.additional.5=-Djava.util.logging.config.file=apache/tomcat/conf/logging.properties
wrapper.java.additional.5=-Duser.timezone=CET
Start Applications Manager. Applications Manager's clock will now show French timezone.

Note: For Chennai, it should not be set as -Dtimezone=India/Chennai. Set it as -Dtimezone=IST. Take a backup of the appropriate files before the changes.

                New to ADManager Plus?

                  New to ADSelfService Plus?