./Startup. Sh
Using catalina_base:/software/Apache-Tomcat-6.0.18
Using catalina_home:/software/Apache-Tomcat-6.0.18
Using catalina_tmpdir:/software/Apache-Tomcat-6.0.18/temp
Using jre_home:/usr
Run the following command:
PS-Ef | grep Tomcat
Check that no Tomcat process exists.
View Tomcat log information. The following error occurs:
Warning: Error instantiating 'org. Apache. Juli. classloaderlogmanager 'referenced by Java. util. Logging. Manager, class not found
Java. Lang. classnotfoundexception: org. Apache. Juli. classloaderlogmanager not found
>>> No stacktrace available >>;
Warning: Error instantiating '1catalina. org. Apache. Juli. filehandler, 'referenced by handlers, class not found
Java. Lang. classnotfoundexception: 1catalina.org. Apache. Juli. filehandler,
>>> No stacktrace available >>;
Exception during runtime Initialization
Java. Lang. exceptionininitializererror
>>> No stacktrace available >>;
Caused by: Java. Lang. nullpointerexception
>>> No stacktrace available >>;
Final Solution:
Run the following command to set the java_home environment variable:
Export java_home =/software/jdk1.5.0 _ 4/
Enter % Tomcat %/bin/
./Startup. Sh
Started successfully!
From: http://www.blogjava.net/baizhihui19870626/articles/377530.html