Chinaunix
标题:
tomcat 报错
[打印本页]
作者:
qingchn
时间:
2011-09-28 14:55
标题:
tomcat 报错
之前tomcat一切运行正常,但是由kill 了一下,就不能启动tomcat了,有如下报错信息:
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>>
对java不太熟,不知道是什么原因??
请各位高手指教!!!
作者:
qingchn
时间:
2011-09-28 15:05
终于知道原因了
因为LZ 在一台服务器部署了多个tomcat,所以/etc/profile
里面的设置应该为:
JAVA_HOME=/usr/java/jdk1.6.0_25
CLASS_PATH=$JAVA_HOME/lib
JAVA_HOME/jre/lib
PATH=$PATH
JAVA_HOME/bin:.
export JAVA_HOME
+++++++++++++
粗心啊,
忘记写
export JAVA_HOME 了
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2