3 Replies Latest reply on Aug 24, 2012 7:45 AM by Randall Hauch

    ModeShape 3.0.0.Beta3 is available

    Randall Hauch Master

      Cross-posted from the ModeShape blog.


      The ModeShape community is proud and happy to announce the availability of 3.0.0.Beta3. All the artifacts are available in the JBoss Maven repository, and you can follow our instructions for using ModeShape in your Maven application. Or, download one of our distributions, including kits to install ModeShape as a service within JBoss AS7.1.1.Final or AS7.2 (which hasn't yet been released, but you can build it from the source). Check out our documentation, release notes, JavaDoc, and our code on GitHub; use our forums or IRC channel to ask questions, and log any issues in our JIRA.


      This release is improved over Beta2 with:

      • an improved RESTful API with support for handling large files;
      • a new feature to backup repositories (even when they're being used) and restore repositories to a previously backed-up state;
      • the ability to store large binary values in Infinispan, JDBC database, and MongoDB (in addition to the file system available in previous releases); and
      • a number of other bug fixes and improvements.


      We're also passing 99.8% of the JSR-283 TCK tests, with all of the same JCR features that were available in ModeShape 2.x. The 4 outstanding failures should be fixed by the next release.


      One more word of note. We're making great progress on the remaining issues that we want to fix before releasing 3.0.0.Final, and although we had been releasing betas every 2 weeks, we're planning to release 3.0.0.Beta4 in 3 weeks. Hopefully by then we'll have most of the remaining issues fixed, and will be closer to issuing Final.


      Thanks to all our community members that have helped with ModeShape 3, whether it was giving our alpha and beta releases a try, asking questions in the forums, reporting issues, offering suggestions, contributing code, or all of the above. Well done, and keep up the great work!

        • 1. Re: ModeShape 3.0.0.Beta3 is available
          Brian Wallis Master

          Hi Randall, thanks for the new beta, I was going to build it myself but you beat me to it!


          I have just tried the as7 kit for 7.2.0 against a build of 7.2.0.Alpha1 that I have built myself this morning. The source code for 7.2.0-Alpha1 was fetched a couple of hours ago and I built it with


          {noformat}./build.sh clean install -Prelease -DskipTests{noformat}


          I copied the server (from build/target/jboss-as-7.2.0.Alpha1-SNAPSHOT) to another directory and started it up with the standard standalone.xml. It started up with no errors. I then unpacked the as72 kit on top of it and started it up with the standalone-modeshape.xml configuration and I get the following error:



          % bin/standalone.sh -c standalone-modeshape.xml




            JBoss Bootstrap Environment



            JBOSS_HOME: /Users/bwallis/InfoMedix/JBoss/ModeShape/jboss-as-7.2.0.Alpha1-SNAPSHOT



            JAVA: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java



            JAVA_OPTS: -d32 -client -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml






          12:36:32,055 INFO  [org.jboss.modules] JBoss Modules version 1.1.3.GA

          12:36:32,236 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

          12:36:32,299 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" starting

          12:36:32,903 ERROR [org.jboss.as.controller] JBAS014601: Error booting the container: java.lang.NoSuchMethodError: org.jboss.as.controller.SimpleListAttributeDefinition$Builder.<init>(Ljava/lang/String;Lorg/jboss/as/controller/SimpleAttributeDefinition;)V

                    at org.modeshape.jboss.subsystem.MappedListAttributeDefinition$Builder.<init>(MappedListAttributeDefinition.java:388)

                    at org.modeshape.jboss.subsystem.MappedListAttributeDefinition$Builder.of(MappedListAttributeDefinition.java:393)

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

                    at org.modeshape.jboss.subsystem.ModeShapeSubsystemXMLReader_1_0.parseWorkspaces(ModeShapeSubsystemXMLReader_1_0.java:266)

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

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

                    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:922) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]

                    at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:339) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]

                    at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:135) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]

                    at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:104) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-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:133) [jboss-as-controller-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]

                    at org.jboss.as.server.ServerService.boot(ServerService.java:289) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]

                    at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:156) [jboss-as-controller-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]

                    at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]



          12:36:32,911 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" stopped in 7ms{noformat}


          Any idea what I've done wrong here?



          • 2. Re: ModeShape 3.0.0.Beta3 is available
            Brian Wallis Master

            Forgot to mention, the binary distribution in the download section has the name "modeshape-3.0.0.Beta2-dist.zip". I don't know if it is named wrong or if it is the old version still there.


            And if I go to this page: http://www.jboss.org/modeshape/downloads/downloads3-0-0-beta.html the binary kit name is correct but the two kits for as7 have the names modeshape-3.0.0.Beta2-jbossas-71-dist.zip and modeshape-3.0.0.Beta2-jbossas-71-dist.zip but do seem to download the beta3 versions.

            • 3. Re: ModeShape 3.0.0.Beta3 is available
              Randall Hauch Master

              I fixed the download URLs. Some of them were pointing to the Beta2 artifacts, so I'd recommend downloading and trying the Beta3 kits again.