4 Replies Latest reply on May 8, 2015 3:00 AM by Horia Chiorean

    Modeshape kit for Wildfly 9.0.0.Alpha1

    Lars-Erik Helander Newbie

      I tried using the Modeshape kit for Wildfly with Wildfly 9.0.0.Alpha1 and it does not work (see printout below). The kit is marked as supporting Wildfly 8, so I guess I could not expect to have it working with Wildfly 9.0.0.Alpha1.

       

      Is there a kit available that works for Wildfly 9.0.0.Alpha1 ?

       

      [jboss@f4c09da717c8 ~]$ /opt/jboss/wildfly/bin/standalone.sh -c standalone-modeshape.xml

      =========================================================================

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: /opt/jboss/wildfly

       

        JAVA: /usr/lib/jvm/java/bin/java

       

        JAVA_OPTS:  -server -XX:+UseCompressedOops  -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

       

      =========================================================================

       

      14:10:54,759 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.4.Final

      14:10:55,030 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final

      14:10:55,131 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 9.0.0.Alpha1 (WildFly Core 1.0.0.Alpha8) starting

      14:10:55,967 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0002: Error booting the container: java.lang.NoSuchMethodError: org.jboss.as.controller.SimpleAttributeDefinitionBuilder.setXmlName(Ljava/lang/String;)Lorg/jboss/as/controller/SimpleAttributeDefinitionBuilder;

        at org.modeshape.jboss.subsystem.MappedAttributeDefinitionBuilder.setXmlName(MappedAttributeDefinitionBuilder.java:49)

        at org.modeshape.jboss.subsystem.ModelAttributes.<clinit>(ModelAttributes.java:71)

        at org.modeshape.jboss.subsystem.ModeShapeSubsystemXMLReader_2_0.parseWorkspaces(ModeShapeSubsystemXMLReader_2_0.java:327)

        at org.modeshape.jboss.subsystem.ModeShapeSubsystemXMLReader_2_0.parseRepository(ModeShapeSubsystemXMLReader_2_0.java:209)

        at org.modeshape.jboss.subsystem.ModeShapeSubsystemXMLReader_2_0.readElement(ModeShapeSubsystemXMLReader_2_0.java:63)

        at org.modeshape.jboss.subsystem.ModeShapeSubsystemXMLReader_2_0.readElement(ModeShapeSubsystemXMLReader_2_0.java:34)

        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1138) [wildfly-server-1.0.0.Alpha8.jar:1.0.0.Alpha8]

        at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:476) [wildfly-server-1.0.0.Alpha8.jar:1.0.0.Alpha8]

        at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [wildfly-server-1.0.0.Alpha8.jar:1.0.0.Alpha8]

        at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [wildfly-server-1.0.0.Alpha8.jar:1.0.0.Alpha8]

        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

        at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104) [wildfly-controller-1.0.0.Alpha8.jar:1.0.0.Alpha8]

        at org.jboss.as.server.ServerService.boot(ServerService.java:343) [wildfly-server-1.0.0.Alpha8.jar:1.0.0.Alpha8]

        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:263) [wildfly-controller-1.0.0.Alpha8.jar:1.0.0.Alpha8]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]

       

      14:10:55,995 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Full 9.0.0.Alpha1 (WildFly Core 1.0.0.Alpha8) stopped in 27ms

      [jboss@f4c09da717c8 ~]$