You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2006/03/29 01:09:11 UTC

svn commit: r389624 - in /jakarta/jmeter/branches/rel-2-1/xdocs: changes.xml usermanual/remote-test.xml

Author: sebb
Date: Tue Mar 28 15:09:11 2006
New Revision: 389624

URL: http://svn.apache.org/viewcvs?rev=389624&view=rev
Log:
Document changing RMI server port

Modified:
    jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml
    jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/remote-test.xml

Modified: jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml?rev=389624&r1=389623&r2=389624&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml Tue Mar 28 15:09:11 2006
@@ -67,6 +67,7 @@
 <li>New BeanShell test elements: Timer, PreProcessor, PostProcessor, Listener</li>
 <li>__split() function now clears next variable, so it can be used with ForEach Controller</li>
 <li>Bug 38682 - add CallableStatement functionality to JDBC Sampler</li>
+<li>Make it easier to change the RMI/Server port</li>
 </ul>
 
 <h4>Bug fixes:</h4>

Modified: jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/remote-test.xml
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/remote-test.xml?rev=389624&r1=389623&r2=389624&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/remote-test.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/remote-test.xml Tue Mar 28 15:09:11 2006
@@ -34,8 +34,6 @@
 
 
 <ul>
-<li>True performance measurment without network bottlenecks </li>
-<li>Fast responsive GUI </li>
 <li>Saving of test samples to a local machine </li>
 <li>Managment of multiple JMeterEngines from a single machine </li>
 </ul>
@@ -108,6 +106,33 @@
     <li> `dirname $0`/jmeter $HOST -s "$@"</li>
 </ul>
 <p>Also create a policy file and add [computer_name][computer_domain] line to /etc/hosts.</p>
+</subsection>
+<subsection name="15.3 Using a different port" anchor="portchange">
+<p>By default, JMeter uses the standard RMI port 1099. It is possible to change this. For this to work successfully, all the following need to agree:</p>
+<ul>
+<li>On the server, start rmiregistry using the new port number</li>
+<li>On the server, start JMeter with the property server_port defined</li>
+<li>On the client, update the remote_hosts property to include the new remote host:port settings</li>
+</ul>
+
+<p>Since Jmeter 2.1.1, the jmeter-server scripts provide support for changing the port.
+For example, assume you want to use port 1664 (perhaps 1099 is already used).</p>
+<pre>
+On Windows (in a DOS box)
+C:\JMETER> SET SERVER_PORT=1664
+C:\JMETER> JMETER-SERVER [other options]
+
+On Unix:
+$ SERVER_PORT=1664 jmeter-server [other options]
+[N.B. use upper case for the environment variable]
+</pre>
+<p>
+In both cases, the script starts rmiregistry on the specified port, 
+and then starts JMeter in server mode, having defined the "server_port" property.
+</p>
+<p>
+The chosen port will be logged in the server jmeter.log file (rmiregistry does not create a log file).
+</p>
 </subsection>
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org