Open yespeebala opened 7 years ago
The play war plugin starts the play application in production mode.
@yanns . In my play application I wrote some services It should starts when we deploy code in server(in my case Liberty profile) So, I extended GlobalSetting and override onStart(Application app) method. And It is working fine when I running "play start" command. But, If I create WAR file using play2war plugin and deployed it server. I have to start application/service by hitting rest URL to start the application. My expectation It should start working after deployment.
My guess is that the play servlet is loaded lazily. Maybe you can try to configure your server to load the servlet on application start.
How to start Play application as Production mode using Play2-war-plugin and targeted server is Liberty profile.