%JMETER_CMD_LINE_ARGS% is used to hold the parameters to the jmeter[-server].bat files It is set up using '%*' (or %1 and shift).
If omitted from jmeter.bat, command-line parameters won't be passed to the Java command line and thus to JMeter. jmeter-server.bat can use - but does not need - any parameters, however it does pass the "-s" parameter to jmeter.bat, which probably explains your problem. Note that you can check the actual command line used by adding 'echo on' just before the 'java' commmand. Note that there is a problem running JMeter from a pathname with spaces in it - don't remember if it affects both server and normal mode. BTW, server mode does not currently gain anything performance-wise. There is a new reply-batching server mode which should help, but that is only in CVS HEAD. Best to run multiple batch (non-GUI) instances and combine the test results. Sebastian -----Original Message----- From: Michael Chandler [mailto:[EMAIL PROTECTED] Sent: 25 August 2004 20:49 To: [EMAIL PROTECTED] Subject: 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) _______________________________________________________ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. _______________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

