]
Brian Stansberry updated WFCORE-1762:
-------------------------------------
Git Pull Request:
Missing dependency should be triggering rollback of the deployment
operation
----------------------------------------------------------------------------
Key: WFCORE-1762
URL:
https://issues.jboss.org/browse/WFCORE-1762
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.0.Alpha7
Reporter: Martin Stefanko
Assignee: Brian Stansberry
The removal of the deployment which is a dependency for other resources makes these
dependent resources unusable. The deployment operation should not be completed in such
conditions.
The information about the missing dependencies is now currently logged after the removal
by the ContainerStateMonitor class.
Example:
{code}INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028:
Stopped deployment postgresql-9.4.1208.jar (runtime-name: postgresql-9.4.1208.jar) in
61ms
INFO [org.jboss.as.server] (ServerService Thread Pool -- 65) WFLYSRV0009: Undeployed
"postgresql-9.4.1208.jar" (runtime-name: "postgresql-9.4.1208.jar")
INFO [org.jboss.as.repository] (ServerService Thread Pool -- 65) WFLYDR0002: Content
removed from location
/home/mjurc/testing/eap/7.0.0/jboss-eap-7.0/standalone/data/content/5c/7e80698b80a5045fe64daa67426051bbd16a56/content
INFO [org.jboss.as.controller] (ServerService Thread Pool -- 65) WFLYCTL0183: Service
status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.postgresql-9_4_1208_jar (missing) dependents: [service
jboss.driver-demander.java:/PostgresDS, service org.wildfly.data-source.PostgresDS]
{code}