当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 我安装了tomcat,后来想把它停掉,出现错误
帖子发表于 : 2008-07-09 11:24 

注册: 2008-01-18 15:54
帖子: 17
送出感谢: 0 次
接收感谢: 0 次
/usr/share/tomcat5.5/bin$ sh shutdown.sh
我用上面这个语句想把tomcat服务关了,出现下面的信息:

Using CATALINA_BASE: /usr/share/tomcat5.5
Using CATALINA_HOME: /usr/share/tomcat5.5
Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0.15
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat5.5/logs/catalina.2008-07-09.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:259)
at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
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:397)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:237)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:201)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
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:254)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:180)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:60)
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.createLogFromClass(LogFactoryImpl.java:1040)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat5.5/logs/localhost.2008-07-09.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:259)
at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
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:397)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:237)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:201)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
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:254)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:180)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:60)
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.createLogFromClass(LogFactoryImpl.java:1040)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat5.5/logs/manager.2008-07-09.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:259)
at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
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:397)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:237)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:201)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
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:254)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:180)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-07-09 11:51 
头像

注册: 2007-03-13 17:26
帖子: 2254
送出感谢: 0 次
接收感谢: 1
前面几行不是提示没有权限吗


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译