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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> Reply-To: sebb <[EMAIL PROTECTED]>
> To: JMeter Users List <jmeter-user@jakarta.apache.org>, bunyanjo
> <[EMAIL PROTECTED]>
> 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) <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to