Skip to content

Instantly share code, notes, and snippets.

@pedro-hos
Forked from mcupak/deployment-timeout.cli
Created November 22, 2017 20:28
Show Gist options
  • Save pedro-hos/5a85c5236406e24586cb1c66743c8fc4 to your computer and use it in GitHub Desktop.
Save pedro-hos/5a85c5236406e24586cb1c66743c8fc4 to your computer and use it in GitHub Desktop.
Increasing deployment timeout on WildFly - https://mirocupak.com/enabling-long-deployments-on-wildfly/
# Script for increasing deployment-related timeouts on WildFly to 15 minutes.
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=deployment-timeout.cli
batch
/system-property=jboss.as.management.blocking.timeout:add(value=900)
/subsystem=deployment-scanner/scanner=default:write-attribute(name=deployment-timeout,value=900)
run-batch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment