after using the easyapache via cpanel to update to php 4.3.8
my tomcat restart link in the cpanel said contact sysadmin and "Tomcat is not installed"
I looked into /scripts/restartsrv_tomcat and it is made to look for /usr/sbin/tomcat. If it could not find it, "$service is not installed" msg is given .... btw $service="tomcat"
So I mkdir /usr/sbin/tomcat
NOW my tomcat restart link in the cpanel (port 2087)
the brown outline box in cpanel just says
Tomcat status
said contact sysadmin and "Tomcat is not running"
So in SSH I ran /scripts/restartsrv_tomcat to test it
and got
Using CATALINA_BASE: /usr/local/jakarta
Using CATALINA_HOME: /usr/local/jakarta
Using CATALINA_TMPDIR: /usr/local/jakarta/temp
Using JAVA_HOME: /usr/local/jdk
Using Security Manager
I know tomcat was being restarted since I get a 500 error when I refresh a jsp webpage immediately after I issued the command and the page came back on about 10 seconds later when I refreshed it again. The same thing happens when I use the cpanel restart tomcat link but the status says not running.
Recap: Cpanel WHM restarts tomcat now but Tomcat status cannot be detected and says Tomcat is not running.
What must I modify/fix to get status working?
While in my webhosting user cpanel server status page (port 2083)
Tomcat_JSP is UP (green).... detects status fine.
my tomcat restart link in the cpanel said contact sysadmin and "Tomcat is not installed"
I looked into /scripts/restartsrv_tomcat and it is made to look for /usr/sbin/tomcat. If it could not find it, "$service is not installed" msg is given .... btw $service="tomcat"
So I mkdir /usr/sbin/tomcat
NOW my tomcat restart link in the cpanel (port 2087)
the brown outline box in cpanel just says
Tomcat status
said contact sysadmin and "Tomcat is not running"
So in SSH I ran /scripts/restartsrv_tomcat to test it
and got
Using CATALINA_BASE: /usr/local/jakarta
Using CATALINA_HOME: /usr/local/jakarta
Using CATALINA_TMPDIR: /usr/local/jakarta/temp
Using JAVA_HOME: /usr/local/jdk
Using Security Manager
I know tomcat was being restarted since I get a 500 error when I refresh a jsp webpage immediately after I issued the command and the page came back on about 10 seconds later when I refreshed it again. The same thing happens when I use the cpanel restart tomcat link but the status says not running.
Recap: Cpanel WHM restarts tomcat now but Tomcat status cannot be detected and says Tomcat is not running.
What must I modify/fix to get status working?
While in my webhosting user cpanel server status page (port 2083)
Tomcat_JSP is UP (green).... detects status fine.
Last edited: