1 Reply Latest reply on Oct 2, 2012 1:58 PM by Mircea Markus

    Question about Infinispan start and stop scripts

    jacob1111 Newbie

      Hi,

       

      I am starting to use Infinispan recently and currently I am working

      with version 5.1.6 final using JDK 1.6_31

       

      My first question is about Infinispan start and stop scripts.

       

      In the Infinispan /bin directory there are scripts how to start up Infinispan.

      Why there is no scripts how to stop it?

      Is Cntrl/C legitimate way to stop it?

       

      My second question is about group XML files.

       

      In the Infinispan /etc directory there are three jgroup XML files:

      jgroups-ec2.xml

      jgroups-tcp.xml

      jgroups-udp.xml

       

      I run cluster of local Java applications using the following

      Infinispan configuration file:

       

      <infinispan>

      <global>

          <transport

                  nodeName="Infinispan-Node1"

                 clusterName="infinispan-cluster" >

          </transport>

       

      </global>

      <namedCache name="clusteredCache">

       

          <clustering mode="replication">

       

               <stateTransfer

                  chunkSize="0"

                  fetchInMemoryState="false"

                  timeout="240000">

               </stateTransfer>

       

               <sync replTimeout="20000"/>

       

            </clustering>

       

      </namedCache>

       

      </infinispan>

       

      The cluster works.

       

      Do I use any of the jgroup files I mentioned?

      If yes, which one I use?

       

      If no, do I use any of jgroup files?

       

      Thank you,

       

      Jacob Nikom