You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Michael Chandler <mi...@browning.com> on 2004/08/25 21:49:17 UTC

win2k FYI

As far as I can tell, Jmeter is working sufficiently, on win2k, when I
chose the 'start' menu option to run my test. Even though I am starting
rmiregestry from the sdk bin folder, I cannot do a 'remote start'. It
gives me a 'bad call to remote host' error message. I can run it on my
XP box with the remote start with no problem (I am including
%JMETER_CMD_LINE_ARGS%). I don't think its  because I'm using the
-server switch on the win2k box.
I just answered part of this with another test. If I include the
%JMETER_CMD_LINE_ARGS%, which is set to '%', then I can run remote.
Please explain to me what the significance is of this variable. 
Below is the log after picking 'remote start' from the menu before
including %JMETER_CMD_LINE_ARGS%:
 
2004/08/25 09:37:27 INFO  - jmeter.JMeter: Version 2.0.1 
2004/08/25 09:37:27 INFO  - jmeter.JMeter: java.version=1.4.2_04 
2004/08/25 09:37:56 INFO  - jmeter.gui.action.Load: Loading file:
C:\jakarta-jmeter-2.0.1\bin\testfiles\spamhit2.jmx 
2004/08/25 09:38:06 ERROR - jmeter.gui.action.RemoteStart:
java.rmi.NotBoundException: JMeterEngine
 at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)
 at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
 at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
 at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
 at sun.rmi.transport.Transport$1.run(Transport.java:148)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
 at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
 at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:701)
 at java.lang.Thread.run(Thread.java:534)
 at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRem
oteCall.java:247)
 at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223
)
 at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
 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.ja
va:48)
 at
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:1
95)
 at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:78)
 at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.jav
a:81)
 at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:4
4)
 at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
 at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
d.java:201)
 at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
java:151)
 at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
 at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
2004/08/25 09:38:10 ERROR - jmeter.gui.action.RemoteStart:
java.rmi.NotBoundException: JMeterEngine
 at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)
 at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
 at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
 at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
 at sun.rmi.transport.Transport$1.run(Transport.java:148)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
 at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
 at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.ja
va:701)
 at java.lang.Thread.run(Thread.java:534)
 at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRem
oteCall.java:247)
 at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223
)
 at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
 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.ja
va:48)
 at
org.apache.jmeter.gui.action.RemoteStart.doRemoteStart(RemoteStart.java:
169)
 at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:79)
 at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.jav
a:81)
 at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:4
4)
 at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
 at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
d.java:201)
 at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
java:151)
 at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
 at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)