|
From: Teiniker E. <tei...@us...> - 2007-01-17 17:45:30
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/facet_oneway/bin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17801/test/JavaRemoteComponents/facet_oneway/bin Added Files: runClient runServer Log Message: Added oneway operation test case for remote Java components. --- NEW FILE: runClient --- #!/bin/sh if [ -z "$CCMTOOLS_HOME" ]; then echo "ERROR!" echo "Environment variable CCMTOOLS_HOME not found!" exit fi CLASSPATH=$CCMTOOLS_HOME/lib/ccm-runtime.jar:./xxx/build:$CLASSPATH $JAVA_HOME/bin/java -enableassertions -cp $CLASSPATH Client -ORBInitRef NameService=$CCM_NAME_SERVICE -ORBServerHost ${HOSTNAME} # Note: If a Java application creates a CORBA object reference, we # have to set -ORBServerHost ${HOSTNAME}. This ${HOSTNAME} will be # part of the generated CORBA object reference (or IOR)!! --- NEW FILE: runServer --- #!/bin/sh if [ -z "$CCMTOOLS_HOME" ]; then echo "ERROR!" echo "Environment variable CCMTOOLS_HOME not found!" exit fi CLASSPATH=$CCMTOOLS_HOME/lib/ccm-runtime.jar:./xxx/build:$CLASSPATH $JAVA_HOME/bin/java -enableassertions -cp $CLASSPATH Server -ORBInitRef NameService=$CCM_NAME_SERVICE -ORBServerHost ${HOSTNAME} # Note: If a Java application creates a CORBA object reference, we # have to set -ORBServerHost ${HOSTNAME}. This ${HOSTNAME} will be # part of the generated CORBA object reference (or IOR)!! |