Does Wildfly have the ability to roll back deployments?

Asked 2 years ago, Updated 2 years ago, 86 views

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.

jboss wildfly

2022-09-30 21:45

1 Answers

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


2022-09-30 21:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.