This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wildfly [2018/08/23 14:42] mstraub |
wildfly [2020/05/26 16:40] mstraub Deployment Timeout |
||
---|---|---|---|
Line 102: | Line 102: | ||
</code> | </code> | ||
+ | |||
+ | ==== Deployment Timeout ==== | ||
+ | |||
+ | In case your deployments have a long setup time you must extend the default limit of 300 seconds. | ||
+ | |||
+ | Add these system properties to your ''/opt/wildfly/standalone/configuration/standalone.xml'' after the initial modules section (the timeout value is in seconds): | ||
+ | |||
+ | <code xml> | ||
+ | <system-properties> | ||
+ | <property name="jboss.as.management.blocking.timeout" value="900"/> | ||
+ | </system-properties> | ||
+ | </code> | ||
+ | |||
+ | Also add the timeout to the deployment-scanner: | ||
+ | |||
+ | <code xml> | ||
+ | <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> | ||
+ | </code> | ||
==== Enabling GZIP Compression ==== | ==== Enabling GZIP Compression ==== | ||
Line 205: | Line 231: | ||
<https-listener name="default-ssl" socket-binding="https" security-realm="SslRealm" enable-http2="true"/> | <https-listener name="default-ssl" socket-binding="https" security-realm="SslRealm" enable-http2="true"/> | ||
</code> | </code> | ||
+ | |||
+ | See [[SSL/TSL Certificates]] for more details. | ||
Sources: http://reallifejava.com/configuring-ssl-in-wildfly-8, https://stackoverflow.com/questions/32008182/wildfly-9-http-to-https | Sources: http://reallifejava.com/configuring-ssl-in-wildfly-8, https://stackoverflow.com/questions/32008182/wildfly-9-http-to-https |