You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by gubbu gubbu <gu...@yahoo.com> on 2008/07/31 07:55:34 UTC

RMI connection issue in remote execution mode

This runs fine in GUI mode but fails in non gui mode ...any ideas ? My /etc/hosts in linux machine has the hostname properly and also localhost defined properly

FATAL - jmeter.JMeter: Failure connecting to remote host java.rmi.ConnectException: Connection refused to host: localhost; nested excepti
on is:
        java.net.ConnectException: Connection refused
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:590)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:204)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:190)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:321)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:88)
        at java.rmi.Naming.lookup(Naming.java:98)
        at org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:51)
        at org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:55)
        at org.apache.jmeter.JMeter.doRemoteInit(JMeter.java:800)
        at org.apache.jmeter.JMeter.run(JMeter.java:715)
        at org.apache.jmeter.JMeter.startNonGui(JMeter.java:651)
        at org.apache.jmeter.JMeter.start(JMeter.java:330)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:183)
Caused by: java.net.ConnectException: Connection refused