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 wo...@apache.org on 2005/03/08 04:52:35 UTC

cvs commit: jakarta-jmeter/xdocs/usermanual remote-test.xml

woolfel     2005/03/07 19:52:35

  Modified:    xdocs/usermanual remote-test.xml
  Log:
  updated the remote section with a tip from sergey ten on Suse and rmi.
  peter
  
  Revision  Changes    Path
  1.19      +24 -2     jakarta-jmeter/xdocs/usermanual/remote-test.xml
  
  Index: remote-test.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/xdocs/usermanual/remote-test.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- remote-test.xml	8 Oct 2004 04:33:44 -0000	1.18
  +++ remote-test.xml	8 Mar 2005 03:52:35 -0000	1.19
  @@ -88,6 +88,28 @@
   
   <p>Steps 2 and 3 remain the same.</p>
   </subsection>
  +<subsection name="13.2 Tips" anchor="tips">
  +<p>If you're running Suse Linux, these tips may help. The default installation may enable the firewall. In that case, remote testing will not work properly. The following tips were contributed by Sergey Ten.</p>
  +<p>If you see connectios refused, turn on debugging by passing the following options.</p>
  +     rmiregistry -J-Dsun.rmi.log.debug=true
  +     -J-Dsun.rmi.server.exceptionTrace=true
  +     -J-Dsun.rmi.loader.logLevel=verbose
  +     -J-Dsun.rmi.dgc.logLevel=verbose
  +     -J-Dsun.rmi.transport.logLevel=verbose
  +     -J-Dsun.rmi.transport.tcp.logLevel=verbose
  +<p>The solution to the problem is to remove the loopbacks 127.0.0.1 and 127.0.0.2 from etc/hosts. What happens is jmeter-server can't connect to rmiregistry if 127.0.0.2 loopback is not available. Use the following settings to fix the problem.<p>
  +<p> Replace</p>
  +<ul>
  +    <li> `dirname $0`/jmeter  -s "$@"</li>
  +</ul>
  +<p>With</p>
  +<ul>
  +    <li> HOST="-Djava.rmi.server.hostname=<computer_name><computer_domain></li>
  +    <li> -Djava.security.policy=`dirname $0`/<policy_file>"</li>
  +    <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>
   
   
   
  
  
  

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