I would like to increase timeout for following cases:
I use WildFly version 10.1.0.Final in Domain mode.
I was googling a lot but without any success.
It may be that your application is taking a long time to load, longer than the default deployment time specified in the Wildfly Configuration. You could try updating the blocking-timeout or the deployment-timeout.
<system-properties>
<property name="jboss.as.management.blocking.timeout" value="900"/>
</system-properties>
...
<profile>
...
<subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
<deployment-scanner path="deployments" relative-to="jboss.server.base.dir"
scan-interval="5000" deployment-timeout="900"
runtime-failure-causes-rollback=
"${jboss.deployment.scanner.rollback.on.failure:false}"/>
</subsystem>
...
</profile>
ref: https://mirocupak.com/enabling-long-deployments-on-wildfly/