日期:2014-05-17  浏览次数:20881 次

每次关闭TOMCAT就报错 不知道什么?
-bash-3.00$ /opt/tomcat-5.5.16/bin/shutdown.sh 
Using CATALINA_BASE: /opt/tomcat-5.5.16
Using CATALINA_HOME: /opt/tomcat-5.5.16
Using CATALINA_TMPDIR: /opt/tomcat-5.5.16/temp
Using JRE_HOME: /opt/jdk1.5.0_06
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /opt/tomcat-5.5.16/logs/catalina.2009-05-06.log (Permission denied)
  at java.io.FileOutputStream.openAppend(Native Method)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
  at java.io.FileWriter.<init>(FileWriter.java:61)
  at org.apache.juli.FileHandler.open(FileHandler.java:256)
  at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  at java.lang.Class.newInstance0(Class.java:350)
  at java.lang.Class.newInstance(Class.java:303)
  at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:396)
  at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
  at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:236)
  at java.util.logging.LogManager$2.run(LogManager.java:249)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:247)
  at java.util.logging.LogManager.getLogManager(LogManager.java:230)
  at java.util.logging.Logger.<init>(Logger.java:149)
  at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:964)
  at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:961)
  at java.util.logging.LogManager$1.run(LogManager.java:179)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.util.logging.LogManager.<clinit>(LogManager.java:156)
  at java.util.logging.Logger.getLogger(Logger.java:228)
  at java.util.logging.Logger.<clinit>(Logger.java:181)
  at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:152)
  at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:53)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
  at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
  at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
  at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
  at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:53)
<