[jboss-jira] [JBoss JIRA] (WFCORE-1762) Missing dependency should be triggering rollback of the deployment operation

Martin Stefanko (JIRA) issues at jboss.org
Mon Sep 5 06:52:00 EDT 2016


Martin Stefanko created WFCORE-1762:
---------------------------------------

             Summary: 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
    Affects Versions: 3.0.0.Alpha7
            Reporter: Martin Stefanko


When removing a deployment that other deployments or resources depend on, it should not be possible to remove such deployment or at least to present this information to the user prior to the removal.

For 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}

The monitoring is done by the ContainerStateMonitor class.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list