#
# start-replicator
#
# Copyright 2001-2007 by Oracle. All rights reserved.
#
# Oracle is a registered trademarks of Oracle Corporation and/or its
# affiliates.
#
# This software is the confidential and proprietary information of Oracle
# Corporation. You shall not disclose such confidential and proprietary
# information and shall use it only in accordance with the terms of the
# license agreement you entered into with Oracle.
#
# This notice may not be removed or altered.
#

#!/bin/sh

. ./set-env.sh

OPT="$OPT -Xms64m -Xmx64m"
OPT="$OPT -Dtangosol.coherence.clusterport=7777"
OPT="$OPT -Dtangosol.coherence.cacheconfig=../config/master-cache-config.xml"
OPT="$OPT -Dtangosol.coherence.distributed.localstorage=false"

CLASSPATH=../classes
CLASSPATH=$CLASSPATH${CP_DELIM}$COHERENCE_HOME/lib/coherence.jar

$JAVA_HOME/bin/java -cp $CLASSPATH $OPT com.tangosol.examples.extend.Replicator $*