3 Replies Latest reply on Jul 3, 2012 10:04 AM by emiste

    Regression in modeshape AS Kit 3.0.0.Alpha6

    emiste

      Hi ,

       

      I installed the Kit in Jboss-as-7.1.1.Final .

       

      1. When I requested the service ( http://localhost:8080/modeshape-rest ) I got only the repo : artifacts :

      {

          "artifacts":

          {

              "repository":

              {

                  "name":"artifacts",

                  "resources":

                  {

                      "workspaces":"\/modeshape-rest\/artifacts"

                  },

                  "metadata":

                  {.....

      .......

       

      Which is weird because in the Jboss configuration I have two repositories :

       

      <cache-container name="modeshape" default-cache="sample">

                      <local-cache name="sample">

                          <transaction mode="NON_XA"/>

                          <file-store relative-to="jboss.server.data.dir" path="modeshape/store/sample" passivation="false" purge="false"/>

                      </local-cache>

                      <local-cache name="artifacts">

                          <transaction mode="NON_XA"/>

                          <file-store relative-to="jboss.server.data.dir" path="modeshape/store/artifacts" passivation="false" purge="false"/>

                      </local-cache>

                  </cache-container>

       

      Find attached a portion of  the Jboss server.log with an exception raised when the REST service is requested.

       

      2. When I checked the Jboss management console I didn't found the presence of the JNDI names of the repositories.

        • 1. Re: Regression in modeshape AS Kit 3.0.0.Alpha6
          rhauch

          Did you extract the ModeShape 3.0.0.Alpha6 installation into an AS7 installation that already had ModeShape 3.0.0.Alpha5 installed? I'm not sure how well that'd work, as we made some fairly significant changes to the ModeShape (and Infinispan) modules? Instead, try starting with a fresh installation of AS7.1.1.Final.

           

          Also, I don't think you'll be able to reload any of the data persisted with AS7+ModeShape 3.0.0.Alpha5, because we corrected in Alpha6 how the content is being persisted (i.e., written to the cache store) in Infinispan. Any data already written by Alpha5 likely has the wrong information (related to externalizers).

           

          Can you also provide the entire "<subsystem xmlns="urn:jboss:domain:modeshape:1.0">" section of the configuration? The section you provided above is the Infiinispan-related section (which is important, but it actually just configures the Infinispan caches and does not configure the ModeShape repositories).

           

          Best regards

          • 2. Re: Regression in modeshape AS Kit 3.0.0.Alpha6
            emiste

            I will redo the test with a fresh installation of AS 7.1.1.Final and I will come back to you.

             

            Best regards

            • 3. Re: Regression in modeshape AS Kit 3.0.0.Alpha6
              emiste

              Hi,

               

              Everything is OK when using a fresh installation of AS 7.1.1.Final.

               

              Best regards