jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Johnson" <trevor.john...@caris.com>
Subject Re: Error running JMeter in Server mode
Date Fri, 04 Jun 2004 18:07:44 GMT
Hi,

I found the source of my problem.  It appears that either JMeter or
RMIREGISTRY doesn't
like to have any spaces in the path name to where JMeter has been installed.

Trevor

----- Original Message -----
From: "Trevor Johnson" <trevor.johnson@caris.com>
To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
Sent: Friday, June 04, 2004 8:48 AM
Subject: Re: Error running JMeter in Server mode


> 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" <Michael.Freeman@sabre-holdings.com>
> To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
> 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:trevor.johnson@caris.com]
> > 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: 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


Mime
View raw message