Log exception during Tomcat 6 startup in Linux

Source: Internet
Author: User

./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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.