3 Replies Latest reply on Nov 11, 2015 10:13 PM by Tomohisa igarashi

    internal-model-validation failure - <some attribute> is required

    Tomohisa igarashi Master



      I'm Tomo from SwitchYard project, just trying to upgrade to WildFly10 (using 10.0.0.CR4 for now) for our SwitchYard subsystem.


      I'm getting weird model validation error on WildFly10, with the same configuration which is working fine on WildFly8/EAP6:

      15:20:47,065 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("internal-model-validation") failed - address: ([

          ("subsystem" => "switchyard"),

          ("module" => "org.switchyard.component.camel.mqtt")

      ]) - failure description: "WFLYCTL0172: identifier is required"

      15:20:47,068 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.


      SY has its subsystem configuration model like this, there's a required attribute "identifier" on module element:

      switchyard/jboss-switchyard.xsd at master · jboss-switchyard/switchyard · GitHub


      And the identifier is actually defined on each module definition, it looks like this (used for WF8):

      switchyard/standalone-test.xml at master · jboss-switchyard/switchyard · GitHub


      When I was trying to see what's going on with debugger, found the ModelNode only has a "implClass" attribute here, so it seems that the "identifier" attribute is dropped somehow:



      Is there something needs to be done for WF10 upgrade on subsystem configuration?