You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by andrea corallo <a....@impara-ai.com> on 2011/01/14 11:46:21 UTC

jmeter server error

I every one,
I'm new to jmeter and I'm trying to use it in server mode in my Ubuntu
but ther's a problem that I'm not able to solve... I hope some one could
help me

The server start correctly but when the client call the test something
wrong happend on the server. I attached the jmeter-server.log with the
error.



Thanks for any help and sorry for my english :)

   Andrea

Re: jmeter server error

Posted by andrea corallo <a....@impara-ai.com>.
So the configuration problem is of the client?
I should remove the 127.0.1.1 from /etc/hosts?
Monday I'll try!


Il giorno sab, 15/01/2011 alle 10.52 +0000, sebb ha scritto:
> On 15 January 2011 07:49, andrea corallo <a....@impara-ai.com> wrote:
> > ok, in attach the complete log
> 
> which contains:
> 
> jmeter.JMeter: IP: 127.0.1.1 Name: andrea-laptop FullName: andrea-laptop
> 
> this is the reply IP that the client sends to the server - so no
> wonder RMI does not work.
> 
> >
> > Il giorno ven, 14/01/2011 alle 22.53 +0000, sebb ha scritto:
> >> On 14 January 2011 22:26, andrea corallo <a....@impara-ai.com> wrote:
> >> > Il giorno ven, 14/01/2011 alle 22.16 +0000, sebb ha scritto:
> >> >> Sorry, it's the other way round - it looks like the client is sending
> >> >> the wrong reply address to the server.
> >> >>
> >> >> What does the client log show for its IP address?
> >> >>
> >> >> Check the host file on the client.
> >> >
> >> > The client log say:
> >>
> >> There's some missing from the beginning.
> >>
> >> >
> >> > 2011/01/14 18:03:15 INFO  - jmeter.JMeter: Configuring remote engine for
> >> > 150.145.11.86
> >> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: about to
> >> > run remote test on 150.145.11.86
> >> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: done
> >> > initiating run command
> >> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: running
> >> > clientengine run method
> >> > 2011/01/14 18:03:16 INFO  - jmeter.engine.ConvertListeners: num threads
> >> > = 1
> >> > 2011/01/14 18:03:16 INFO  - jmeter.samplers.StandardSampleSender: Using
> >> > Standard Remote Sampler for this test run
> >> > 2011/01/14 18:03:16 ERROR - jmeter.engine.ClientJMeterEngine:
> >> > java.rmi.ConnectException: Connection refused to host: 150.145.11.86;
> >>
> >> This is clearly going to cause errors later.
> >>
> >> Perhaps there is a gateway configuration problem which does not allow
> >> the RMI ports through?
> >>
> >> > nested exception is:
> >> >        java.net.ConnectException: Connection refused
> >> >        at
> >> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
> >> >        at
> >> > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
> >> >        at
> >> > sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
> >> >        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
> >> >        at
> >> > org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
> >> > Source)
> >> >        at
> >> > org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:122)
> >> >        at java.lang.Thread.run(Thread.java:636)
> >> > Caused by: java.net.ConnectException: Connection refused
> >> >        at java.net.PlainSocketImpl.socketConnect(Native Method)
> >> >        at
> >> > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
> >> >        at
> >> > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
> >> >        at
> >> > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
> >> >        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
> >> >        at java.net.Socket.connect(Socket.java:546)
> >> >        at java.net.Socket.connect(Socket.java:495)
> >> >        at java.net.Socket.<init>(Socket.java:392)
> >> >        at java.net.Socket.<init>(Socket.java:206)
> >> >        at
> >> > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
> >> >        at
> >> > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
> >> >        at
> >> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
> >> >        ... 6 more
> >> >
> >> > You can see something wrong?
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > 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
> >
> 
> ---------------------------------------------------------------------
> 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


Re: jmeter server error

Posted by andrea corallo <a....@impara-ai.com>.
thanks man! It worked! :)

Il giorno sab, 15/01/2011 alle 10.52 +0000, sebb ha scritto:
> On 15 January 2011 07:49, andrea corallo <a....@impara-ai.com> wrote:
> > ok, in attach the complete log
> 
> which contains:
> 
> jmeter.JMeter: IP: 127.0.1.1 Name: andrea-laptop FullName: andrea-laptop
> 
> this is the reply IP that the client sends to the server - so no
> wonder RMI does not work.
> 
> >
> > Il giorno ven, 14/01/2011 alle 22.53 +0000, sebb ha scritto:
> >> On 14 January 2011 22:26, andrea corallo <a....@impara-ai.com> wrote:
> >> > Il giorno ven, 14/01/2011 alle 22.16 +0000, sebb ha scritto:
> >> >> Sorry, it's the other way round - it looks like the client is sending
> >> >> the wrong reply address to the server.
> >> >>
> >> >> What does the client log show for its IP address?
> >> >>
> >> >> Check the host file on the client.
> >> >
> >> > The client log say:
> >>
> >> There's some missing from the beginning.
> >>
> >> >
> >> > 2011/01/14 18:03:15 INFO  - jmeter.JMeter: Configuring remote engine for
> >> > 150.145.11.86
> >> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: about to
> >> > run remote test on 150.145.11.86
> >> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: done
> >> > initiating run command
> >> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: running
> >> > clientengine run method
> >> > 2011/01/14 18:03:16 INFO  - jmeter.engine.ConvertListeners: num threads
> >> > = 1
> >> > 2011/01/14 18:03:16 INFO  - jmeter.samplers.StandardSampleSender: Using
> >> > Standard Remote Sampler for this test run
> >> > 2011/01/14 18:03:16 ERROR - jmeter.engine.ClientJMeterEngine:
> >> > java.rmi.ConnectException: Connection refused to host: 150.145.11.86;
> >>
> >> This is clearly going to cause errors later.
> >>
> >> Perhaps there is a gateway configuration problem which does not allow
> >> the RMI ports through?
> >>
> >> > nested exception is:
> >> >        java.net.ConnectException: Connection refused
> >> >        at
> >> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
> >> >        at
> >> > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
> >> >        at
> >> > sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
> >> >        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
> >> >        at
> >> > org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
> >> > Source)
> >> >        at
> >> > org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:122)
> >> >        at java.lang.Thread.run(Thread.java:636)
> >> > Caused by: java.net.ConnectException: Connection refused
> >> >        at java.net.PlainSocketImpl.socketConnect(Native Method)
> >> >        at
> >> > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
> >> >        at
> >> > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
> >> >        at
> >> > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
> >> >        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
> >> >        at java.net.Socket.connect(Socket.java:546)
> >> >        at java.net.Socket.connect(Socket.java:495)
> >> >        at java.net.Socket.<init>(Socket.java:392)
> >> >        at java.net.Socket.<init>(Socket.java:206)
> >> >        at
> >> > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
> >> >        at
> >> > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
> >> >        at
> >> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
> >> >        ... 6 more
> >> >
> >> > You can see something wrong?
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > 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
> >
> 
> ---------------------------------------------------------------------
> 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


Re: jmeter server error

Posted by sebb <se...@gmail.com>.
On 15 January 2011 07:49, andrea corallo <a....@impara-ai.com> wrote:
> ok, in attach the complete log

which contains:

jmeter.JMeter: IP: 127.0.1.1 Name: andrea-laptop FullName: andrea-laptop

this is the reply IP that the client sends to the server - so no
wonder RMI does not work.

>
> Il giorno ven, 14/01/2011 alle 22.53 +0000, sebb ha scritto:
>> On 14 January 2011 22:26, andrea corallo <a....@impara-ai.com> wrote:
>> > Il giorno ven, 14/01/2011 alle 22.16 +0000, sebb ha scritto:
>> >> Sorry, it's the other way round - it looks like the client is sending
>> >> the wrong reply address to the server.
>> >>
>> >> What does the client log show for its IP address?
>> >>
>> >> Check the host file on the client.
>> >
>> > The client log say:
>>
>> There's some missing from the beginning.
>>
>> >
>> > 2011/01/14 18:03:15 INFO  - jmeter.JMeter: Configuring remote engine for
>> > 150.145.11.86
>> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: about to
>> > run remote test on 150.145.11.86
>> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: done
>> > initiating run command
>> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: running
>> > clientengine run method
>> > 2011/01/14 18:03:16 INFO  - jmeter.engine.ConvertListeners: num threads
>> > = 1
>> > 2011/01/14 18:03:16 INFO  - jmeter.samplers.StandardSampleSender: Using
>> > Standard Remote Sampler for this test run
>> > 2011/01/14 18:03:16 ERROR - jmeter.engine.ClientJMeterEngine:
>> > java.rmi.ConnectException: Connection refused to host: 150.145.11.86;
>>
>> This is clearly going to cause errors later.
>>
>> Perhaps there is a gateway configuration problem which does not allow
>> the RMI ports through?
>>
>> > nested exception is:
>> >        java.net.ConnectException: Connection refused
>> >        at
>> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
>> >        at
>> > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
>> >        at
>> > sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
>> >        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
>> >        at
>> > org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
>> > Source)
>> >        at
>> > org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:122)
>> >        at java.lang.Thread.run(Thread.java:636)
>> > Caused by: java.net.ConnectException: Connection refused
>> >        at java.net.PlainSocketImpl.socketConnect(Native Method)
>> >        at
>> > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
>> >        at
>> > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
>> >        at
>> > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
>> >        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
>> >        at java.net.Socket.connect(Socket.java:546)
>> >        at java.net.Socket.connect(Socket.java:495)
>> >        at java.net.Socket.<init>(Socket.java:392)
>> >        at java.net.Socket.<init>(Socket.java:206)
>> >        at
>> > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
>> >        at
>> > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
>> >        at
>> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
>> >        ... 6 more
>> >
>> > You can see something wrong?
>> >
>> >
>> > ---------------------------------------------------------------------
>> > 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: jmeter server error

Posted by andrea corallo <a....@impara-ai.com>.
ok, in attach the complete log


Il giorno ven, 14/01/2011 alle 22.53 +0000, sebb ha scritto:
> On 14 January 2011 22:26, andrea corallo <a....@impara-ai.com> wrote:
> > Il giorno ven, 14/01/2011 alle 22.16 +0000, sebb ha scritto:
> >> Sorry, it's the other way round - it looks like the client is sending
> >> the wrong reply address to the server.
> >>
> >> What does the client log show for its IP address?
> >>
> >> Check the host file on the client.
> >
> > The client log say:
> 
> There's some missing from the beginning.
> 
> >
> > 2011/01/14 18:03:15 INFO  - jmeter.JMeter: Configuring remote engine for
> > 150.145.11.86
> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: about to
> > run remote test on 150.145.11.86
> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: done
> > initiating run command
> > 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: running
> > clientengine run method
> > 2011/01/14 18:03:16 INFO  - jmeter.engine.ConvertListeners: num threads
> > = 1
> > 2011/01/14 18:03:16 INFO  - jmeter.samplers.StandardSampleSender: Using
> > Standard Remote Sampler for this test run
> > 2011/01/14 18:03:16 ERROR - jmeter.engine.ClientJMeterEngine:
> > java.rmi.ConnectException: Connection refused to host: 150.145.11.86;
> 
> This is clearly going to cause errors later.
> 
> Perhaps there is a gateway configuration problem which does not allow
> the RMI ports through?
> 
> > nested exception is:
> >        java.net.ConnectException: Connection refused
> >        at
> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
> >        at
> > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
> >        at
> > sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
> >        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
> >        at
> > org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
> > Source)
> >        at
> > org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:122)
> >        at java.lang.Thread.run(Thread.java:636)
> > Caused by: java.net.ConnectException: Connection refused
> >        at java.net.PlainSocketImpl.socketConnect(Native Method)
> >        at
> > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
> >        at
> > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
> >        at
> > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
> >        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
> >        at java.net.Socket.connect(Socket.java:546)
> >        at java.net.Socket.connect(Socket.java:495)
> >        at java.net.Socket.<init>(Socket.java:392)
> >        at java.net.Socket.<init>(Socket.java:206)
> >        at
> > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
> >        at
> > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
> >        at
> > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
> >        ... 6 more
> >
> > You can see something wrong?
> >
> >
> > ---------------------------------------------------------------------
> > 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
> 


Re: jmeter server error

Posted by sebb <se...@gmail.com>.
On 14 January 2011 22:26, andrea corallo <a....@impara-ai.com> wrote:
> Il giorno ven, 14/01/2011 alle 22.16 +0000, sebb ha scritto:
>> Sorry, it's the other way round - it looks like the client is sending
>> the wrong reply address to the server.
>>
>> What does the client log show for its IP address?
>>
>> Check the host file on the client.
>
> The client log say:

There's some missing from the beginning.

>
> 2011/01/14 18:03:15 INFO  - jmeter.JMeter: Configuring remote engine for
> 150.145.11.86
> 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: about to
> run remote test on 150.145.11.86
> 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: done
> initiating run command
> 2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: running
> clientengine run method
> 2011/01/14 18:03:16 INFO  - jmeter.engine.ConvertListeners: num threads
> = 1
> 2011/01/14 18:03:16 INFO  - jmeter.samplers.StandardSampleSender: Using
> Standard Remote Sampler for this test run
> 2011/01/14 18:03:16 ERROR - jmeter.engine.ClientJMeterEngine:
> java.rmi.ConnectException: Connection refused to host: 150.145.11.86;

This is clearly going to cause errors later.

Perhaps there is a gateway configuration problem which does not allow
the RMI ports through?

> nested exception is:
>        java.net.ConnectException: Connection refused
>        at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
>        at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
>        at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
>        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
>        at
> org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
> Source)
>        at
> org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:122)
>        at java.lang.Thread.run(Thread.java:636)
> Caused by: java.net.ConnectException: Connection refused
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
>        at
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
>        at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
>        at java.net.Socket.connect(Socket.java:546)
>        at java.net.Socket.connect(Socket.java:495)
>        at java.net.Socket.<init>(Socket.java:392)
>        at java.net.Socket.<init>(Socket.java:206)
>        at
> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
>        at
> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
>        at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
>        ... 6 more
>
> You can see something wrong?
>
>
> ---------------------------------------------------------------------
> 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


Re: jmeter server error

Posted by andrea corallo <a....@impara-ai.com>.
Il giorno ven, 14/01/2011 alle 22.16 +0000, sebb ha scritto:
> Sorry, it's the other way round - it looks like the client is sending
> the wrong reply address to the server.
> 
> What does the client log show for its IP address?
> 
> Check the host file on the client.

The client log say:

2011/01/14 18:03:15 INFO  - jmeter.JMeter: Configuring remote engine for
150.145.11.86 
2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: about to
run remote test on 150.145.11.86 
2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: done
initiating run command 
2011/01/14 18:03:15 INFO  - jmeter.engine.ClientJMeterEngine: running
clientengine run method 
2011/01/14 18:03:16 INFO  - jmeter.engine.ConvertListeners: num threads
= 1 
2011/01/14 18:03:16 INFO  - jmeter.samplers.StandardSampleSender: Using
Standard Remote Sampler for this test run 
2011/01/14 18:03:16 ERROR - jmeter.engine.ClientJMeterEngine:
java.rmi.ConnectException: Connection refused to host: 150.145.11.86;
nested exception is: 
        java.net.ConnectException: Connection refused
        at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
        at
org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
Source)
        at
org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:122)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
        at java.net.Socket.connect(Socket.java:546)
        at java.net.Socket.connect(Socket.java:495)
        at java.net.Socket.<init>(Socket.java:392)
        at java.net.Socket.<init>(Socket.java:206)
        at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
        at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
        ... 6 more

You can see something wrong?


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: jmeter server error

Posted by sebb <se...@gmail.com>.
On 14 January 2011 21:58, andrea corallo <a....@impara-ai.com> wrote:
> 2011/01/14 11:39:41 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP
> address=150.145.11.86
>
> The ip is correct. I really can't understand...

Sorry, it's the other way round - it looks like the client is sending
the wrong reply address to the server.

What does the client log show for its IP address?

Check the host file on the client.

> Il giorno ven, 14/01/2011 alle 17.26 +0000, sebb ha scritto:
>> On 14 January 2011 16:22, andrea corallo <a....@impara-ai.com> wrote:
>> > Actually my /etc/hosts is:
>> >
>> > 150.145.11.86    andrea-System-Product-Name    # Added by NetworkManager
>> >
>> > 127.0.0.1    localhost.localdomain    localhost
>> > ::1    andrea-System-Product-Name    localhost6.localdomain6
>> > localhost6
>> >
>> > #127.0.1.1    andrea-System-Product-Name
>> >
>> > # The following lines are desirable for IPv6 capable hosts
>> > ::1     localhost ip6-localhost ip6-loopback
>> > fe00::0 ip6-localnet
>> > ff00::0 ip6-mcastprefix
>> > ff02::1 ip6-allnodes
>> > ff02::2 ip6-allrouters
>> > ff02::3 ip6-allhosts
>> >
>> > I commented only this line "127.0.1.1    andrea-System-Product-Name" to
>> > make the jmeter server happy. Can you see something wrong?
>>
>> Check the server log file; it should say what it has detected as the
>> local host IP address.
>>
>> i.e.
>>
>> jmeter.engine.RemoteJMeterEngineImpl: IP address=x.x.x.x
>>
>> > Thanks
>> >  Andrea
>> >
>> >
>> > Il giorno ven, 14/01/2011 alle 15.57 +0000, sebb ha scritto:
>> >> On 14 January 2011 10:46, andrea corallo <a....@impara-ai.com> wrote:
>> >> > I every one,
>> >> > I'm new to jmeter and I'm trying to use it in server mode in my Ubuntu
>> >> > but ther's a problem that I'm not able to solve... I hope some one could
>> >> > help me
>> >> >
>> >> > The server start correctly but when the client call the test something
>> >> > wrong happend on the server. I attached the jmeter-server.log with the
>> >> > error.
>> >>
>> >> "This usually means that the host database is not set up correctly.
>> >> Check that the Ubuntu systems know their own IP addresses, and that
>> >> they are not set to the loopback address."
>> >>
>> >> >
>> >> >
>> >> > Thanks for any help and sorry for my english :)
>> >> >
>> >> >   Andrea
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > 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
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> 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


Re: jmeter server error

Posted by andrea corallo <a....@impara-ai.com>.
2011/01/14 11:39:41 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP
address=150.145.11.86 

The ip is correct. I really can't understand...

Il giorno ven, 14/01/2011 alle 17.26 +0000, sebb ha scritto:
> On 14 January 2011 16:22, andrea corallo <a....@impara-ai.com> wrote:
> > Actually my /etc/hosts is:
> >
> > 150.145.11.86    andrea-System-Product-Name    # Added by NetworkManager
> >
> > 127.0.0.1    localhost.localdomain    localhost
> > ::1    andrea-System-Product-Name    localhost6.localdomain6
> > localhost6
> >
> > #127.0.1.1    andrea-System-Product-Name
> >
> > # The following lines are desirable for IPv6 capable hosts
> > ::1     localhost ip6-localhost ip6-loopback
> > fe00::0 ip6-localnet
> > ff00::0 ip6-mcastprefix
> > ff02::1 ip6-allnodes
> > ff02::2 ip6-allrouters
> > ff02::3 ip6-allhosts
> >
> > I commented only this line "127.0.1.1    andrea-System-Product-Name" to
> > make the jmeter server happy. Can you see something wrong?
> 
> Check the server log file; it should say what it has detected as the
> local host IP address.
> 
> i.e.
> 
> jmeter.engine.RemoteJMeterEngineImpl: IP address=x.x.x.x
> 
> > Thanks
> >  Andrea
> >
> >
> > Il giorno ven, 14/01/2011 alle 15.57 +0000, sebb ha scritto:
> >> On 14 January 2011 10:46, andrea corallo <a....@impara-ai.com> wrote:
> >> > I every one,
> >> > I'm new to jmeter and I'm trying to use it in server mode in my Ubuntu
> >> > but ther's a problem that I'm not able to solve... I hope some one could
> >> > help me
> >> >
> >> > The server start correctly but when the client call the test something
> >> > wrong happend on the server. I attached the jmeter-server.log with the
> >> > error.
> >>
> >> "This usually means that the host database is not set up correctly.
> >> Check that the Ubuntu systems know their own IP addresses, and that
> >> they are not set to the loopback address."
> >>
> >> >
> >> >
> >> > Thanks for any help and sorry for my english :)
> >> >
> >> >   Andrea
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > 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
> >
> >
> 
> ---------------------------------------------------------------------
> 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


Re: jmeter server error

Posted by sebb <se...@gmail.com>.
On 14 January 2011 16:22, andrea corallo <a....@impara-ai.com> wrote:
> Actually my /etc/hosts is:
>
> 150.145.11.86    andrea-System-Product-Name    # Added by NetworkManager
>
> 127.0.0.1    localhost.localdomain    localhost
> ::1    andrea-System-Product-Name    localhost6.localdomain6
> localhost6
>
> #127.0.1.1    andrea-System-Product-Name
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
> I commented only this line "127.0.1.1    andrea-System-Product-Name" to
> make the jmeter server happy. Can you see something wrong?

Check the server log file; it should say what it has detected as the
local host IP address.

i.e.

jmeter.engine.RemoteJMeterEngineImpl: IP address=x.x.x.x

> Thanks
>  Andrea
>
>
> Il giorno ven, 14/01/2011 alle 15.57 +0000, sebb ha scritto:
>> On 14 January 2011 10:46, andrea corallo <a....@impara-ai.com> wrote:
>> > I every one,
>> > I'm new to jmeter and I'm trying to use it in server mode in my Ubuntu
>> > but ther's a problem that I'm not able to solve... I hope some one could
>> > help me
>> >
>> > The server start correctly but when the client call the test something
>> > wrong happend on the server. I attached the jmeter-server.log with the
>> > error.
>>
>> "This usually means that the host database is not set up correctly.
>> Check that the Ubuntu systems know their own IP addresses, and that
>> they are not set to the loopback address."
>>
>> >
>> >
>> > Thanks for any help and sorry for my english :)
>> >
>> >   Andrea
>> >
>> >
>> > ---------------------------------------------------------------------
>> > 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: jmeter server error

Posted by andrea corallo <a....@impara-ai.com>.
Actually my /etc/hosts is:

150.145.11.86    andrea-System-Product-Name    # Added by NetworkManager

127.0.0.1    localhost.localdomain    localhost
::1    andrea-System-Product-Name    localhost6.localdomain6
localhost6

#127.0.1.1    andrea-System-Product-Name

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

I commented only this line "127.0.1.1    andrea-System-Product-Name" to
make the jmeter server happy. Can you see something wrong?

Thanks
  Andrea


Il giorno ven, 14/01/2011 alle 15.57 +0000, sebb ha scritto:
> On 14 January 2011 10:46, andrea corallo <a....@impara-ai.com> wrote:
> > I every one,
> > I'm new to jmeter and I'm trying to use it in server mode in my Ubuntu
> > but ther's a problem that I'm not able to solve... I hope some one could
> > help me
> >
> > The server start correctly but when the client call the test something
> > wrong happend on the server. I attached the jmeter-server.log with the
> > error.
> 
> "This usually means that the host database is not set up correctly.
> Check that the Ubuntu systems know their own IP addresses, and that
> they are not set to the loopback address."
> 
> >
> >
> > Thanks for any help and sorry for my english :)
> >
> >   Andrea
> >
> >
> > ---------------------------------------------------------------------
> > 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


Re: jmeter server error

Posted by sebb <se...@gmail.com>.
On 14 January 2011 10:46, andrea corallo <a....@impara-ai.com> wrote:
> I every one,
> I'm new to jmeter and I'm trying to use it in server mode in my Ubuntu
> but ther's a problem that I'm not able to solve... I hope some one could
> help me
>
> The server start correctly but when the client call the test something
> wrong happend on the server. I attached the jmeter-server.log with the
> error.

"This usually means that the host database is not set up correctly.
Check that the Ubuntu systems know their own IP addresses, and that
they are not set to the loopback address."

>
>
> Thanks for any help and sorry for my english :)
>
>   Andrea
>
>
> ---------------------------------------------------------------------
> 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