[jboss-cvs] JBossCache/tests/scripts/TcpCacheServer ...
Manik Surtani
msurtani at jboss.com
Tue Oct 24 14:47:48 EDT 2006
User: msurtani
Date: 06/10/24 14:47:48
Added: tests/scripts/TcpCacheServer Tag: Branch_JBossCache_1_4_0
startTcpCacheServer.sh
Log:
added shell script to start tcp cache server on command line
Revision Changes Path
No revision
No revision
1.1.2.1 +19 -0 JBossCache/tests/scripts/TcpCacheServer/Attic/startTcpCacheServer.sh
(In the diff below, changes in quantity of whitespace are not shown.)
Index: startTcpCacheServer.sh
===================================================================
RCS file: startTcpCacheServer.sh
diff -N startTcpCacheServer.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ startTcpCacheServer.sh 24 Oct 2006 18:47:47 -0000 1.1.2.1
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+address=127.0.0.1
+port=10000
+config=etc/META-INF/local-service.xml
+
+echo Starting TCP Cache Server on port $port, address $address and cache config $config
+
+cd ../../..
+
+CP=etc:output/classes:output/test-classes
+
+for i in lib/*.jar ; do
+CP=$CP:$i
+done
+
+java -cp $CP -Djava.net.preferIPv4Stack=true org.jboss.cache.loader.tcp.TcpCacheServer -bind_addr $address -port $port -config $config
+
+
More information about the jboss-cvs-commits
mailing list