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

Composite operation on periodic-rotating-file-handler fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.ER2
    • 7.1.0.ER1
    • Logging
    • None
    • User Experience
    • Blocks Testing
    • Hide
      1. Run EAP
      2. Create resource
        /subsystem=logging/periodic-rotating-file-handler=foo:add(file={path=server.log}, suffix=%H%m)
      3. Execute this batch:
        [standalone@localhost:9990 /] batch
        [standalone@localhost:9990 / #] /subsystem=logging/periodic-rotating-file-handler=foo:undefine-attribute(name=formatter)
        [standalone@localhost:9990 / #] /subsystem=logging/periodic-rotating-file-handler=foo:write-attribute(name=named-formatter, value=COLOR-PATTERN)
        [standalone@localhost:9990 / #] run-batch 
        
      Show
      Run EAP Create resource /subsystem=logging/periodic-rotating-file-handler=foo:add(file={path=server.log}, suffix=%H%m) Execute this batch: [standalone@localhost:9990 /] batch [standalone@localhost:9990 / #] /subsystem=logging/periodic-rotating-file-handler=foo:undefine-attribute(name=formatter) [standalone@localhost:9990 / #] /subsystem=logging/periodic-rotating-file-handler=foo:write-attribute(name=named-formatter, value=COLOR-PATTERN) [standalone@localhost:9990 / #] run-batch

      When performing composite operation on periodic-rotating-file-handler, it fails with [1] although individual steps passes. This affects Web Console form editing.

      [1]

      [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:
      Step: step-1
      Operation: /subsystem=logging/periodic-rotating-file-handler=foo:undefine-attribute(name=formatter)
      Failure: WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: Formatter "foo" is not found
      

              jperkins-rhn James Perkins
              jkasik@redhat.com Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: