Applications Manager not starting after upgrade

Applications Manager not starting after upgrade

If Applications Manager is not starting, it could be due to the following:

1. License would've expired. Please apply valid license using updateLicense.bat/updateLicense.sh.
Refer this link to know how to apply license.
2. Take a look at the log trace in logs/StartupLogs_err.txt file:
org.postgresql.util.PSQLException: FATAL: invalid value for parameter "TimeZone": "EAT"
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2553)
at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2665)
at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:147)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:273)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:51)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:225)
at org.postgresql.Driver.makeConnection(Driver.java:465)
at org.postgresql.Driver.connect(Driver.java:264)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at jdbc.CreateSchema.managePostgresUser(CreateSchema.java:159)
at jdbc.CreateSchema.instantiateConnection(CreateSchema.java:643)
at jdbc.CreateSchema.init(CreateSchema.java:97)
at jdbc.CreateSchema.main(CreateSchema.java:119)
at com.adventnet.appmanager.server.startup.StartServer.startPGSQL(StartServer.java:2684)
at com.adventnet.appmanager.server.startup.StartServer.startmysql(StartServer.java:2417)
at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:1562)
If the log looks similar to the one mentioned above, the time zone may not have been configured correctly.

For Windows service mode:
You can update it in the wrapper.conf file and then restart AppManager service.

For example, 
If you are in Nairobi, it'll be:
wrapper.java.additional.5=-Duser.timezone=Africa/Nairobi

For Windows non-service mode/Linux:
You can update it in the startApplicationsManager.bat/.sh file.

For example, 
If you are in Nairobi, it'll be:
-Dfile.encoding=UTF-8 -Duser.timezone=Africa/Nairobi

                    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 ...
                      • Unable to upgrade Applications Manager - MySQL Deprecation

                        Problem: You encounter the following error while trying to install service pack for Applications Manager v16140 and above: Reason: This error occurs because MySQL backend database has been deprecated in Applications Manager. Solution: You have to ...
                      • Unable to login to Applications Manager Plugin after upgrade

                        Issue : After upgrading, users are unable to log in to the Applications Manager Plugin. Both auto sign-in and manual login fail. When accessing the Applications tab in the OpManager UI, it redirects to the Applications Manager login page instead of ...
                      • Installing Applications Manager in AWS

                        Applications Manager can be installed in EC2 instances in both Windows and Linux platforms. Applications Manager comes with bundled PostgreSQL. Installing Applications Manager in EC2 for Windows Go to EC2 console and launch an "Windows" instance with ...
                      • Having problems while starting Applications Manager in Debian machines.

                        Solution: For Applications Manager to run in Debian machines, Ensure if the following configurations are done. 1. Check whether the libdb3.so file is located in /lib/ directory. For more information, refer here. 2. Uncomment the following line in ...