1 Reply Latest reply on Nov 26, 2013 11:12 AM by Martin Kuzela

    ModeShape and Wildfly 8.0

    Randall Hauch Master

      Some of you may have seen that Wildfly 8.0.0.Beta is now available. Wildfly is the new name for the community-based JBoss Application Server, so Wildfly 8 is what would have been JBoss AS8.

       

      At this point, it is not clear whether the ModeShape EAP kit will work with Wildfly 8. Theoretically, the EAP kit will install and it may even start up the ModeShape subsystem. However, ModeShape 3.5 and 3.6 are built and tested against Infinispan 5.2.6, whereas Wildfly 8 Beta includes Infinispan 6.0.0.Beta2. At this point, we do not know how well ModeShape and Infinispan 6 will behave.

       

      If you're interested in trying it out, please do and please give us your feedback. We do intend to build and test a ModeShape kit for Wildfly 8, but this will almost certainly be done as part of the ModeShape 4.0 effort (which is when ModeShape will start using Infinispan 6).

        • 1. Re: ModeShape and Wildfly 8.0
          Martin Kuzela Newbie

          Hi Randall

          Just to clarify , I have tried out modeshape 3.6 with Wildfly beta 2 night build with result:

           

          15:30:31,498 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.0.Final

          15:30:31,947 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.0.CR1

          15:30:32,062 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.0.0.Beta2-SNAPSHOT "WildFly" starting

          15:30:33,326 INFO  [org.jboss.as] (MSC service thread 1-8) JBAS015950: WildFly 8.0.0.Beta2-SNAPSHOT "WildFly" stopped in 4ms

          15:30:33,321 ERROR [org.jboss.as.controller] (Controller Boot Thread) JBAS014601: Error booting the container: java.lang.NoSuchMethodError: org.jboss.as.controller.ListAttributeDefinition.<init>(Ljava/lang/String;

          ZLorg/jboss/as/controller/operations/validation/ParameterValidator;)V

                  at org.modeshape.jboss.subsystem.MappedListAttributeDefinition.<init>(MappedListAttributeDefinition.java:65)

                  at org.modeshape.jboss.subsystem.MappedListAttributeDefinition$Builder.build(MappedListAttributeDefinition.java:399)

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

                  at org.modeshape.jboss.subsystem.ModeShapeSubsystemXMLReader_1_0.parseRepository(ModeShapeSubsystemXMLReader_1_0.java:146)

                  at org.modeshape.jboss.subsystem.ModeShapeSubsystemXMLReader_1_0.readElement(ModeShapeSubsystemXMLReader_1_0.java:71)

                  at org.modeshape.jboss.subsystem.ModeShapeSubsystemXMLReader_1_0.readElement(ModeShapeSubsystemXMLReader_1_0.java:42)

                  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:1129) [wildfly-server-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]

                  at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:458) [wildfly-server-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]

                  at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [wildfly-server-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]

                  at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [wildfly-server-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]

                  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-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]

                  at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]

                  at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256) [wildfly-controller-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]

                  at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

           

          Obviously wildfly\controller\src\main\java\org\jboss\as\controller\ListAttributeDefinition.java constructor has been changed and probably is incompatible with Modeshape 3.6.0

           

          Martin