3 Replies Latest reply on May 9, 2015 12:23 PM by wdfink

    Infinispan Server/Cluster in Wildfly

    hansheiri

      Hi,

       

      is it possible to run infinispan in server mode in an existing wildfly installation?

      I tried to add the server subsystem to my wildfly config:

      <subsystem xmlns="urn:infinispan:server:core:7.2" />

       

      i added all modules from the module package and also the missing ones which are only in the full server package.

      It wont find the module :/

       

      thanks

      Hans

        • 1. Re: Infinispan Server/Cluster in Wildfly
          nadirx

          While it is certainly doable, why would you want to do that ? Also beware that, unless you're "slotting" your modules appropriately you're mixing different modules (the 7.1's from WildFly itself and your 7.2).

          • 2. Re: Infinispan Server/Cluster in Wildfly
            hansheiri

            I dont want to run an application server and a explicit cache server. seems like quite an overhead.

            why wouldnt i want to run the cache on the same server?

             

            for our use case we need a distributed cache.

             

            thanks for your quick response! Unfortunately i can only write once very hour?!

            Hans

            • 3. Re: Infinispan Server/Cluster in Wildfly
              wdfink

              Using the Wildfly modules might not a good idea as this module might be outdated and did not have the full functionality, as it is only to support some caches for internal use.

              The simple way to run the cache inside the application is the library mode, add the infinispan bits as a module and set dependencies from the app.

               

              A reason for C/S mode and a separate server is to separate the cache from the application, i.e. memory use. Also you can stop/start servers and applications without any effect for the cache.