Hi,
We recently upgraded to 5.0.1.
The change which we had to do was use new AppliacationLauncher (sub-classing it), in place of io.vertx.core.Launcher.
Now the application runs for 2 minutes and it stops with following error:
[ERROR] [main] [io.vertx.launcher.application.VertxApplication] - Timed out in deploying verticle
However in those 2 minutes it is able to process the requests. So we assume that it did deploy the verticle.
When I check the code, it looks like following line of code has this timeout:
String message = hookContext.deploymentOptions().getThreadingModel() == ThreadingModel.WORKER ? "deploying worker verticle" : "deploying verticle";
String deploymentId = withTCCLAwait(deployer, Duration.ofMinutes(2), message, VertxApplicationHooks::afterFailureToDeployVerticle, ExitCodes.VERTX_DEPLOYMENT);
So I was wondering why I am not able to deploy the verticle or it is getting timed out.
Is there something we missed during the upgrade.
We are using Java 22.
The same verticle was working fine in previous version of 4.5.
Thanks
Sachin