[jboss-cvs] JBossCache/tests/scripts/TcpCacheServer ...
Manik Surtani
msurtani at jboss.com
Wed Oct 25 08:49:31 EDT 2006
User: msurtani
Date: 06/10/25 08:49:31
Added: tests/scripts/TcpCacheServer startTcpCacheServer.sh
Log:
JBCACHE-690
JBCACHE-800
JBCACHE-810
Revision Changes Path
1.2 +19 -0 JBossCache/tests/scripts/TcpCacheServer/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 25 Oct 2006 12:49:31 -0000 1.2
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+address=127.0.0.1
+port=7500
+config=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