geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r891140 - in /geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources: grinder-3.0.1/grinder.properties hostname.sh multicasttool.sh
Date Wed, 16 Dec 2009 07:29:01 GMT
Author: dblevins
Date: Wed Dec 16 07:29:01 2009
New Revision: 891140

URL: http://svn.apache.org/viewvc?rev=891140&view=rev
Log:
Client classpath tweaks and tool tweaks.  Added simple script for multicast tool from the
openejb client jar

Added:
    geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/multicasttool.sh   (with
props)
Modified:
    geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/grinder-3.0.1/grinder.properties
    geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/hostname.sh

Modified: geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/grinder-3.0.1/grinder.properties
URL: http://svn.apache.org/viewvc/geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/grinder-3.0.1/grinder.properties?rev=891140&r1=891139&r2=891140&view=diff
==============================================================================
--- geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/grinder-3.0.1/grinder.properties
(original)
+++ geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/grinder-3.0.1/grinder.properties
Wed Dec 16 07:29:01 2009
@@ -40,7 +40,7 @@
 # Use to adjust the classpath used for the worker process JVMs. Anything
 # specified here will be prepended to the classpath used to start the Grinder
 # processes.
-grinder.jvm.classpath=../geronimo-tomcat-farm-controller-2.2-SNAPSHOT/repository/org/apache/openejb/openejb-client/3.1-SNAPSHOT/openejb-client-3.1-SNAPSHOT.jar:\
+grinder.jvm.classpath=../geronimo-tomcat-farm-controller-2.2-SNAPSHOT/repository/org/apache/openejb/openejb-client/3.1.2/openejb-client-3.1.2.jar:\
   ../geronimo-tomcat-farm-controller-2.2-SNAPSHOT/repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0.1/geronimo-ejb_3.0_spec-1.0.1.jar:\
   ../geronimo-tomcat-farm-controller-2.2-SNAPSHOT/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar:\
   ../load-beans-1.0.jar

Modified: geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/hostname.sh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/hostname.sh?rev=891140&r1=891139&r2=891140&view=diff
==============================================================================
--- geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/hostname.sh (original)
+++ geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/hostname.sh Wed Dec
16 07:29:01 2009
@@ -9,7 +9,7 @@
 ## including a simple "echo" of an IP.
 
 ## The default approach
-hostname
+#hostname
 
 ## Alternate "static" approach
-#echo 192.168.1.3
\ No newline at end of file
+echo localhost
\ No newline at end of file

Added: geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/multicasttool.sh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/multicasttool.sh?rev=891140&view=auto
==============================================================================
--- geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/multicasttool.sh (added)
+++ geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/multicasttool.sh Wed
Dec 16 07:29:01 2009
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+#  Simple tool for monitoring and optionally creating multicast traffic.
+#  Very useful for debugging network setup between machines.
+#
+#  Monitor options:
+#
+#    -h  --host        defaults to 239.255.3.2
+#    -p  --port        defautls to 6142
+#        --ttl         Sets java.net.MulticastSocket.setTimeToLive
+#    -t  --timeout     Sets java.net.MulticastSocket.setSoTimeout
+#    -l  --loopback    Sets java.net.MulticastSocket.setLoopbackMode
+#
+#  Broadcast options (off by default):
+#
+#    -s  --send        String to repeatedly send to the channel
+#    -r  --rate        Time in milliseconds between successive broadcasts (default 1000)
+#
+
+java -cp ~/.m2/repository/org/apache/openejb/openejb-client/3.1.2/openejb-client-3.1.2.jar
org.apache.openejb.client.MulticastTool "$@"
\ No newline at end of file

Propchange: geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/multicasttool.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/failover/failover-tomcat-demo/src/main/resources/multicasttool.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message