Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4840

Deprecated element cluster-passivation-store from ejb subsystem does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • EJB
    • None

      There is a mismatch in behaviour of deprecated element cluster-passivation-store under ejb subsystem.

      When element is deprecated still it should work and only prints warning that it's deprecated.

      [standalone@localhost:9990 /] /subsystem=ejb3/cluster-passivation-store=infinispan:read-resource()
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0216: Management resource '[
          (\"subsystem\" => \"ejb3\"),
          (\"cluster-passivation-store\" => \"infinispan\")
      ]' not found",
          "rolled-back" => true
      }
      

      but

      [standalone@localhost:9990 /] /subsystem=ejb3/cluster-passivation-store=infinispan:add()
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0158: Operation handler failed: org.jboss.msc.service.DuplicateServiceException: Service jboss.ejb.cache.factory.distributable.infinispan is already registered",
          "rolled-back" => true
      }
      

      A note: the element cluster-passivation-store was replaced by passivation-store which works fine

            dpospisil Dominik Pospisil (Inactive)
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: