-
Task
-
Resolution: Done
-
Blocker
-
None
-
None
-
None
-
Medium
Given a set of services C from a composite operation consisting of or containing one or more deployment, and a set of services D from a deployment installed within the operation, the deployment is considered in error when:
- All ACTIVE services in C are UP, or
- have one or more missing dependency, or
- have one or more failed dependency, or
- are themselves in a failed state
AND one or more services in D:
- have one or more missing dependency, or
- have one or more failed dependency, or
- are themselves in a failed state
Then a deployment shall be considered to be failed.
For each failed deployment, a failed message should be logged with a summary of the problem. All missing dependencies should be associated with the applicable deployment dependent(s) and listed. Services which are failed should be listed BUT not with the failure cause or stack trace, which will have appeared in the log already.
Deployments that have failed will also cause the runtime portion of the operation to be treated as failed; the deployment or server start operation handler may act on this information as it would with any failed operation.
A failed deployment may become successful later on if a missing dependency is satisfied as a result of another deployment being installed. A previously successful deployment may enter a failed state if a required, satisfied dependency is later uninstalled. At the conclusion of an operation which causes a previously successful deployment to be failed, a message need not be logged however that can be considered for this or a later release.
- blocks
-
AS7-214 FilesystemDeploymentService hangs during deploy and doesn't pick any subsequent deployments
- Resolved
-
AS7-252 Failing rar deployment is not cleaned up
- Resolved
- incorporates
-
AS7-280 Missing service dependencies doesn't result in deployment failure
- Resolved
- is blocked by
-
MSC-77 Track missing immediate dependencies specially
- Resolved
- is duplicated by
-
AS7-214 FilesystemDeploymentService hangs during deploy and doesn't pick any subsequent deployments
- Resolved
-
AS7-232 Deployment failure leads to a server hang
- Resolved
- is related to
-
AS7-223 Setting beanName to an EJB that does not expose the interface leads to hang
- Resolved