Question
Is it possible for a user to start/stop their Tomcat installation, or to check its status?
Answer
Yes. Part of the Tomcat installation is setting up different instances for each user that is using Tomcat. The user would require shell access (jailshell is fine). These commands can be run via SSH directly or via the Terminal in cPanel. Using the commands below, you can start, stop, restart, and check the status of Tomcat:
[cpaneluser@server ~]cPs# ubic start ea-tomcat85
Starting ea-tomcat85... started
[cpaneluser@server ~]cPs# ubic stop ea-tomcat85
Stopping ea-tomcat85... stopped
[cpaneluser@server ~]cPs# ubic status ea-tomcat85
ea-tomcat85 not running
Note: These commands should only be run as the cPanel user, not as root.