You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Joshua Auerbach <jo...@dealer.com> on 2005/06/10 16:37:49 UTC

Remote Testing Problem

I am trying to get JMeter to run in distributed mode for remote 
testing.  If I run a jmeter-server on my local machine, and use my local 
ip I can get it to work properly.  However, when I try running the 
server on a remote machine I get "Bad Call to Remote Host"  errors 
everytime.  For troubleshooting purposes I am currently just trying to 
run on one remote host (eventually I would like to run on 3).  Below is 
the entry from my jmeter.log file from the machine running the JMeter 
client (GUI).  I am fairly new to this, so any help in determining what 
my problem is would be greatly appreciated.  -Thanks, Josh

2005/06/10 10:25:36 ERROR - jmeter.gui.action.RemoteStart:  
java.rmi.NotBoundException: JMeterEngine
    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.<init>(ClientJMeterEngine.java:48)
    at 
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:195)
    at 
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
    at 
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
    at 
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
    at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

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


Re: Remote Testing Problem - SOLVED

Posted by Joshua Auerbach <jo...@dealer.com>.
So I solved my problem, so I figured I would post it in case anyone else 
ever runs into the same problem.  On a whim I browsed to the /usr/bin 
directory where the rmiregistry file is located, I discovered that there 
exists another file here called rmiregistry34.  When I make sure there 
are no instances of rmiregistry running and then run rmiregistry34 and 
then start up jmeter in server mode I can run remotely on it with no 
problem.  So I edited the jmeter-server script to call rmiregistry34 as 
opposed to rmiregistry and everything works fine.

-Josh


Michael Stover wrote:

>My guess would be that there's a software firewall working on the unix
>box.
>
>On Tue, 2005-06-14 at 17:02 -0400, Joshua Auerbach wrote:
>  
>
>>I tried running the reverse: server on my windows workstation and the 
>>client on the unix machine and that works fine.  So I do not think it is 
>>a jdk version issue.  However if I try to run the client and server both 
>>on the unix machine it does not work i.e. from the command line all i 
>>get is
>>
>>Created the tree successfully
>>Configuring remote engine for "local ip"
>>
>>(where local ip is the ip of the computer I am running on)
>>and then after a few minutes it quits.
>>
>>Any suggestions here as to what may be going on?
>>N.B.  If I run jMeter on the unix machines not in remote mode it works fine
>>
>>Thanks again,
>>Josh
>>
>>
>>
>>Joshua Auerbach wrote:
>>
>>    
>>
>>>rmi registry is definately running, and I followed the manual exactly 
>>>(tried both ways).  Will it really not work if the jdk versions are 
>>>not the same?  The server is running on a unix machine with build 
>>>1.4.2_04-b05 and the client is on a win xp pro with build 1.5.0_02-b09
>>>
>>>-Josh
>>>
>>>
>>>Shabana Shabana wrote:
>>>
>>>      
>>>
>>>>Hi,
>>>>
>>>>Make sure your rmi registery is running .
>>>>hope u r following manual exactly as mentioned
>>>>http://jakarta.apache-korea.org/jmeter/usermanual/remote-test.html.
>>>>
>>>>Also  check for the jdk version on both client & server  that would
>>>>sometimes also lead  to similar problem.
>>>>
>>>>
>>>>
>>>>
>>>>On 6/10/05, Joshua Auerbach <jo...@dealer.com> wrote:
>>>> 
>>>>
>>>>        
>>>>
>>>>>I am trying to get JMeter to run in distributed mode for remote
>>>>>testing.  If I run a jmeter-server on my local machine, and use my 
>>>>>local
>>>>>ip I can get it to work properly.  However, when I try running the
>>>>>server on a remote machine I get "Bad Call to Remote Host"  errors
>>>>>everytime.  For troubleshooting purposes I am currently just trying to
>>>>>run on one remote host (eventually I would like to run on 3).  Below is
>>>>>the entry from my jmeter.log file from the machine running the JMeter
>>>>>client (GUI).  I am fairly new to this, so any help in determining what
>>>>>my problem is would be greatly appreciated.  -Thanks, Josh
>>>>>
>>>>>2005/06/10 10:25:36 ERROR - jmeter.gui.action.RemoteStart:
>>>>>java.rmi.NotBoundException: JMeterEngine
>>>>>   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.<init>(ClientJMeterEngine.java:48) 
>>>>>
>>>>>   at
>>>>>org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:195) 
>>>>>
>>>>>   at
>>>>>org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
>>>>>   at
>>>>>org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81) 
>>>>>
>>>>>   at
>>>>>org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44) 
>>>>>
>>>>>   at 
>>>>>org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>>>>>   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>>>   at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>>>   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>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
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>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
>
>  
>


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


Re: Remote Testing Problem

Posted by Michael Stover <ms...@apache.org>.
My guess would be that there's a software firewall working on the unix
box.

On Tue, 2005-06-14 at 17:02 -0400, Joshua Auerbach wrote:
> I tried running the reverse: server on my windows workstation and the 
> client on the unix machine and that works fine.  So I do not think it is 
> a jdk version issue.  However if I try to run the client and server both 
> on the unix machine it does not work i.e. from the command line all i 
> get is
> 
> Created the tree successfully
> Configuring remote engine for "local ip"
> 
> (where local ip is the ip of the computer I am running on)
> and then after a few minutes it quits.
> 
> Any suggestions here as to what may be going on?
> N.B.  If I run jMeter on the unix machines not in remote mode it works fine
> 
> Thanks again,
> Josh
> 
> 
> 
> Joshua Auerbach wrote:
> 
> > rmi registry is definately running, and I followed the manual exactly 
> > (tried both ways).  Will it really not work if the jdk versions are 
> > not the same?  The server is running on a unix machine with build 
> > 1.4.2_04-b05 and the client is on a win xp pro with build 1.5.0_02-b09
> >
> > -Josh
> >
> >
> > Shabana Shabana wrote:
> >
> >> Hi,
> >>
> >> Make sure your rmi registery is running .
> >> hope u r following manual exactly as mentioned
> >> http://jakarta.apache-korea.org/jmeter/usermanual/remote-test.html.
> >>
> >> Also  check for the jdk version on both client & server  that would
> >> sometimes also lead  to similar problem.
> >>
> >>
> >>
> >>
> >> On 6/10/05, Joshua Auerbach <jo...@dealer.com> wrote:
> >>  
> >>
> >>> I am trying to get JMeter to run in distributed mode for remote
> >>> testing.  If I run a jmeter-server on my local machine, and use my 
> >>> local
> >>> ip I can get it to work properly.  However, when I try running the
> >>> server on a remote machine I get "Bad Call to Remote Host"  errors
> >>> everytime.  For troubleshooting purposes I am currently just trying to
> >>> run on one remote host (eventually I would like to run on 3).  Below is
> >>> the entry from my jmeter.log file from the machine running the JMeter
> >>> client (GUI).  I am fairly new to this, so any help in determining what
> >>> my problem is would be greatly appreciated.  -Thanks, Josh
> >>>
> >>> 2005/06/10 10:25:36 ERROR - jmeter.gui.action.RemoteStart:
> >>> java.rmi.NotBoundException: JMeterEngine
> >>>    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.<init>(ClientJMeterEngine.java:48) 
> >>>
> >>>    at
> >>> org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:195) 
> >>>
> >>>    at
> >>> org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
> >>>    at
> >>> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81) 
> >>>
> >>>    at
> >>> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44) 
> >>>
> >>>    at 
> >>> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
> >>>    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> >>>    at java.awt.EventQueue.dispatchEvent(Unknown Source)
> >>>    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
> >>>
> >>> ---------------------------------------------------------------------
> >>> 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
> >
> 
> 
> ---------------------------------------------------------------------
> 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


Re: Remote Testing Problem

Posted by Joshua Auerbach <jo...@dealer.com>.
When I try to run both on the unix machine this is the log

2005/06/14 17:11:43 INFO  - jmeter.JMeter: Setting JMeter property: 
remote_hosts="local_ip"
2005/06/14 17:11:43 INFO  - jmeter.JMeter: Version 2.0.3
2005/06/14 17:11:43 INFO  - jmeter.JMeter: java.version=1.4.2_04
2005/06/14 17:11:43 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The 
Apache Software Foundation
2005/06/14 17:11:43 INFO  - jmeter.JMeter: Loading file: ../temp.jmx
2005/06/14 17:12:43 FATAL - jmeter.JMeter: Failure connecting to remote 
host java.rmi.ConnectIOException: error during JRMP connection 
establishment; nested exception is:
        java.net.SocketTimeoutException: Read timed out
        at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
        at 
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Naming.java:84)
        at 
org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:48)
        at org.apache.jmeter.JMeter.doRemoteInit(JMeter.java:657)
        at org.apache.jmeter.JMeter.run(JMeter.java:585)
        at org.apache.jmeter.JMeter.startNonGui(JMeter.java:522)
        at org.apache.jmeter.JMeter.start(JMeter.java:299)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:172)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
        at java.io.DataInputStream.readByte(DataInputStream.java:331)
        at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)

-Josh


sebb wrote:

>What do the jmeter.log files say?
>
>On 6/14/05, Joshua Auerbach <jo...@dealer.com> wrote:
>  
>
>>I tried running the reverse: server on my windows workstation and the
>>client on the unix machine and that works fine.  So I do not think it is
>>a jdk version issue.  However if I try to run the client and server both
>>on the unix machine it does not work i.e. from the command line all i
>>get is
>>
>>Created the tree successfully
>>Configuring remote engine for "local ip"
>>
>>(where local ip is the ip of the computer I am running on)
>>and then after a few minutes it quits.
>>
>>Any suggestions here as to what may be going on?
>>N.B.  If I run jMeter on the unix machines not in remote mode it works fine
>>
>>Thanks again,
>>Josh
>>
>>
>>
>>Joshua Auerbach wrote:
>>
>>    
>>
>>>rmi registry is definately running, and I followed the manual exactly
>>>(tried both ways).  Will it really not work if the jdk versions are
>>>not the same?  The server is running on a unix machine with build
>>>1.4.2_04-b05 and the client is on a win xp pro with build 1.5.0_02-b09
>>>
>>>-Josh
>>>
>>>
>>>Shabana Shabana wrote:
>>>
>>>      
>>>
>>>>Hi,
>>>>
>>>>Make sure your rmi registery is running .
>>>>hope u r following manual exactly as mentioned
>>>>http://jakarta.apache-korea.org/jmeter/usermanual/remote-test.html.
>>>>
>>>>Also  check for the jdk version on both client & server  that would
>>>>sometimes also lead  to similar problem.
>>>>
>>>>
>>>>
>>>>
>>>>On 6/10/05, Joshua Auerbach <jo...@dealer.com> wrote:
>>>>
>>>>
>>>>        
>>>>
>>>>>I am trying to get JMeter to run in distributed mode for remote
>>>>>testing.  If I run a jmeter-server on my local machine, and use my
>>>>>local
>>>>>ip I can get it to work properly.  However, when I try running the
>>>>>server on a remote machine I get "Bad Call to Remote Host"  errors
>>>>>everytime.  For troubleshooting purposes I am currently just trying to
>>>>>run on one remote host (eventually I would like to run on 3).  Below is
>>>>>the entry from my jmeter.log file from the machine running the JMeter
>>>>>client (GUI).  I am fairly new to this, so any help in determining what
>>>>>my problem is would be greatly appreciated.  -Thanks, Josh
>>>>>
>>>>>2005/06/10 10:25:36 ERROR - jmeter.gui.action.RemoteStart:
>>>>>java.rmi.NotBoundException: JMeterEngine
>>>>>   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.<init>(ClientJMeterEngine.java:48)
>>>>>
>>>>>   at
>>>>>org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:195)
>>>>>
>>>>>   at
>>>>>org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
>>>>>   at
>>>>>org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
>>>>>
>>>>>   at
>>>>>org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
>>>>>
>>>>>   at
>>>>>org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>>>>>   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>>>   at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>>>   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>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
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>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
>
>
>  
>


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


Re: Remote Testing Problem

Posted by sebb <se...@gmail.com>.
What do the jmeter.log files say?

On 6/14/05, Joshua Auerbach <jo...@dealer.com> wrote:
> I tried running the reverse: server on my windows workstation and the
> client on the unix machine and that works fine.  So I do not think it is
> a jdk version issue.  However if I try to run the client and server both
> on the unix machine it does not work i.e. from the command line all i
> get is
> 
> Created the tree successfully
> Configuring remote engine for "local ip"
> 
> (where local ip is the ip of the computer I am running on)
> and then after a few minutes it quits.
> 
> Any suggestions here as to what may be going on?
> N.B.  If I run jMeter on the unix machines not in remote mode it works fine
> 
> Thanks again,
> Josh
> 
> 
> 
> Joshua Auerbach wrote:
> 
> > rmi registry is definately running, and I followed the manual exactly
> > (tried both ways).  Will it really not work if the jdk versions are
> > not the same?  The server is running on a unix machine with build
> > 1.4.2_04-b05 and the client is on a win xp pro with build 1.5.0_02-b09
> >
> > -Josh
> >
> >
> > Shabana Shabana wrote:
> >
> >> Hi,
> >>
> >> Make sure your rmi registery is running .
> >> hope u r following manual exactly as mentioned
> >> http://jakarta.apache-korea.org/jmeter/usermanual/remote-test.html.
> >>
> >> Also  check for the jdk version on both client & server  that would
> >> sometimes also lead  to similar problem.
> >>
> >>
> >>
> >>
> >> On 6/10/05, Joshua Auerbach <jo...@dealer.com> wrote:
> >>
> >>
> >>> I am trying to get JMeter to run in distributed mode for remote
> >>> testing.  If I run a jmeter-server on my local machine, and use my
> >>> local
> >>> ip I can get it to work properly.  However, when I try running the
> >>> server on a remote machine I get "Bad Call to Remote Host"  errors
> >>> everytime.  For troubleshooting purposes I am currently just trying to
> >>> run on one remote host (eventually I would like to run on 3).  Below is
> >>> the entry from my jmeter.log file from the machine running the JMeter
> >>> client (GUI).  I am fairly new to this, so any help in determining what
> >>> my problem is would be greatly appreciated.  -Thanks, Josh
> >>>
> >>> 2005/06/10 10:25:36 ERROR - jmeter.gui.action.RemoteStart:
> >>> java.rmi.NotBoundException: JMeterEngine
> >>>    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.<init>(ClientJMeterEngine.java:48)
> >>>
> >>>    at
> >>> org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:195)
> >>>
> >>>    at
> >>> org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
> >>>    at
> >>> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
> >>>
> >>>    at
> >>> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
> >>>
> >>>    at
> >>> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
> >>>    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> >>>    at java.awt.EventQueue.dispatchEvent(Unknown Source)
> >>>    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
> >>>
> >>> ---------------------------------------------------------------------
> >>> 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
> >
> 
> 
> ---------------------------------------------------------------------
> 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


Re: Remote Testing Problem

Posted by Joshua Auerbach <jo...@dealer.com>.
I tried running the reverse: server on my windows workstation and the 
client on the unix machine and that works fine.  So I do not think it is 
a jdk version issue.  However if I try to run the client and server both 
on the unix machine it does not work i.e. from the command line all i 
get is

Created the tree successfully
Configuring remote engine for "local ip"

(where local ip is the ip of the computer I am running on)
and then after a few minutes it quits.

Any suggestions here as to what may be going on?
N.B.  If I run jMeter on the unix machines not in remote mode it works fine

Thanks again,
Josh



Joshua Auerbach wrote:

> rmi registry is definately running, and I followed the manual exactly 
> (tried both ways).  Will it really not work if the jdk versions are 
> not the same?  The server is running on a unix machine with build 
> 1.4.2_04-b05 and the client is on a win xp pro with build 1.5.0_02-b09
>
> -Josh
>
>
> Shabana Shabana wrote:
>
>> Hi,
>>
>> Make sure your rmi registery is running .
>> hope u r following manual exactly as mentioned
>> http://jakarta.apache-korea.org/jmeter/usermanual/remote-test.html.
>>
>> Also  check for the jdk version on both client & server  that would
>> sometimes also lead  to similar problem.
>>
>>
>>
>>
>> On 6/10/05, Joshua Auerbach <jo...@dealer.com> wrote:
>>  
>>
>>> I am trying to get JMeter to run in distributed mode for remote
>>> testing.  If I run a jmeter-server on my local machine, and use my 
>>> local
>>> ip I can get it to work properly.  However, when I try running the
>>> server on a remote machine I get "Bad Call to Remote Host"  errors
>>> everytime.  For troubleshooting purposes I am currently just trying to
>>> run on one remote host (eventually I would like to run on 3).  Below is
>>> the entry from my jmeter.log file from the machine running the JMeter
>>> client (GUI).  I am fairly new to this, so any help in determining what
>>> my problem is would be greatly appreciated.  -Thanks, Josh
>>>
>>> 2005/06/10 10:25:36 ERROR - jmeter.gui.action.RemoteStart:
>>> java.rmi.NotBoundException: JMeterEngine
>>>    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.<init>(ClientJMeterEngine.java:48) 
>>>
>>>    at
>>> org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:195) 
>>>
>>>    at
>>> org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
>>>    at
>>> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81) 
>>>
>>>    at
>>> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44) 
>>>
>>>    at 
>>> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>>>    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>    at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
>>>
>>> ---------------------------------------------------------------------
>>> 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
>


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


Re: Remote Testing Problem

Posted by Joshua Auerbach <jo...@dealer.com>.
rmi registry is definately running, and I followed the manual exactly 
(tried both ways).  Will it really not work if the jdk versions are not 
the same?  The server is running on a unix machine with build 
1.4.2_04-b05 and the client is on a win xp pro with build 1.5.0_02-b09

-Josh


Shabana Shabana wrote:

>Hi,
>
>Make sure your rmi registery is running .
>hope u r following manual exactly as mentioned 
>
>http://jakarta.apache-korea.org/jmeter/usermanual/remote-test.html.
>
>Also  check for the jdk version on both client & server  that would
>sometimes also lead  to similar problem.
>
> 
>
>
>On 6/10/05, Joshua Auerbach <jo...@dealer.com> wrote:
>  
>
>>I am trying to get JMeter to run in distributed mode for remote
>>testing.  If I run a jmeter-server on my local machine, and use my local
>>ip I can get it to work properly.  However, when I try running the
>>server on a remote machine I get "Bad Call to Remote Host"  errors
>>everytime.  For troubleshooting purposes I am currently just trying to
>>run on one remote host (eventually I would like to run on 3).  Below is
>>the entry from my jmeter.log file from the machine running the JMeter
>>client (GUI).  I am fairly new to this, so any help in determining what
>>my problem is would be greatly appreciated.  -Thanks, Josh
>>
>>2005/06/10 10:25:36 ERROR - jmeter.gui.action.RemoteStart:
>>java.rmi.NotBoundException: JMeterEngine
>>    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.<init>(ClientJMeterEngine.java:48)
>>    at
>>org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:195)
>>    at
>>org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
>>    at
>>org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
>>    at
>>org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
>>    at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>>    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>    at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
>>
>>---------------------------------------------------------------------
>>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


Re: Remote Testing Problem

Posted by Shabana Shabana <sh...@gmail.com>.
Hi,

Make sure your rmi registery is running .
hope u r following manual exactly as mentioned 

http://jakarta.apache-korea.org/jmeter/usermanual/remote-test.html.

Also  check for the jdk version on both client & server  that would
sometimes also lead  to similar problem.

 


On 6/10/05, Joshua Auerbach <jo...@dealer.com> wrote:
> I am trying to get JMeter to run in distributed mode for remote
> testing.  If I run a jmeter-server on my local machine, and use my local
> ip I can get it to work properly.  However, when I try running the
> server on a remote machine I get "Bad Call to Remote Host"  errors
> everytime.  For troubleshooting purposes I am currently just trying to
> run on one remote host (eventually I would like to run on 3).  Below is
> the entry from my jmeter.log file from the machine running the JMeter
> client (GUI).  I am fairly new to this, so any help in determining what
> my problem is would be greatly appreciated.  -Thanks, Josh
> 
> 2005/06/10 10:25:36 ERROR - jmeter.gui.action.RemoteStart:
> java.rmi.NotBoundException: JMeterEngine
>     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.<init>(ClientJMeterEngine.java:48)
>     at
> org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:195)
>     at
> org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
>     at
> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
>     at
> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
>     at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>     at java.awt.EventQueue.dispatchEvent(Unknown Source)
>     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 


-- 
regards

Shabana

"Dreams can often become challenging, but challenges are what we live for"

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


Re: Remote Testing Problem

Posted by sebb <se...@gmail.com>.
Open a DOS box.

What does "java -version" show?

Change to the JMeter bin directory.

Run jmeter-server.bat.
There should be two console windows - what do they say?

S.
On 23/09/05, John Bunyan <bu...@hotmail.com> wrote:
>
>
> Hi Sebb,
>
> I have reinstalled jre1.5.0_04 under C:\Java\ , repointed environment
> variables JAVA_HOME to c:\Java\jre1.5.0_04 and JMETER_HOME to
> C:\Java\Jmeter\Jakart-jmeter2.1 and so no spaces in any pathnames now.
> Rebooted all boxes, I still get the same problem with rmiregistry when
> attempting to run jmeter-server. ???
>
>
>  ________________________________
>
>
>
>
> From: sebb <se...@gmail.com>
> Reply-To: sebb <se...@gmail.com>
> To: John Bunyan <bu...@hotmail.com>, JMeter Users List
> <jm...@jakarta.apache.org>
> Subject: Re: Remote Testing Problem
> Date: Fri, 23 Sep 2005 11:57:43 +0100
>
> Remote JMeter does not work if there are spaces in the path.
>
> S.
> On 23/09/05, John Bunyan <bu...@hotmail.com> wrote:
> >
> >
> >
> >
> > Hi sebb,
> >
> > just checked jmeter-server.bat. The line calling rmiregistry had this :
> >
> > 'START %JAVA_HOME%\bin\rmiregistry'
> >
> > so I changed it to
> >
> > 'START rmiregistry' - but still get the error "Windows cannot find
> > rmiregistry. Make sure you typed the name correctly etc etc "
> >
> > I am running the jmeter-server command from c:\Program
> > Files\Java\Jakarta-Jmeter2.1\bin\
> >
> > John
>
>
>

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


Re: Remote Testing Problem

Posted by sebb <se...@gmail.com>.
Remote JMeter does not work if there are spaces in the path.

S.
On 23/09/05, John Bunyan <bu...@hotmail.com> wrote:
>
>
>
>
> Hi sebb,
>
> just checked jmeter-server.bat. The line calling rmiregistry had this :
>
> 'START %JAVA_HOME%\bin\rmiregistry'
>
> so I changed it to
>
> 'START rmiregistry' - but still get the error "Windows cannot find
> rmiregistry. Make sure you typed the name correctly etc etc "
>
> I am running the jmeter-server command from c:\Program
> Files\Java\Jakarta-Jmeter2.1\bin\
>
> John

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


Controller

Posted by sailaja93 <sa...@yahoo.com>.
Should the simple controller be part of the Thread
Group, in order to perform the load test.
For eg, i have configured the scenario as follows:-

Number Of Threads = 50
Ramp Up Period = 50 sec
Loop Count = 1
Duration = 300 sec

Do i need to necessarily add the controller to the
thread group.

What is the exact functionality of the controller
here.

Thanks in advance



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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


Re: Remote Testing Problem

Posted by sebb <se...@gmail.com>.
Try changing to the jmeter bin directory and running jmeter-server.bat

The rmi registry needs to be provided with the appropriate JMeter classpath.
This is something that the jmeter-server.bat file will do for you.
(On unix, use the jmeter-server shell script)

If you want to run them separately, it should be easy enough to
extract the necessary information from the script.

S.
On 22/09/05, John Bunyan <bu...@hotmail.com> wrote:
>
>
> On Remote "B", I have (a) issued "start rmiregistry" from a DOS command box
> when logged into my jre root /bin/ directory (b) issed "start rmiregistry"
> from inside a DOS .bat file ( when logged into the jre /bin/ directory ) and
> (c) actualy entered just "rmiregistry" ( ie, run command ) whilst at the
> command prompt in a DOS box logged into jre /bin/ directory.
>
> After any one of the 3 above, I have entered "jmeter -s" from a 2nd DOS
> command box whilst logged into the jmeter /bin/ location. In each case,
> jmeter returns to DOS command prompt in about 10 secs.
>
> No gui problem on "B" - IE, runs in gui mode OK.
> ________________________________
> From: sebb <se...@gmail.com>
> Reply-To: sebb <se...@gmail.com>
> To: JMeter Users List <jm...@jakarta.apache.org>, bunyanjo
> <bu...@hotmail.com>
> Subject: Re: Remote Testing Problem
> Date: Thu, 22 Sep 2005 12:39:09 +0100
>
> What commands are you using to start RMI and JMeter on "B"?
>
> S.
> On 22/09/05, bunyanjo (sent by Nabble.com) <li...@nabble.com> wrote:
> >
> > I have read all the threads on this problem but I still get "Bad Call to
> Remote Host" on my client Jmeter Gui platform.
> >
> > Heres my situation : 2 platforms on same network segment, no firewall,
> both identical builds ( Windows Server 2003 Standard. jre1.5.0_01,
> jmeter2.1,jaf-1.0.2, javamail-1.3.3 ). On jmeter gui box "A" I have edited
> the jmeter.properties file to include IP of remote client "B". no changes at
> all on B.
> > When I start rmiregistry on B, ( via a DOS session ) then start jmeter in
> server mode, jmeter falls over back to the DOS prompt. Checking "B"'s
> jmeter.log file I get this :
> >
> > 2005/09/22 11:49:27 INFO - jmeter.util.JMeterUtils: Setting Locale to
> en_GB
> > 2005/09/22 11:49:27 INFO - jmeter.JMeter: Version 2.1
> > 2005/09/22 11:49:27 INFO - jmeter.JMeter: java.version=1.5.0_04
> > 2005/09/22 11:49:27 INFO - jmeter.JMeter: Copyright (c) 1998-2005 The
> Apache Software Foundation
> > 2005/09/22 11:49:27 INFO -
> jmeter.engine.RemoteJMeterEngineImpl: Starting backing
> engine on 1099
> > 2005/09/22 11:49:27 ERROR -
> jmeter.engine.RemoteJMeterEngineImpl: rmiregistry needs to
> be running to start
> > JMeter in server mode
> > java.rmi.ServerException: RemoteException occurred in server thread;
> nested exception is:
> > java.rmi.UnmarshalException: error unmarshalling arguments; nested
> exception is:
> > java.net.MalformedURLException: no protocol:
> Files\Java\jakarta-jmeter-2.1\lib\avalon-framework-4.1.4.jar
> > 2005/09/22 11:49:27 ERROR - jmeter.JMeter: Giving up, as server failed
> with: java.rmi.RemoteException: Cannot start.
> > See server log file.
> > at
> org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:60)
> > at org.apache.jmeter.engine.RemoteJMeterEngineImpl.
> (RemoteJMeterEngineImpl.java:46)
> > at org.apache.jmeter.JMeter.startServer(JMeter.java:376)
> > at org.apache.jmeter.JMeter.start(JMeter.java:237)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > at org.apache.jmeter.NewDriver.main(NewDriver.java:139)
> >
> > even though rmiregistry is running on "B" !!!. All attempts to get jmeter
> to run the remote copy on "B" from local "A" fail. Anyone any ideas ?
> > --
> > Sent from the JMeter - User forum at Nabble.com:
> >
> http://www.nabble.com/Remote-Testing-Problem-t64661.html#a928455
> >
> >
>

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


Re: Remote Testing Problem

Posted by sebb <se...@gmail.com>.
What commands are you using to start RMI and JMeter on "B"?

S.
On 22/09/05, bunyanjo (sent by Nabble.com) <li...@nabble.com> wrote:
>
> I have read all the threads on this problem but I still get "Bad Call to Remote Host" on my client Jmeter Gui platform.
>
> Heres my situation : 2 platforms on same network segment, no firewall, both identical builds ( Windows Server 2003 Standard. jre1.5.0_01, jmeter2.1,jaf-1.0.2, javamail-1.3.3 ). On jmeter gui box "A" I have edited the jmeter.properties file to include IP of remote client "B". no changes at all on B.
> When I start rmiregistry on B, ( via a DOS session ) then start jmeter in server mode, jmeter falls over back to the DOS prompt. Checking "B"'s jmeter.log file I get this :
>
> 2005/09/22 11:49:27 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_GB
> 2005/09/22 11:49:27 INFO  - jmeter.JMeter: Version 2.1
> 2005/09/22 11:49:27 INFO  - jmeter.JMeter: java.version=1.5.0_04
> 2005/09/22 11:49:27 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The Apache Software Foundation
> 2005/09/22 11:49:27 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting backing engine on 1099
> 2005/09/22 11:49:27 ERROR - jmeter.engine.RemoteJMeterEngineImpl: rmiregistry needs to be running to start
> JMeter in server mode
>        java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
>        java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
>        java.net.MalformedURLException: no protocol: Files\Java\jakarta-jmeter-2.1\lib\avalon-framework-4.1.4.jar
> 2005/09/22 11:49:27 ERROR - jmeter.JMeter: Giving up, as server failed with: java.rmi.RemoteException: Cannot start.
> See server log file.
>        at org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:60)
>        at org.apache.jmeter.engine.RemoteJMeterEngineImpl. (RemoteJMeterEngineImpl.java:46)
>        at org.apache.jmeter.JMeter.startServer(JMeter.java:376)
>        at org.apache.jmeter.JMeter.start(JMeter.java:237)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.jmeter.NewDriver.main(NewDriver.java:139)
>
> even though rmiregistry is running on "B" !!!. All attempts to get jmeter to run the remote copy on "B" from local "A" fail. Anyone any ideas ?
> --
> Sent from the JMeter - User forum at Nabble.com:
> http://www.nabble.com/Remote-Testing-Problem-t64661.html#a928455
>
>

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


Re: Remote Testing Problem

Posted by "bunyanjo (sent by Nabble.com)" <li...@nabble.com>.
I have read all the threads on this problem but I still get "Bad Call to Remote Host" on my client Jmeter Gui platform. 

Heres my situation : 2 platforms on same network segment, no firewall, both identical builds ( Windows Server 2003 Standard. jre1.5.0_01, jmeter2.1,jaf-1.0.2, javamail-1.3.3 ). On jmeter gui box "A" I have edited the jmeter.properties file to include IP of remote client "B". no changes at all on B.
When I start rmiregistry on B, ( via a DOS session ) then start jmeter in server mode, jmeter falls over back to the DOS prompt. Checking "B"'s jmeter.log file I get this :

2005/09/22 11:49:27 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_GB 
2005/09/22 11:49:27 INFO  - jmeter.JMeter: Version 2.1 
2005/09/22 11:49:27 INFO  - jmeter.JMeter: java.version=1.5.0_04 
2005/09/22 11:49:27 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The Apache Software Foundation 
2005/09/22 11:49:27 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting backing engine on 1099 
2005/09/22 11:49:27 ERROR - jmeter.engine.RemoteJMeterEngineImpl: rmiregistry needs to be running to start 
JMeter in server mode
	java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
	java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
	java.net.MalformedURLException: no protocol: Files\Java\jakarta-jmeter-2.1\lib\avalon-framework-4.1.4.jar 
2005/09/22 11:49:27 ERROR - jmeter.JMeter: Giving up, as server failed with: java.rmi.RemoteException: Cannot start. 
See server log file.
	at org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:60)
	at org.apache.jmeter.engine.RemoteJMeterEngineImpl. (RemoteJMeterEngineImpl.java:46)
	at org.apache.jmeter.JMeter.startServer(JMeter.java:376)
	at org.apache.jmeter.JMeter.start(JMeter.java:237)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.jmeter.NewDriver.main(NewDriver.java:139)

even though rmiregistry is running on "B" !!!. All attempts to get jmeter to run the remote copy on "B" from local "A" fail. Anyone any ideas ?
--
Sent from the JMeter - User forum at Nabble.com:
http://www.nabble.com/Remote-Testing-Problem-t64661.html#a928455