[jboss-cvs] JBoss Messaging SVN: r2066 - in trunk: tests/src/org/jboss/test/messaging/tools/jmx and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jan 26 01:34:37 EST 2007


Author: ovidiu.feodorov at jboss.com
Date: 2007-01-26 01:34:37 -0500 (Fri, 26 Jan 2007)
New Revision: 2066

Modified:
   trunk/src/etc/server/default/deploy/remoting-service.xml
   trunk/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java
Log:
http://jira.jboss.org/jira/browse/JBMESSAGING-782

We need to increase the number of times a socket client invoker tries to write on an existing
socket and then retires creating the socket (see MicroSocketClientInvoker.transport()), 
because otherwise the invoker will fail writing on timed out sockets, which is a normal
condition, and then it won't try recreating the socket, which it should.
We can get away with numberOfCallRetries = 2.


Modified: trunk/src/etc/server/default/deploy/remoting-service.xml
===================================================================
--- trunk/src/etc/server/default/deploy/remoting-service.xml	2007-01-26 06:13:57 UTC (rev 2065)
+++ trunk/src/etc/server/default/deploy/remoting-service.xml	2007-01-26 06:34:37 UTC (rev 2066)
@@ -28,7 +28,7 @@
                <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
                <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
                <attribute name="NumberOfRetries">1</attribute>
-               <attribute name="NumberOfCallRetries">1</attribute>
+               <attribute name="NumberOfCallRetries">2</attribute>
                <attribute name="callbackErrorsAllowed">1</attribute>
             </invoker>
             <handlers>

Modified: trunk/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java	2007-01-26 06:13:57 UTC (rev 2065)
+++ trunk/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java	2007-01-26 06:34:37 UTC (rev 2066)
@@ -1225,7 +1225,7 @@
                       "clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&" +
                       "serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper&" +
                       "NumberOfRetries=1&" +
-                      "NumberOfCallRetries=1&" +
+                      "NumberOfCallRetries=2&" +
                       "callbackErrorsAllowed=1";
 
       // specific parameters per transport




More information about the jboss-cvs-commits mailing list