使用 Tanuki 3.5.25 软件管理 java8 服务时,我们在 AIX 上遇到一个问题,可以在以下日志中观察到:
STATUS | wrapper | 2019/09/08 15:07:09 | --> Wrapper Started as Daemon
STATUS | wrapper | 2019/09/08 15:07:09 | Java Service Wrapper Community Edition 64-bit 3.5.25
STATUS | wrapper | 2019/09/08 15:07:09 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2019/09/08 15:07:09 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2019/09/08 15:07:09 | --> Wrapper Started as Daemon
STATUS | wrapper | 2019/09/08 15:07:09 | Java Service Wrapper Community Edition 64-bit 3.5.25
STATUS | wrapper | 2019/09/08 15:07:09 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2019/09/08 15:07:09 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2019/09/08 15:07:09 |
STATUS | wrapper | 2019/09/08 15:07:09 |
STATUS | wrapper | 2019/09/08 15:07:09 | Launching a JVM...
STATUS | wrapper | 2019/09/08 15:07:09 | Launching a JVM...
STATUS | wrapper | 2019/09/09 11:55:34 | TERM trapped. Shutting down.
WARN | wrapper | 2019/09/09 11:55:37 | JVM exited unexpectedly while stopping the application.
STATUS | wrapper | 2019/09/09 11:55:37 | <-- Wrapper Stopped
STATUS | wrapper | 2019/09/09 11:55:38 | --> Wrapper Started as Daemon
STATUS | wrapper | 2019/09/09 11:55:38 | Java Service Wrapper Community Edition 64-bit 3.5.25
STATUS | wrapper | 2019/09/09 11:55:38 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2019/09/09 11:55:38 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2019/09/09 11:55:38 |
STATUS | wrapper | 2019/09/09 11:55:38 | Launching a JVM...
我必须提到,JVM 进程是由连续两次调用包装器脚本的外部应用程序启动的。