アプリケーションにスケジューラを実装しようとしています。スプリングとクォーツのサポートを使用しています。コンポーネントをテストし、完全に実行しました。
私の主な方法は次のとおりです。
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.
手伝ってくれてありがとう。