]
Tomaz Cerar moved WFLY-3980 to WFCORE-169:
------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-169 (was: WFLY-3980)
Affects Version/s: 1.0.0.Alpha9
(was: 8.0.0.Final)
(was: 8.1.0.Final)
Component/s: Domain Management
(was: Web Console)
Web UI shows deployments active after undeploying dependencies
--------------------------------------------------------------
Key: WFCORE-169
URL:
https://issues.jboss.org/browse/WFCORE-169
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 1.0.0.Alpha9
Reporter: Stanley Hillner
Assignee: Heiko Braun
Priority: Minor
If you undeploy a dependency of an application, the application with the dependency is
still marked active in the web UI.
Consider the following applications being deployed while an arrow represents a
dependency:
* xyz-api.jar
* xyz-impl.jar -> xyz-api.jar
* xyz-ui.war -> xyz-api.jar, xyz-impl.jar
If you now undeploy xyz-api.jar the log output says something like this:
{noformat}
JBAS014775: New missing/unsatisfied dependencies:
service jboss.module.spec.service."deployment.xyz-api.jar".main (missing)
dependents: [service
jboss.module.resolve.phase."deployment.xyz-impl.jar".main.1, service
jboss.module.resolve.phase."deployment.xyz-ui.war".main.1, service
jboss.module.service."deployment.xyz-impl.jar".main, service
jboss.module.service."deployment.xyz-ui.war".main]
service module.resolved.service."deployment.xyz-impl.jar".main (missing)
dependents: [service jboss.module.service."deployment.xyz-impl.jar".main]
service module.resolved.service."deployment.xyz-ui.war".main (missing)
dependents: [service jboss.module.service."deployment.xyz-ui.war".main]
{noformat}
This behavior is correct since xyz-ui.war is also no longer reachable and undertow
returns a 404 page for it.
*But in the web UI (Runtime > Manage Deployments) the deployments xyz-impl.jar and
xyz-ui.war are still marked active with the checkmark besides them.*
I think this is a bug because it indicates a wrong state to the administrators.