Permalink
Switch branches/tags
show bla2 JGroups_3_3_0_Alpha2 JGroups_3_2_7_Final JGroups_3_2_6_Final JGroups_3_2_5_Final JGroups_3_2_4_Final JGroups_3_2_3_Final JGroups_3_2_2_Final JGroups_3_2_1_Final JGroups_3_2_0_Final JGroups_3_2_0_CR2 JGroups_3_2_0_CR1 JGroups_3_2_0_Beta1 JGroups_3_2_0_Alpha1 JGroups_3_1_0_Final JGroups_3_1_0_Beta1 JGroups_3_1_0_Alpha3 JGroups_3_1_0_Alpha2 JGroups_3_0_16_Final JGroups_3_0_14_Final JGroups_3_0_13_Final JGroups_3_0_12_Final JGroups_3_0_11_Final JGroups_3_0_10_Final JGroups_3_0_9_Final JGroups_3_0_8_Final JGroups_3_0_7_Final JGroups_3_0_6_Final JGroups_3_0_5_Final JGroups_3_0_4_Final JGroups_3_0_3_Final JGroups_3_0_2_Final JGroups_3_0_1_Final JGroups_3_0_0_Final JGroups_3_0_0_CR5 JGroups_3_0_0_CR4 JGroups_2_12_2_Final JGroups_2_12_1_3 JGroups_2_12_1_2 JGroups_2_12_1_1 JGroups_2_12_1 JGroups_2_12_0_Final JGroups_2_12_0_Beta1 JGroups_2_11_1_Final JGroups_2_11_0_GA JGroups_2_11_0_Alpha4 JGroups_2_11_0_Alpha1 JGroups_2_10_0_GA JGroups_2_10_0_CR1 JGroups_2_10_0_Beta1 JGroups_2_10_0_Alpha2 JGroups_2_10_0_Alpha1 JGroups_2_9_0_GA JGroups_2_8_0_GA JGroups_2_8_0_CR6 JGroups_2_8_0_CR4 JGroups_2_8_0_CR2 JGroups_2_8_0_CR1 JGroups_2_8_Beta_2 JGroups_2_8_Beta1 JGroups_2_7 JGroups_2_7_Beta1 JGroups_2_6_22_Final JGroups_2_6_21_Final JGroups_2_6_20 JGroups_2_6_19_GA JGroups_2_6_17_GA JGroups_2_6_16 JGroups_2_6_15_GA JGroups_2_6_13_GA JGroups_2_6_13_CR2 JGroups_2_6_13_CR1 JGroups_2_6_12_GA JGroups_2_6_11_GA JGroups_2_6_10_GA JGroups_2_6_9_GA JGroups_2_6_8_GA JGroups_2_6_7_GA JGroups_2_6_6_GA JGroups_2_6_5_GA JGroups_2_6_4_GA JGroups_2_6_4_CR1 JGroups_2_6_3_GA JGroups_2_6_3_CR2 JGroups_2_6_3_CR1 JGroups_2_6_2 JGroups_2_6_1 JGroups_2_6_beta_1 JGroups_2_6_CR1 JGroups_2_5_2 JGroups_2_5_0_PREVIEW JGroups_2_5 JGroups_2_5_CR_1 JGroups_2_5_BETA_2 JGroups_2_5_BETA_1 JGroups_2_5_ALPHA1 JGroups_2_4_10_Final JGroups_2_4_9_GA JGroups_2_4_7_GA
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 43 lines (27 sloc) 1.05 KB
# Author: Bela Ban
#!/bin/bash
JG=${JG-$HOME/JGroups}
LIB=$JG/lib
CP=$JG/classes:$JG/conf
# If this is a bin dist, JARs are in the $JG directory.
if [ ! -d $LIB ]; then
LIB=$JG
fi;
CP=$CP:$LIB/*
if [ -f $HOME/log4j.properties ]; then
LOG="-Dlog4j.configuration=file:$HOME/log4j.properties"
fi;
if [ -f $HOME/log4j2.xml ]; then
LOG="$LOG -Dlog4j.configurationFile=$HOME/log4j2.xml"
fi;
if [ -f $HOME/logging.properties ]; then
LOG="$LOG -Djava.util.logging.config.file=$HOME/logging.properties"
fi;
#JG_FLAGS="-Djgroups.bind_addr=match-address:192.168.1.*"
JG_FLAGS="$JG_FLAGS -Djava.net.preferIPv4Stack=true"
FLAGS="-server -Xmx1G -Xms500M"
GC="-XX:+UseG1GC"
JMX="-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost"
#java -Xrunhprof:cpu=samples,monitor=y,interval=5,lineno=y,thread=y -classpath $CP $LOG $JG_FLAGS $FLAGS $JMX $*
#DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"
java -cp $CP $DEBUG $LOG $GC $JG_FLAGS $FLAGS $JMX $JMC $*