Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6893

Bad error message when adding singleton policy with new cache container in Singleton Subsystem

XMLWordPrintable

    • User Experience
    • Hide

      Run EAP 7 in standalone with standalone-full-ha profile and then follow this steps:

      [standalone@localhost:9990 /] /subsystem=infinispan/cache-container=quz:add()
      {"outcome" => "success"}
      [standalone@localhost:9990 /] batch
      [standalone@localhost:9990 / #] /subsystem=singleton/singleton-policy=foo:add(cache-container=quz)
      [standalone@localhost:9990 / #] /subsystem=singleton/singleton-policy=foo/election-policy=simple:add()
      [standalone@localhost:9990 / #] run-batch
      The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}}}
      
      
      Show
      Run EAP 7 in standalone with standalone-full-ha profile and then follow this steps: [standalone@localhost:9990 /] /subsystem=infinispan/cache-container=quz:add() { "outcome" => "success" } [standalone@localhost:9990 /] batch [standalone@localhost:9990 / #] /subsystem=singleton/singleton-policy=foo:add(cache-container=quz) [standalone@localhost:9990 / #] /subsystem=singleton/singleton-policy=foo/election-policy=simple:add() [standalone@localhost:9990 / #] run-batch The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): { "WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => { "Operation step-1" => { "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}}}

      Adding a new singleton policy as described in https://access.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/version-7.0/development-guide/#clustered_ha_singleton_service with a newly created cache-container leads to a non-explanatory fail message "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined.

              pferraro@redhat.com Paul Ferraro
              jkasik@redhat.com Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: