I think there are many cases where (?) a module deployed to Wildfly is replaced and then returned to the previous module due to a failure, but is there a function of Wildfly that rolls back the deployment?
I thought it might be a function because there seems to be a need.
WildFly8 seems to have introduced a property called runtime-failure-causes-rollback
, but is this different from what I intended?
<subsystem xmlns="urn:jboss:domain:deployment-scanner:2.0">
<deployment-scanner path="deployment" relative-to="jboss.server.base.dir"scan-interval="5000"
runtime-failure-causes-rollback="${jboss.deployment.scanner.rollback.on.failure:false}"/>
</subsystem>
runtime-failure-causes-rollback
What a runtime failure of a deployment causes a rollback of the deployment as well as all other (possibly unreleased) deployments as part of the scan operation.
https://wildscribe.github.io/WildFly/10.0/subsystem/deployment-scanner/scanner/index.html
© 2024 OneMinuteCode. All rights reserved.