jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman, Michael" <>
Subject RE: Error running JMeter in Server mode
Date Fri, 04 Jun 2004 08:20:49 GMT
  The following JAR's have to be in the classpath before you start the rmiregistry. The jmeter-server.bat
file contains the following line.

set CLASSPATH=%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-1.2.jar

You would need to include this if you are running the rmiregistry yourself.

Try starting the jmeter-server.bat file from your DOS command line. You should see any error
ouput then.



-----Original Message-----
From: Trevor Johnson []
Sent: Thursday, June 03, 2004 8:55 PM
To: JMeter Users List
Subject: Error running JMeter in Server mode


I have been trhying to get JMeter 2.0.1 running in server mode but I continually get the following
error message in the log file:

2004/06/03 16:15:32 INFO  - jmeter.JMeter: Version 2.0.1 
2004/06/03 16:15:32 INFO  - jmeter.JMeter: java.version=1.4.1_06 
2004/06/03 16:15:32 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting backing engine

2004/06/03 16:15:32 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: no protocol: Files\JMeter\v201\jakarta-jmeter-2.0.1\lib\avalon-framework-4.1.4.jar

2004/06/03 16:15:32 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>(
 at org.apache.jmeter.JMeter.startServer(
 at org.apache.jmeter.JMeter.start(
 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(

I know rmiregistry is running because I can see it in the Task Manager.  When I try executing
the server
manually I see the java.exe process start and immediately stop.  The above error is what's
When I try to contact a remote server I get a "Bad call to remote host" error even though
I can see the
IP address in the list.

Does anybody have some suggestions other than whats in the documentation.

I am trying to run this on Windows 2000 Pro machine with JSDK 1.4.2.  Any suggestions would
most welcome.
Trevor Johnson

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message