STATUS | wrapper | 2021/11/26 17:26:13 | Launching a JVM...
INFO | jvm 5 | 2021/11/26 17:26:13 | Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=64M; support was removed in 8.0
INFO | jvm 5 | 2021/11/26 17:26:39 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 5 | 2021/11/26 17:26:39 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 5 | 2021/11/26 17:26:39 |
ERROR | wrapper | 2021/11/26 17:26:42 | Startup failed: Timed out waiting for a signal from the JVM.
ERROR | wrapper | 2021/11/26 17:26:43 | JVM did not exit on request, terminated
INFO | wrapper | 2021/11/26 17:26:43 | JVM exited on its own while waiting to kill the application.
STATUS | wrapper | 2021/11/26 17:26:43 | JVM exited in response to signal SIGKILL (9).
FATAL | wrapper | 2021/11/26 17:26:43 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2021/11/26 17:26:43 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2021/11/26 17:26:43 | <-- Wrapper Stopped
STATUS | wrapper | 2021/11/26 17:29:22 | --> Wrapper Started as Daemon
根据网上搜到的解决方法
一,
在wrapper.properties配置文件找那中,添加超时时间配置
wrapper.ping.timeout=120
wrapper.startup.timeout=300
然后重新启动项目程序就可以正常运行了
二,
刚开始主机名不bogon对,这样改
[root@localhost logs]# vim /etc/hosts
127.0.0.1 bogon
#localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 bogon
#localhost localhost.localdomain localhost6 localhost6.localdomain6
然后重启
上述两个步骤都试了,然后重启成功了
问题是下晚上再试主机名变回localhost
下午上次成功,应该是第一个措施成功的