We are trying to monitor the tomcat6 instance we installed using yum install. The following is what we have set:
In the Annex Options:
start_stop start_command /etc/init.d/tomcat6 start
start_stop stop_command /etc/init.d/tomcat6 stop
In the Server info:
Working Directory: /etc/init.d/
Command Line: tomcat6
Command Line Arguments: start
The application goes into pending status and then stops, but the service in the server is started, just not being shown by SCS as started. I did some reading of a similar case and it suggests Command Line and Command Line Arguments must match what is returned by ps -ef|grep catalina command.
I ran this and it returns a really long string that is over the limit allowed in these fields.
The information within StartInfo tab has to be match with the path and arguments of running process. So, the path should not be like “/etc/init.d/ because, the Tomcat is not running there”. Try to list the running processes, find the Tomcat and copy the executable path and possible arguments to the Genesys configuration.