RESOLUTION
SYMPTOMS:If you start Tomcat through Plesk CP or command line, it's status is not changed and you don't see "java" processes on the server when you logged it via SSH and run "ps" command:
# ps ax | grep java | grep -v grep returns nothing.
RESOLUTION:
Please perform the following steps in order to diagnose and fix the problem.
1. Try start Tomcat from the command line with "$PRODUCT_RC_D/tomcat4 start".
If you see the following messages:
Starting tomcat4: process already running
but there are no "java" processes running, you need to remove the following files and try to start Tomcat again:
rm -f /var/run/tomcat*.pid /var/lock/subsys/tomcat* 2. Look into /var/log/tomcat*/catalina.out for any startup errors.
3. If you see "Memory database file psa-users/DOMAIN.COM.xml cannot be read." error, please apply to the 758 article.
4. If Tomcat failed to start with some class "No such file or directory" exception, please check that there are no broken symlinks in /usr/share/tomcat*/common/lib/ directory.
5. If you see the messages like below during Tomcat startup:
/usr/bin/rebuild-jar-repository: error: could not find jta Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: All detected jars were not found for this jvm
/usr/bin/rebuild-jar-repository: error: All detected jars were not found for this jvm
Such problems may occur if Tomcat installation is broken. It can be several diffident Tomcat packages installed, some file missing or problem with permission/ownerships. If you cannot find the reason, try to remove all Java and Tomcat packages and reinstall them anew. You can find installed packages with the command like: rpm -qa | egrep '(java)|(tomcat)|(j2sdk)'