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?