2 Replies Latest reply on Mar 17, 2015 5:05 PM by baddeley84

    Upgrading infinispan in JBoss AS7

    baddeley84

      Hi All,

       

      Hoping some Jboss/Wildfly gurus can help me out!

       

      I am trying to update infinispan from the bundled 5.2.1 (ships with JBoss AS 7.2.0) to a more recent version

       

      I have downloaded 6.0.2 modules and added to the server, then made following updates to jboss-deployment-structure.xml

       

      <jboss-deployment-structure>

        <ear-subdeployments-isolated>false</ear-subdeployments-isolated> 

        <deployment>

              <!-- Replace shipped infinispan with 6.0 -->

              <module name="org.infinispan" slot="6.0"/>

                <module name="org.infinispan.client.hotrod" slot="6.0"/>

          </dependencies>

          <exclusions>

              <module name="org.infinispan" slot="main"/>

              <module name="org.infinispan.client.hotrod" slot="main"/>

           </exclusions>

        </deployment> 

      </jboss-deployment-structure>

       

      I even updated standalone-full-ha.xml to add:

       

             <subsystem xmlns="urn:jboss:domain:ee:1.1">

                  <global-modules>

                      <module name="org.infinispan" slot="6.0"/>

                  </global-modules>

              </subsystem>

       

      But each time I boot the server I get:

       

      19:05:12,901 INFO  [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 61) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.1.Final

       

      I have also tried the same with the 7.0.3 modules download (using slot: ispn-7.0), with the same result

       

      Am I missing some extra config?

        • 1. Re: Upgrading infinispan in JBoss AS7
          nadirx

          Hi David,

          you cannot upgrade the Infinispan modules used by the internal AS clustering subsystem (that's where that message is coming from). You can however deploy our modules to import them in your application (and it seems you've configured that right). Just deploy an Infinispan-using application and check the version from there.

           

          Tristan

          • 2. Re: Upgrading infinispan in JBoss AS7
            baddeley84

            Ahh ok that makes perfect sense, thanks Tristan

             

            One question then, if Jboss is using 5.2.1 for the clustering subsystem and I was to write a custom Externalizer for some non-serializable classes in my application should I refer to the 5.x docs for the Externalizer?

             

            Thanks

             

            David