Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1247

Simple standalone.xml causes: Duplicate resource [(\"subsystem\" => \"logging\")]"

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2017.3.3, 2017.4.0
    • Fix Version/s: 2017.4.0
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Add standalone.xml mentioned in the description to src/main/resources and run mvn wildfly-swarm:run.

      Show
      Add standalone.xml mentioned in the description to src/main/resources and run mvn wildfly-swarm:run .

      Description

      I am trying to add very basic logging config to my Swarm app via standalone.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <server xmlns="urn:jboss:domain:4.2">
          <profile>
              <subsystem xmlns="urn:jboss:domain:logging:3.0">
                  <logger category="org.jboss.as.server.deployment">
                      <level name="INFO"/>
                      <filter-spec value="not(match(&quot;WFLYSRV0059&quot;))"/>
                  </logger>
              </subsystem>
          </profile>
      </server>
      

      But this fails with:

      2017-04-02 18:41:23,736 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 7) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "logging")]) - failure description: "WFLYCTL0212: Duplicate resource [(\"subsystem\" => \"logging\")]"
      2017-04-02 18:41:23,739 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "WFLYCTL0193: Failed executing subsystem logging boot operations"
      2017-04-02 18:41:23,740 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("parallel-subsystem-boot") failed - address: ([]) - failure description: "\"WFLYCTL0193: Failed executing subsystem logging boot operations\""
      2017-04-02 18:41:23,745 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  famod Falko Modler
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: