Hi!

I cannot get the RMI connection to work. 

Here's the setup

jmeter.propterties has:
remote_hosts=127.0.0.1

I start rmiregistry with ApacheJMeter.jar as the sole entrance
in CLASSPATH.

Then, run the bin/jmeter-server script, no argnuments

Now, bin/jmeter, choose a saved task file (http stuff)

Run -> Start remote -> 127.0.0.1 gives this staack trace for
the client:

java.rmi.MarshalException: error marshalling arguments; nested
exception is: 
        java.io.IOException: Broken pipe
java.io.IOException: Broken pipe
        at java.net.SocketOutputStream.socketWrite(Native
Method)
        at
java.net.SocketOutputStream.write(SocketOutputStream.java:87)
        at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:76)
        at
java.io.BufferedOutputStream.write(BufferedOutputStream.java:120)
        at
java.io.ObjectOutputStream.drain(ObjectOutputStream.java:1238)
        at
java.io.ObjectOutputStream.setBlockData(ObjectOutputStream.java:1260)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:383)
        at
sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:272)
        at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
        at
org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.addThreadGroup(Unknown
Source)
        at
org.apache.jmeter.engine.ClientJMeterEngine.addThreadGroupsToRemote(ClientJMeterEngine.java:168)
        at
org.apache.jmeter.engine.ClientJMeterEngine.runTest(ClientJMeterEngine.java:120)
        at
org.apache.jmeter.gui.action.RemoteStart.startEngine(RemoteStart.java:145)
        at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:124)
        at
org.apache.jmeter.gui.action.ActionRouter.actionPerformed(ActionRouter.java:94)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at
javax.swing.AbstractButton.doClick(AbstractButton.java:226)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:754)
        at
java.awt.Component.processMouseEvent(Component.java:3162)
        at java.awt.Component.processEvent(Component.java:3001)
        at java.awt.Container.processEvent(Container.java:1011)
        at
java.awt.Component.dispatchEventImpl(Component.java:2396)
        at
java.awt.Container.dispatchEventImpl(Container.java:1056)
        at
java.awt.Component.dispatchEvent(Component.java:2309)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2064)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:1848)
        at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:1751)
        at
java.awt.Container.dispatchEventImpl(Container.java:1043)
        at java.awt.Window.dispatchEventImpl(Window.java:749)
        at
java.awt.Component.dispatchEvent(Component.java:2309)
        at
java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
        at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:101)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:83)


the server and rmiregistry programs say nothing. I did a
tcpdump, and they do speak to oneanother, but I couldn't make
sense of it. Maybe, the RMI stuff is broken? I saw some
problems on this list about classes not beeing serializable,
but this is a different error, right?

Setup:
FreeBSD 4.4, native jdk1.2.2.

Also, tried running between two different machines (same
OS/JVM), same result.

BTW: Stopping and starting again increases the number of stack
traces by one for every time i chose start from the menu. Odd.
:)

-- 
Palle Girgensohn

Partitur Informationsteknik AB
http://www.partitur.se/partitur/visitkort/girgensohn.jpg

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

Reply via email to