Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2385

Management - remove and add file handler logger operation fails

XMLWordPrintable

      Removing and adding file handler fails. Perhaps remove operation does not clean up all resources properlly.

      Steps to reproduce:
      [standalone@localhost:9999 /] /subsystem=logging/file-handler=test-fh:add(name="test-fh", level="WARN", file=

      {"path" => "/home/dpospisi/testfh.log"}) {"outcome" => "success"}
      [standalone@localhost:9999 /] /subsystem=logging/file-handler=test-fh:remove {"outcome" => "success"}
      [standalone@localhost:9999 /] /subsystem=logging/file-handler=test-fh:add(name="test-fh", level="WARN", file={"path" => "/home/dpospisi/testfh.log"}

      )
      {
      "outcome" => "failed",
      "failure-description" => "Operation handler failed: org.jboss.msc.service.DuplicateServiceException: Service jboss.logging.handler-file.test-fh is already registered",
      "rolled-back" => true
      }
      [standalone@localhost:9999 /]

              jperkins-rhn James Perkins
              dpospisil Dominik Pospisil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: