Urgent help, with upgrade to 5.0.1 vertx web application stops after 2 minutes

26 views
Skip to first unread message

Sachin Mittal

unread,
Jul 7, 2025, 6:35:43 AMJul 7
to vert.x
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



Thomas SEGISMONT

unread,
Jul 8, 2025, 2:29:32 PMJul 8
to ve...@googlegroups.com
Hi,

Can you check whether the verticle actually signals deployment by completing the start promise?

Thanks,
Thomas

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/vertx/a66f28ac-65e9-46d7-b52f-6c858b240c53n%40googlegroups.com.

Sachin Mittal

unread,
Jul 9, 2025, 11:33:55 PMJul 9
to ve...@googlegroups.com
Hi,
Yes this fixed the problem.

Thanks
Sachin


You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/iYEe_DUG90g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/vertx/CACiEr_S%2B0T6NGYv46zAZdT1ZNV2o%2BOHuPeJt4ChS1ihW1CikAQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages