# jmeter-user mailing list archives

##### Site index · List index
Message view
Top
From Chintan Kachhi <chintan_kac...@hotmail.com>
Subject RE: Unable to do remote testing
Date Mon, 01 Jun 2009 14:39:08 GMT
```
here:

2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed to
initialise remote engine java.rmi.NoSuchObjectException: no such object
in table
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
at org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:64)
at org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
at org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at org.apache.jmeter.gui.action.ActionRouter.access\$000(ActionRouter.java:42)
at org.apache.jmeter.gui.action.ActionRouter\$1.run(ActionRouter.java:59)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)

> Date: Fri, 29 May 2009 18:25:08 +0100
> Subject: Re: Unable to do remote testing
> From: sebbaz@gmail.com
> To: jmeter-user@jakarta.apache.org
>
> On 29/05/2009, Chintan Kachhi <chintan_kachhi@hotmail.com> wrote:
> >
> >  Here is the JMeter server log:
> >
> >
> >  2009/05/28 16:43:54 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading user properties from: C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\user.properties
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Loading system properties from: C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin\system.properties
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Copyright (c) 1998-2009 The Apache Software
Foundation
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Version 2.3.3 r776386
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.version=1.6.0_13
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) Client
VM
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.name=Windows Vista
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.arch=x86
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: os.version=6.0
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: file.encoding=Cp1252
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: Default Locale=English (United States)
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: JMeter  Locale=English (United States)
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: JMeterHome=C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: user.dir  =C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: PWD       =C:\jakarta-jmeter-2.3.3\jakarta-jmeter-2.3.3\bin
> >  2009/05/28 16:43:54 INFO  - jmeter.JMeter: IP: 10.184.226.193 Name: cern-ck017497
> >  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting backing
engine on 1099
> >  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP address=10.144.228.196
> >  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating RMI
registry (server.rmi.create=true)
> >  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating JMeter
> >  2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: Listeners will
be started after enabling running version
> >  2009/05/28 16:43:54 INFO  - jmeter.engine.StandardJMeterEngine: To revert to the
earlier behaviour, define jmeterengine.startlistenerslater=false
> >  2009/05/28 16:43:54 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound to registry
on port 1099
> >
>
> That looks fine; the JMeter server creates the RMI server and binds to it.
>
> What does the JMeter client log show?
>
> >
> >
> >  If my friend was using another process that uses RMI, it would give him an error
message, something like 'the port is already in use and thus cannot be binded.' (The reason
I know this is that it did show that message once on his system, when he manually tried to
start the rmiregistry from within the jdk , and then later tried to start the JMeter server).
I also tried what you suggested that is put his ip address:port number ( that did not work
either). The port number I used was the one which was shown in the JMeter server console,
and seems like that port number is dynamic and changes everytime the server is started.
> >
> >   Not sure why it won't work.
> >
> >
> >
> >  > Date: Fri, 29 May 2009 11:40:55 +0100
> >  > Subject: Re: Unable to do remote testing
> >  > From: sebbaz@gmail.com
> >  > To: jmeter-user@jakarta.apache.org
> >
> > >
> >  > If this is the case, it should show up in the JMeter server log,
> >  > because JMeter won't be able to start the RMI server on the default
> >  > port.
> >  >
> >  > On 29/05/2009, drubix <andrew.schrauf@gmail.com> wrote:
> >  > >
> >  > >  Perhaps your friend is running another process that uses RMI and is
> >  > >  using the default port.  Maybe get your friend to start JMeter listening
on
> >  > >  another port using the -Dserver_port switch?  Then just specify the
remote
> >  > >  port along with your friend's IP in jmeter.properties like ip:port (e.g.
> >  > >  192.168.0.100:2020 for port 2020).
> >  > >
> >  > >
> >  > >
> >  > >  Chintan Kachhi wrote:
> >  > >  >
> >  > >  >
> >  > >  > I am using JMeter version 2.3.3. I have followed the instructions
in:
> >  > >  > http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> >  > >  >
> >  > >  > My system is the master system, and my friend's system is the slave
> >  > >  > system. I am trying to do remote testing by running JMeter: Run
-> Remote
> >  > >  > Start -> his I.P. address. However this is not working, and
looking at the
> >  > >  > log, I am getting the following error messages:
> >  > >  >
> >  > >  >
> >  > >  > 2009/05/28 14:46:43 ERROR - jmeter.gui.action.RemoteStart: Failed
to
> >  > >  > initialise remote engine java.rmi.NoSuchObjectException: no such
object in
> >  > >  > table
> >  > >  >     at
> >  > >  > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
> >  > >  > Source)
> >  > >  >     at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
> >  > >  >     at sun.rmi.server.UnicastRef.invoke(Unknown Source)
> >  > >  >     at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
> >  > >  >     at java.rmi.Naming.lookup(Unknown Source)
> >  > >  >     at
> >  > >  > org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
> >  > >  >     at
> >  > >  > org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:64)
> >  > >  >     at
> >  > >  > org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:163)
> >  > >  >     at
> >  > >  > org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:74)
> >  > >  >     at
> >  > >  > org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
> >  > >  >     at
> >  > >  > org.apache.jmeter.gui.action.ActionRouter.access\$000(ActionRouter.java:42)
> >  > >  >     at
> >  > >  > org.apache.jmeter.gui.action.ActionRouter\$1.run(ActionRouter.java:59)
> >  > >  >     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> >  > >  >     at java.awt.EventQueue.dispatchEvent(Unknown Source)
> >  > >  >     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
> >  > >  >     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
> >  > >  >     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
> >  > >  >     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> >  > >  >     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> >  > >  >     at java.awt.EventDispatchThread.run(Unknown Source)
> >  > >  >
> >  > >  >
> >  > >  > I hope I am doing it correctly. According to the documentation,
he only
> >  > >  > has his JMeter server running ( not the JMeter running), and I
only have
> >  > >  > my JMeter running ( and not the JMeter server running, even though
running
> >  > >  > both in both the systems also did not make any difference). We
both have
> >  > >  > the same JMeter version 2.3.3 running with the same JDK version
1.5. Is
> >  > >  > there something else that needs to be edited? The only change I
> >  > >  > the jmeter.properties file was to add his ip address under the
> >  > >  > remote_hosts property.
> >  > >  >
> >  > >  > Thanks,
> >  > >  >
> >  > >  > Chintan
> >  > >  >
> >  > >  >
> >  > >  > _________________________________________________________________
> >  > >  > Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
> >  > >  >
> >  > >  > http://www.microsoft.com/india/windows/windowslive/photos.aspx
> >  > >  >
> >  > >
> >  > >
> >  > > --
> >  > >  View this message in context: http://www.nabble.com/Unable-to-do-remote-testing-tp23770605p23771911.html
> >  > >  Sent from the JMeter - User mailing list archive at Nabble.com.
> >  > >
> >  > >
> >  > >  ---------------------------------------------------------------------
> >  > >  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
> >  >
> >
> >  _________________________________________________________________
> >  Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
> >
> >  http://www.microsoft.com/india/windows/windowslive/photos.aspx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>

_________________________________________________________________
Planning the weekend ? Here’s what is happening in your town.