#! /bin/sh -x ############################################################ # Script called in order to launch AppMan # using its own "main" method instead of # xcat.framework.util.SoapComponentInstantiator. # # Takes the following parameters: # # ARGS[1] = local host # ARGS[2] = job id # ARGS[3] = path for python script # ARGS[4-n] = parameters for python script # # Example code by Sriram Krishnan & Albert L. Rossi # IU Extreme! Computing # December 2001 ############################################################ ARGS="$*" EXECDIR=`pwd` cd .. LIBDIR=`pwd`/lib cd $EXECDIR JDK=/l/extreme/java/1.3 CLASSPATH=`echo ${LIBDIR}/*.jar | tr ' ' ':'` JAVA_OPTS="-Dlog=xcat:ALL -Dlog=xcat:ALL,samples:ALL -Djava.compiler=NONE" REGISTRY_HOST=palomar.extreme.indiana.edu REGISTRY_PORT=389 ${JDK}/bin/java -cp $CLASSPATH $JAVA_OPTS samples.appMan.AppManComponent $REGISTRY_HOST $REGISTRY_PORT $ARGS