3 Replies Latest reply on Aug 11, 2016 11:27 PM by Tomohisa igarashi

    Wildfly 10 Final + Switchyard 2 issue

    Rajitha Gunawardhane Newbie

      Hi All,

       

      I have installed Wildfly 10 and it is worked fine.

      Then i use the switchyard-installer-wildfly-2.0.0.Final and did the ant build. Build was successful. But when i start Wildfly using standard mode it is giving following error.

       

      :27,304 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("parallel-extension-add") failed - address: ([]): java.lang.RuntimeException: WFLYCTL0079: Failed initializing module org.switchyard

              at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:115) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:459) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:387) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:349) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.server.ServerService.boot(ServerService.java:392) [wildfly-server-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.server.ServerService.boot(ServerService.java:365) [wildfly-server-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_101]

      Caused by: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.jboss.as.controller.SimpleAttributeDefinitionBuilder.setAllowNull(Z)Lorg/jboss/as/controller/SimpleAttributeDefinitionBuilder;

              at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.8.0_101]

              at java.util.concurrent.FutureTask.get(FutureTask.java:192) [rt.jar:1.8.0_101]

              at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:107) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              ... 11 more

      Caused by: java.lang.NoSuchMethodError: org.jboss.as.controller.SimpleAttributeDefinitionBuilder.setAllowNull(Z)Lorg/jboss/as/controller/SimpleAttributeDefinitionBuilder;

              at org.switchyard.as7.extension.Attributes.<clinit>(Attributes.java:27)

              at org.switchyard.as7.extension.SwitchYardExtension.initialize(SwitchYardExtension.java:100)

              at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127) [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]

              at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_101]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101]

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_101]

              at org.jboss.threads.JBossThread.run(JBossThread.java:320) [jboss-threads-2.2.1.Final.jar:2.2.1.Final]

       

      What could be the problem? is this two versions are not matching???