Post date: Oct 6, 2017 5:23:27 AM
Restart Triniti Applications Server
The following are the different scenarios where restarting Triniti Applications Server is required with proper stop and start of the application server:
Whenever Database is bounced
Whenever High CPU usage is identified for long time
Whenever Server is not responding with Busy database connections
Use the below sequence of step to proper shutdown and start the Tomcat application server:
Open Linux server VNC session
Navigate to Tomcat HOME directory path - cd $CATALINA_HOME
Change to bin directory - cd bin
Execute Tomcat shutdown shell script - sh shutdown.sh
Kill all java processes if any
Change to Triniti HOME directory path - cd $TRINITI_HOME
Change to MigBuild directory - cd MigBuild
Execute logs files copy and remove shell script - sh CopyRemoveLogs.sh
Start Tomcat
Start the tomcat using below commands in the same VNC session
$ cd $CATALINA_HOME/bin
$ sh startup.sh
Verify tomcat startup log
Go to tomcat logs folder and check for catalina.out file content
$ cd $CATALINA_HOME/logs
$ tail -f catalina.out
Wait for server to start completely (log file shows “server started in <n> seconds).
You will see prints something like below
Run Triniti Custom Schemas Gathering Optimizer Statistics
Gathering Optimizer Statistics for TDM Framework schemas - STATEGPS, SCH, TAS., and other Triniti Application specific schemas need to be scheduled on weekly basis.