[jboss-jira] [JBoss JIRA] Commented: (JBAS-9010) Provide more comprehensive error messages for missing dependencies
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Fri Mar 18 03:31:48 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588810#comment-12588810 ]
jaikiran pai commented on JBAS-9010:
------------------------------------
I haven't yet familiarized myself with MSC and the service states, but isn't this an typo:
{quote}
the deployment is considered in error when:
1. All ACTIVE services in C are UP, or
{quote}
shouldn't it be:
{quote}
the deployment is considered in error when:
1. All ACTIVE services in C are DOWN, or
{quote}
> Provide more comprehensive error messages for missing dependencies
> ------------------------------------------------------------------
>
> Key: JBAS-9010
> URL: https://issues.jboss.org/browse/JBAS-9010
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: David Lloyd
> Fix For: 7.0.0.Beta3
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list