gpt4 book ai didi

tomcat - Netbeans 7.3 + Apache Tomcat 7.0.39 : HttpMonitor won't start

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

我刚刚将 Tomcat 7.0.39 添加到我的 (windows) 系统中。创建了一个 catalina_base 目录并用文件填充它。然后在 netbeans 中配置服务器,将其指向正确的 catalina_home 和 catalina_base 目录。 Netbeans 可以正常启动服务器,但无法启用 HttpMonitor。当我尝试启动 tomcat 时,选中“Enable Http Monitor”会导致以下错误。

Tomcat 7.0.27 工作正常,配置看起来一样,权限看起来一样。

NetBeans: Deploying on Apache Tomcat 7.0.39
profile mode: false
debug mode: false
force redeploy: true
Operation failed, error occurred when setting up the HTTP Monitor support. The HTTP Monitor has been disabled, you can try to restart the operation now. If you would like to enable the HTTP Monitor again, make sure you have write permissions to <CATALINA_BASE>/conf/web.xml file and <CATALINA_HOME>/lib directory and check the "Enable HTTP Monitor" checkbox in the Tomcat properties.
Deployment error: Operation failed, error occurred when setting up the HTTP Monitor support. The HTTP Monitor has been disabled, you can try to restart the operation now. If you would like to enable the HTTP Monitor again, make sure you have write permissions to <CATALINA_BASE>/conf/web.xml file and <CATALINA_HOME>/lib directory and check the "Enable HTTP Monitor" checkbox in the Tomcat properties.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:230)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130)
at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:212)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)

最佳答案

问题是 Netbeans 想要写入 /lib 以存储 org-netbeans-modules-schema2beans.jar 和 org-netbeans-modules-web-httpmonitor.jar。

我认为这是一个 netbeans 错误。它应该将 jar 存储在 /nblib 中。

关于tomcat - Netbeans 7.3 + Apache Tomcat 7.0.39 : HttpMonitor won't start,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16179355/

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