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 ADSelfService Plus?

                      • Related Articles

                      • Allowing agent reregistration in Applications Manager

                        Starting with Applications Manager version 180900, an option is available in the UI to explicitly allow previously registered agents to re-register after they are reinstalled. In versions before 180900, this option is not available in the UI, and ...
                      • Data Retention in Applications Manager

                        Following are the different types of data that are retained for generating reports in Applications Manager: Attribute data Polled data This comprises of the data collected for the attributes in each poll of the monitor. This data is used to generate ...
                      • Attributes supported in Analytics Plus from Applications Manager

                        The following tables list the configuration attributes supported in Analytics Plus from Applications Manager, categorized by monitor type. Application Server Monitor Type Attributes .Net ● % Time in GC ● % Time in JIT Compiling ● Bytes Received/Min ● ...
                      • Local Connection Authentication Errors

                        Applicable Error Code 0x80041064 – User credentials cannot be used for local connections. Overview This article provides troubleshooting steps for WMI Error 0x80041064, which may occur when: Adding a Windows Monitor Collecting data through WMI mode ...
                      • Applications Manager Database Migration Using SQL Dump

                        Step 1: Rename Directories Skip this step if the directories are already renamed. Rename <AppManager_home>/working/pgsql to <AppManager_home>/working/pgsql_11. Rename <AppManager_home>/working/pgsql_15.5 to <AppManager_home>/working/pgsql. Step 1.1: ...