4 Replies Latest reply on Nov 20, 2007 6:29 AM by Jorge Morales

    Deploy JBC 2.x in JBossAS 4.2.x

    Jorge Morales Master

      Is it possible?
      Would libraries interfere between bundled JBC 1.4.1x and our JBC 2.x?

      Has anybody done this? How is youre deployment?

      Thanks.

        • 1. Re: Deploy JBC 2.x in JBossAS 4.2.x
          Manik Surtani Master

          Some folks have done it, it is possible.

          You need to make sure your JGroups setup does not clash - i.e., make sure the JGroups multicast address and port in the JBC 2.x setup is not the same as the JGroups multicast address and port for your AS cluster. Also, make sure your JBC 2.x jar (and it's dependencies) reside in your WAR or EAR file.

          This way your app can use JBC 2.x while JBoss AS will still use JBC 1.4.x for it's clustering.

          This is a question that has come up quite often; we'll be putting up a wiki page with a howto pretty soon.

          Cheers,
          Manik

          • 2. Re: Deploy JBC 2.x in JBossAS 4.2.x
            Jorge Morales Master

             

            Also, make sure your JBC 2.x jar (and it's dependencies) reside in your WAR or EAR file.


            So if we have more than one application using these caches, say for example, caches are defined in one APP, and used in this and some other apps, would there be any conflict?

            Also, if we don`t use multicast for replication?

            Thanks
            That wiki will be very helpfull, taking into account that there is a lot of work to migrate from JBC 1.4x to 2.x usage.

            • 3. Re: Deploy JBC 2.x in JBossAS 4.2.x
              Manik Surtani Master


              So if we have more than one application using these caches, say for example, caches are defined in one APP, and used in this and some other apps, would there be any conflict?


              In theory, no. More when we get this wiki up. In fact, if you are willing to try out a few scenarios (sharing data between apps, etc.), or running with/without AS clustering, etc., it would certainly help improve the wiki.

              • 4. Re: Deploy JBC 2.x in JBossAS 4.2.x
                Jorge Morales Master

                We`ll share our results when we get into the change.