Michal Sipek
Michal Sipek

Reputation: 494

WildFly increase request timeouts

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.

Upvotes: 4

Views: 12854

Answers (1)

cassidius
cassidius

Reputation: 118

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/

Upvotes: 4

Related Questions