[jboss-cvs] JBoss Messaging SVN: r4190 - in trunk: examples/jms and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed May 14 08:25:30 EDT 2008


Author: timfox
Date: 2008-05-14 08:25:29 -0400 (Wed, 14 May 2008)
New Revision: 4190

Modified:
   trunk/.classpath
   trunk/examples/jms/build.xml
   trunk/src/bin/run.sh
   trunk/src/etc/jbm-configuration.xml
Log:
A few tweaks


Modified: trunk/.classpath
===================================================================
--- trunk/.classpath	2008-05-14 12:08:30 UTC (rev 4189)
+++ trunk/.classpath	2008-05-14 12:25:29 UTC (rev 4190)
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry excluding="**/.svn/**/*" kind="src" path="src/main"/>
+	<classpathentry kind="src" path="examples/jms/src"/>
+	<classpathentry kind="src" path="examples/messaging/src"/>
 	<classpathentry kind="src" path="build/src"/>
 	<classpathentry excluding="**/.svn/**/*" kind="src" path="tests/src"/>
 	<classpathentry excluding="ide/" kind="src" path="tests/etc"/>
 	<classpathentry kind="src" path="src/etc"/>
 	<classpathentry kind="src" path="tests/jms-tests/src"/>
 	<classpathentry kind="src" path="tests/jms-tests/etc"/>
-	<classpathentry kind="src" path="docs/examples/messaging/src"/>
-	<classpathentry kind="src" path="docs/examples/jms/src"/>
 	<classpathentry kind="lib" path="thirdparty/oswego-concurrent/lib/concurrent.jar"/>
 	<classpathentry kind="lib" path="thirdparty/jgroups/lib/jgroups.jar"/>
 	<classpathentry kind="lib" path="thirdparty/apache-log4j/lib/log4j.jar"/>

Modified: trunk/examples/jms/build.xml
===================================================================
--- trunk/examples/jms/build.xml	2008-05-14 12:08:30 UTC (rev 4189)
+++ trunk/examples/jms/build.xml	2008-05-14 12:25:29 UTC (rev 4190)
@@ -86,7 +86,7 @@
 
    <target name="queueExample" depends="compile">
       <java classname="org.jboss.jms.example.QueueExample" fork="true">
-         <classpath refid="runtime.classpath"/>
+         <classpath refid="runtime.classpath"/>      	
       </java>
    </target>
    
@@ -112,6 +112,9 @@
    <target name="perfSender" depends="compile">
       <java classname="org.jboss.jms.example.PerfExample" fork="true">
          <classpath refid="runtime.classpath"/>
+      	<jvmarg value="-Xms512M"/>
+      	<jvmarg value="-Xmx512M"/>
+      	<jvmarg value="-XX:+UseParallelGC"/>
          <arg value="-s"/>
          <arg value="${message.count}"/>
          <arg value="${delivery.mode}"/>

Modified: trunk/src/bin/run.sh
===================================================================
--- trunk/src/bin/run.sh	2008-05-14 12:08:30 UTC (rev 4189)
+++ trunk/src/bin/run.sh	2008-05-14 12:25:29 UTC (rev 4190)
@@ -1,6 +1,6 @@
 export JBM_HOME=..
 export CLASSPATH=$JBM_HOME/config/
-export JVM_ARGS="-Xmx512M -Dorg.jboss.logging.Logger.pluginClass=org.jboss.messaging.core.logging.JBMLoggerPlugin -Djava.library.path=."
+export JVM_ARGS="-XX:+UseParallelGC -Xms512M -Xmx1024M -Dorg.jboss.logging.Logger.pluginClass=org.jboss.messaging.core.logging.JBMLoggerPlugin -Djava.library.path=."
 #export JVM_ARGS="-Xmx512M -Dorg.jboss.logging.Logger.pluginClass=org.jboss.messaging.core.logging.JBMLoggerPlugin -Djava.library.path=. -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
 for i in `ls $JBM_HOME/lib/*.jar`; do
 	CLASSPATH=$i:$CLASSPATH

Modified: trunk/src/etc/jbm-configuration.xml
===================================================================
--- trunk/src/etc/jbm-configuration.xml	2008-05-14 12:08:30 UTC (rev 4189)
+++ trunk/src/etc/jbm-configuration.xml	2008-05-14 12:25:29 UTC (rev 4190)
@@ -35,12 +35,12 @@
       <!-- Set the TCP Receive Buffer size (SO_RCVBUF).                                    -->
       <!-- Set it to -1 if you want to use the value hinted by the Operating System      --> 
       <!-- This setting is taken into account only when remoting-transport is set to TCP -->
-      <remoting-tcp-receive-buffer-size>-1</remoting-tcp-receive-buffer-size>
+      <remoting-tcp-receive-buffer-size>32768</remoting-tcp-receive-buffer-size>
 
       <!-- Set the TCP Send Buffer size (SO_SNDBUF).                                     -->
       <!-- Set it to -1 if you want to use the value hinted by the Operating System      --> 
       <!-- This setting is taken into account only when remoting-transport is set to TCP -->
-      <remoting-tcp-send-buffer-size>-1</remoting-tcp-send-buffer-size>
+      <remoting-tcp-send-buffer-size>32768</remoting-tcp-send-buffer-size>
 
       <!--  if ssl is enabled, all remoting-ssl-* properties must be set -->
       <remoting-enable-ssl>false</remoting-enable-ssl>




More information about the jboss-cvs-commits mailing list