部署错误:Tomcat启动失败。有关详细信息,请参阅服BUILD FAILED(总时间:1秒)

时间:2016-07-20 13:20:21

标签: tomcat netbeans

首先,我遇到了部署错误:Tomcat启动失败,端口8080已在使用中。有关详细信息,请参阅服务器日志。 建筑失败(总时间:1秒)

然后更新端口8089(开始)和8079(关闭)。它停止使用端口但仍然无法启动tomcat。

Apache Tomcat或TomEE日志

    Using CATALINA_BASE:   "C:\Program Files\Apache Software Foundation\Tomcat 8.0"
Using CATALINA_HOME:   "C:\Program Files\Apache Software Foundation\Tomcat 8.0"
Using CATALINA_TMPDIR: "C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_51"
Using CLASSPATH:       "C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\tomcat-juli.jar"
ERROR: transport error 202: failed to create shared memory listener: Cannot create a file when that file already exists
ERROR: JDWP Transport dt_shmem failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

我已经做过的事情:

  • 将管理员脚本角色添加为:<user username="tomcat" password="tomcat" roles="tomcat,role1,manager-script,manager-gui,admin"/>

  • 更改为“无代理”

  • 编辑过的catalania.bat(已删除“”) :noJuliConfig set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% :noJuliManager set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%
  • 以管理员身份工作。即使完全控制每一个空调。

0 个答案:

没有答案