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
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 ...
Unable to update Daylight Saving Time (DST) in Applications Manager
Issue: The server System Time present in the bottom left corner of the Applications Manager UI does not display the Daylight Saving Time (DST) difference. It has a 1-hour time difference from the actual time. Reason: The Daylight Saving Time (DST) ...
ManageEngine Applications Manager High Availability setup with dual database (MySQL).
Apart from the Failover setup, which uses a single database and dual Application Server, we also support a failover with dual database and Application Server. Failover support requires you to configure Applications Manager Secondary (Standby server) ...
How to integrate Microsoft Teams with Applications Manager using Webhook?
Microsoft Teams is a personal/workplace communication and collaboration platform that helps you stay connected over chat, calls, and video meetings. Using Webhook, you can now integrate Microsoft Teams with Applications Manager and receive real-time ...
Integrating Applications Manager DB with Grafana
Grafana is an open-source data visualization tool that collects data across multiple software platforms and retrieves them altogether in a single dashboard. It provides advanced analytics by connecting to various data sources in different platforms, ...