我正在尝试为我的应用程序实现调度程序。我使用弹簧和石英支撑。我已经测试了我的组件并完美运行。
我的主要方法是:
public class Main {
public static void main(String[] args) {
new ClassPathXmlApplicationContext("application-context.xml");
}
}
我使用 wrapper-windows-x86-32-3.5.7,配置 wrapper.conf,并使用 DemoApp.bat 包装器从控制台运行。有用。
但是当我想安装服务时,我收到错误消息Startup failed: Timed out waiting for a signal from the JVM.
重复5次后,我收到错误消息
JVM did not exit on request, terminated
There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
感谢帮助。