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

        New to ADSelfService Plus?

          Resources

              • Related Articles

              • 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 ...
              • 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 ...
              • 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 ...
              • Migrating the JRE bundled in Applications Manager

                JRE Upgrade Document for Applications Manager This document helps the end-user in upgrading to the latest version of Java used in Applications Manager. The steps for Java upgrade in both Windows (Service and Non-Service mode) and Linux installations ...
              • Issues while installing or starting Applications Manager with PostgreSQL backend database

                Problem 1 : When starting Applications Manger in Linux with PostgreSQL backend, the following error message is displayed : Check the permission of AppManager/working/pgsql/data/amdb directory. Permissions should be u=rwx (0700) or u=rwx,g=rx (0750). ...