jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: remote testing, different rmi port
Date Mon, 21 Nov 2005 16:52:56 GMT
On 21/11/05, Ollie Cook <oliver.cook@betfair.com> wrote:
> Hi,
>
> I am trying to set up remote testing using a different port than 1099
> for rmi.
>
> I've started rmiregistry on the client nodes on a different port (13715)
> by modifying bin/jmeter-server, and instructed the controller to connect
> on that port by means of server_port in jmeter.properties.
>
> However, tcpdump shows the controller trying to communicate on port 1099
> still.
>
> Is server_port in jmeter.properties not the correct file to be using?
> I've tried setting server.rmi.port to 13715 as well, to no avail.
>
> Thanks,
>
> Ollie
>
>
> jmeter-server diff on the client nodes

i.e. the "server" nodes ...

> --------------------------------------
>  $ diff -U1 jmeter-server jmeter-server.new
>  --- jmeter-server       2005-09-29 22:06:08.000000000 +0000
>  +++ jmeter-server.new   2005-11-21 15:24:40.000000000 +0000
>  @@ -21,3 +21,3 @@
>   export CLASSPATH
>  -rmiregistry &
>  +rmiregistry 13715 &
>   set CLASSPATH=$OLDCLASSPATH

That's OK.

> jmeter.properties diff on the controller node
> ---------------------------------------------
>  $ diff -U1 jmeter.properties jmeter.properties.new
>  --- jmeter.properties   2005-09-23 00:10:21.000000000 +0100
>  +++ jmeter.properties.new       2005-11-21 15:26:16.000000000 +0000
>  @@ -87,3 +87,3 @@
>   # Remote Hosts - comma delimited
>  -remote_hosts=127.0.0.1
>  +remote_hosts=127.0.0.1,bert.dev.uk.betfair
>   #remote_hosts:localhost:1099,localhost:2010
>  @@ -91,3 +91,3 @@
>   # RMI port to be used by the server
>  -#server_port=1099
>  +server_port=13715
>  @@ -358,3 +358,3 @@
>   # Change default port used by server (need to start rmiregistry with
> same port)
>  -#server.rmi.port=1099
>  +server.rmi.port=13715

I think that should be done on the client node.

It won't harm to set them both to 13715 on both client and controller.

> tcpdump showing connection on 1099/tcp with above configs
> ---------------------------------------------------------
>  15:15:26.788354 mutare.32921 > bert.dev.uk.betfair.1099: S
> 3349072793:3349072793(0) win 5840 <mss 1460,sackOK,timestamp 615613839
> 0,nop,wscale 2> (DF)
>
> --
> Ollie Cook
> UNIX Scripter
> Information Systems
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Mime
View raw message