Hi Michael,

I tried running the bat file from the command line as you suggest but I dont
get any errors.
Before I ran RMIREGISTRY I mad sure the class path was set.  RMIREGISTRY
runs
and appears in the TaskManager.  Then when I run jmeter-server.bat I get the
following:

D:\Apache Files\JMeter\v201\jakarta-jmeter-2.0.1\bin>jmeter-server.bat
Could not find ApacheJmeter_core.jar ...
... Trying JMETER_HOME=..
Found ApacheJMeter_core.jar
ECHO is off.
[Full GC 2919K->643K(249088K), 0.0350684 secs]

D:\Apache Files\JMeter\v201\jakarta-jmeter-2.0.1\bin>

If I watch the TaskManager I can see the Java.exe session start and then
immediately stop.
No other errors are indicated in the console. The only error than gets
generated now is the
one I had posted in the original message.  IF I run JMETER -S then the
console shows:

D:\Apache Files\JMeter\v201\jakarta-jmeter-2.0.1\bin>jmeter -s
[Full GC 2884K->643K(249088K), 0.0373662 secs]

D:\Apache Files\JMeter\v201\jakarta-jmeter-2.0.1\bin>

Thanks for the help,

Trevor


----- Original Message -----
From: "Freeman, Michael" <[EMAIL PROTECTED]>
To: "JMeter Users List" <[EMAIL PROTECTED]>
Sent: Friday, June 04, 2004 5:20 AM
Subject: RE: Error running JMeter in Server mode


> Hi
>   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\jorp
han.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.
>
> Regards
>
> Michael
>
> -----Original Message-----
> From: Trevor Johnson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 03, 2004 8:55 PM
> To: JMeter Users List
> Subject: Error running JMeter in Server mode
>
>
> Hi,
>
> 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:
>  java.net.MalformedURLException: 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>(RemoteJMeterEngineImp
l.java:56)
>  at org.apache.jmeter.JMeter.startServer(JMeter.java:446)
>  at org.apache.jmeter.JMeter.start(JMeter.java:274)
>  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:172)
>
> 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 generated.
> 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 be
> most welcome.
>
> Trevor Johnson
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to