2 Replies Latest reply on Sep 4, 2013 9:25 AM by marcodanti

    how to run mod_cluster demo?

    marcodanti

      I would like to run the demo application provided with mod_cluster (1.2.3.Final),

       

      I found and deployed the mod_cluster-1.2.3.Final/demo/server/target/mod_cluster-demo-server-1.2.3.Final.war

      Then I found the mod_cluster-1.2.3.Final/demo/client/target/mod_cluster-demo-client-1.2.3.Final.jar, but I don't know how it is supposed to be used.

       

      The instructions at Chapter 15. Load Balancing Demo Application seem to be out of date; there is no run_demo.sh to be found under the demo/client directory.

        • 1. Re: how to run mod_cluster demo?
          jfclere

          when you build:

          mvn -P dist install

          mvn -P dist package

           

          you should get a tar file like:

          target/mod_cluster-parent-1.2.6.Final-SNAPSHOT-bin.tar.gz

          The run-demo.sh is there:

          +++

          -rw-rw-r-- jfclere/jfclere     608 2013-09-04 13:24 demo/client/run-demo.bat
          -rw-rw-r-- jfclere/jfclere     589 2013-09-04 13:24 demo/client/run-demo.sh

          +++

           

          Try to use 1.2.5.Final to test it.

          • 2. Re: how to run mod_cluster demo?
            marcodanti

            Silly me...I was looking into the wrong directory.