Author: rgreig
Date: Sun Sep  9 14:16:32 2007
New Revision: 574078

URL: http://svn.apache.org/viewvc?rev=574078&view=rev
Log:
QPID-582 Fixing the scripts to run the old topic test

Modified:
    incubator/qpid/branches/M2.1/java/perftests/bin/topicListener.sh
    incubator/qpid/branches/M2.1/java/perftests/bin/topicPublisher.sh

Modified: incubator/qpid/branches/M2.1/java/perftests/bin/topicListener.sh
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/M2.1/java/perftests/bin/topicListener.sh?rev=574078&r1=574077&r2=574078&view=diff
==============================================================================
--- incubator/qpid/branches/M2.1/java/perftests/bin/topicListener.sh (original)
+++ incubator/qpid/branches/M2.1/java/perftests/bin/topicListener.sh Sun Sep  9 
14:16:32 2007
@@ -20,4 +20,14 @@
 
 
 # XXX -Xmx512m -Xms512m -XX:NewSize=150m
-. qpid-run -Damqj.logging.level="INFO" org.apache.qpid.topic.Listener $*
+QPID_LIBS=$QPID_HOME/lib/qpid-incubating.jar
+TEST_JAR=$QPID_HOME/../../../../perftests/target/qpid-perftests-1.0-incubating-M2-SNAPSHOT.jar
+
+# Set other variables used by the qpid-run script before calling
+export JAVA=java \
+       JAVA_VM=-server \
+       JAVA_MEM="-Xmx128m -Dlog4j.configuration=$HOME/log4j.properties" \
+       JAVA_GC="-XX:-UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError" \
+       QPID_CLASSPATH=$QPID_LIBS:$TEST_JAR
+
+. qpid-run -Damqj.logging.level="INFO" org.apache.qpid.oldtopic.Listener $*

Modified: incubator/qpid/branches/M2.1/java/perftests/bin/topicPublisher.sh
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/M2.1/java/perftests/bin/topicPublisher.sh?rev=574078&r1=574077&r2=574078&view=diff
==============================================================================
--- incubator/qpid/branches/M2.1/java/perftests/bin/topicPublisher.sh (original)
+++ incubator/qpid/branches/M2.1/java/perftests/bin/topicPublisher.sh Sun Sep  
9 14:16:32 2007
@@ -19,4 +19,14 @@
 #
 
 # XXX -Xmx512m -Xms512m -XX:NewSize=150m
-. qpid-run -Damqj.logging.level="INFO" org.apache.qpid.topic.Publisher $*
+QPID_LIBS=$QPID_HOME/lib/qpid-incubating.jar
+TEST_JAR=$QPID_HOME/../../../../perftests/target/qpid-perftests-1.0-incubating-M2-SNAPSHOT.jar
+
+# Set other variables used by the qpid-run script before calling
+export JAVA=java \
+       JAVA_VM=-server \
+       JAVA_MEM=-Xmx128m \
+       JAVA_GC="-XX:-UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError" \
+       QPID_CLASSPATH=$QPID_LIBS:$TEST_JAR
+
+. qpid-run -Damqj.logging.level="INFO" org.apache.qpid.oldtopic.Publisher $*


Reply via email to