gpt4 book ai didi

tomcat - 失败 - 在上下文路径/blah 处部署了应用程序,但上下文无法启动

转载 作者:行者123 更新时间:2023-11-28 23:46:32 24 4
gpt4 key购买 nike

<分区>

我在部署 war 文件时遇到错误(在标题中)。

这是我从 catalina.out 得到的日志。我猜根据第一行,我需要更改 catalina.2012-11-19.log 的权限,但该怎么做? (请原谅我的新手问题)。谢谢

    Listening for transport dt_socket at address: 50754
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat6/logs/catalina.2012-11-19.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.juli.FileHandler.openWriter(FileHandler.java:304)
at org.apache.juli.FileHandler.<init>(FileHandler.java:63)
at org.apache.juli.FileHandler.<init>(FileHandler.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:458)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:403)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:281)
at java.util.logging.LogManager$2.run(LogManager.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:276)
at java.util.logging.LogManager.getLogManager(LogManager.java:259)
at java.util.logging.Logger.<init>(Logger.java:245)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1106)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1103)
at java.util.logging.LogManager$1.run(LogManager.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:176)
at java.util.logging.Logger.getLogger(Logger.java:307)
at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:71)
at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:178)
at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:171)
at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:243)
at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:298)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:55)

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com