运行“ Tomcat9”服务完成

时间:2018-06-25 14:08:11

标签: java-8 windows-10 tomcat9

我尝试安装然后在本地(Windows 10专业版)中运行tomcat9服务器。

文件 commons-daemon.2018-06-25.log 包含以下日志:

[2018-06-25 15:45:48] [debug] ( prunsrv.c:1729) [11968] Commons Daemon procrun log initialized
[2018-06-25 15:45:48] [info]  ( prunsrv.c:1733) [11968] Commons Daemon procrun (1.1.0.0 64-bit) started
[2018-06-25 15:45:48] [info]  ( prunsrv.c:1643) [11968] Running 'Tomcat9' Service...
[2018-06-25 15:45:48] [debug] ( prunsrv.c:1417) [10260] Inside ServiceMain...
[2018-06-25 15:45:48] [debug] ( prunsrv.c:885 ) [10260] reportServiceStatusE: dwCurrentState = 2, dwWin32ExitCode = 0, dwWaitHint = 3000, dwServiceSpecificExitCode = 0
[2018-06-25 15:45:48] [info]  ( prunsrv.c:1175) [10260] Starting service...
[2018-06-25 15:45:48] [debug] (rprocess.c:517 ) [10260] Apache Commons Daemon apxProcessExecute()
[2018-06-25 15:45:48] [debug] (rprocess.c:258 ) [10260] Commons Daemon procrun __apxProcCreateChildPipes()
[2018-06-25 15:45:48] [debug] (rprocess.c:533 ) [10260] Apache Commons Daemon AplZeroMemory()
[2018-06-25 15:45:48] [debug] (rprocess.c:548 ) [10260] Apache Commons Daemon GetEnvironmentStringsW()
[2018-06-25 15:45:48] [debug] (rprocess.c:570 ) [10260] Apache Commons Daemon CreateProcessW()
[2018-06-25 15:45:48] [debug] (rprocess.c:592 ) [10260] Apache Commons Daemon CreateThread()
[2018-06-25 15:45:48] [debug] (rprocess.c:595 ) [10260] Apache Commons Daemon CreateThread()
[2018-06-25 15:45:48] [debug] (rprocess.c:598 ) [10260] Apache Commons Daemon ResumeThread()
[2018-06-25 15:45:48] [debug] (rprocess.c:600 ) [10260] Apache Commons Daemon CreateThread()
[2018-06-25 15:45:48] [debug] (rprocess.c:606 ) [10260] Apache Commons Daemon apxProcessExecute() returning TRUE
[2018-06-25 15:45:48] [info]  ( prunsrv.c:1333) [10260] Service started in 46 ms.
[2018-06-25 15:45:48] [debug] ( prunsrv.c:885 ) [10260] reportServiceStatusE: dwCurrentState = 4, dwWin32ExitCode = 0, dwWaitHint = 0, dwServiceSpecificExitCode = 0
[2018-06-25 15:45:48] [debug] ( prunsrv.c:1572) [10260] Waiting for worker to finish...
[2018-06-25 15:45:52] [debug] (rprocess.c:122 ) [ 1960] Child process exit code 0
[2018-06-25 15:45:52] [debug] ( prunsrv.c:1577) [10260] Worker finished.
[2018-06-25 15:45:52] [debug] ( prunsrv.c:1603) [10260] Waiting for all threads to exit
[2018-06-25 15:45:52] [debug] ( prunsrv.c:885 ) [10260] reportServiceStatusE: dwCurrentState = 3, dwWin32ExitCode = 0, dwWaitHint = 0, dwServiceSpecificExitCode = 0
[2018-06-25 15:45:52] [debug] ( prunsrv.c:1607) [10260] JVM destroyed.
[2018-06-25 15:45:52] [debug] ( prunsrv.c:885 ) [10260] reportServiceStatusE: dwCurrentState = 1, dwWin32ExitCode = 0, dwWaitHint = 0, dwServiceSpecificExitCode = 0
[2018-06-25 15:45:52] [info]  ( prunsrv.c:1645) [11968] Run service finished.
[2018-06-25 15:45:52] [info]  ( prunsrv.c:1814) [11968] Commons Daemon procrun finished

这些是一些环境变量:

  • CLASSPATH:C:\ Program Files \ Java \ jre1.8.0_74 \ lib
  • 路径:C:\ Program Files \ Java \ jre1.8.0_74 \ bin
  • JAVA_HOME:C:\ Program Files \ Java \ jre1.8.0_74
  • JRE_HOME:C:\ Program Files \ Java \ jre1.8.0_74 \ bin

为什么 JVM 被破坏了?

子进程退出代码0 是什么意思?

0 个答案:

没有答案