0

(Windows) システムに Tomcat 7.0.39 を追加しました。catalina_base ディレクトリを作成し、ファイルを配置しました。次に、正しい catalina_home および catalina_base ディレクトリを指すように netbeans でサーバーを構成しました。Netbeans はサーバーを正常に起動できますが、HttpMonitor を有効にすることはできません。「HTTP モニターを有効にする」をチェックすると、Tomcat を起動しようとすると、次のエラーが発生します。

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)
4

1 に答える 1

0

問題は、Netbeans が org-netbeans-modules-schema2beans.jar と org-netbeans-modules-web-httpmonitor.jar を保存するために < CATALINA_HOME >/lib に書き込みたいということです。

これはネットビーンズのバグだと思います。jar を < CATALINA_BASE >/nblib に保存する必要があります。

于 2013-04-24T20:46:31.920 に答える