Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The samples distribution also contains an automated build process for producing a set of clustered servers. To create the clustered servers, execute the following from the servers/cluster directory:mvn clean install.
 The build will create three server images located in the target directory of each module under /servers/cluster: controller, zone1, and zone2. 
Follow the steps in the previous section to build the BigBank application. When the build completes, launch the H2 database, controller and zone runtimes:

* Launch the shared H2 database process from cluster/database: java -jar target/h2-1.2.140.jar

 
* From the controller/target/image/bin directory: java -jar server.jar controller
 
* From the zone1/target/image/bin directory: java -jar server.jar participant
* From the zone2/target/image/bin directory: java -jar server.jar participant
 

...