You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Stefano Prosperi <s....@cineca.it> on 2006/05/10 14:30:38 UTC

distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Dear all,

I'm having problems trying to do a remote test.

There's no firewall neither on Server Machine (the one on which 
I've  started jmeter-server and rmiregistry), neither on my pc where jmeter 
GUI is running. (By the moment I'm trying with a single "Slave")

I can't remote start the server and I get this messages in the client log:

jmeter.log on client:

2006/05/09 19:09:18 INFO  - jmeter.util.JMeterUtils: Setting Locale to it_IT
2006/05/09 19:09:19 INFO  - jmeter.JMeter: Version 2.1.1
2006/05/09 19:09:19 INFO  - jmeter.JMeter: java.version=1.4.2_10
2006/05/09 19:09:19 INFO  - jmeter.JMeter: Locale=italiano (Italia)
2006/05/09 19:09:19 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The 
Apache Software Foundation
2006/05/09 19:09:19 INFO  - jmeter.JMeter: Loaded icon properties from 
org/apache/jmeter/images/icon.properties
2006/05/09 19:09:24 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log 
sampler bean info
2006/05/09 19:09:24 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: 
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
2006/05/09 19:09:24 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access 
log samper bean info init
2006/05/09 19:09:24 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could 
not create org.apache.jmeter.visualizers.MailerVisualizer. 
java.lang.NoClassDefFoundError: javax/mail/MessagingException
2006/05/09 19:09:24 INFO  - jmeter.samplers.SampleResult: Note: Sample 
TimeStamps are END times
2006/05/09 19:09:24 INFO  - jmeter.samplers.SampleResult: 
sampleresult.default.encoding is set to ISO-8859-1
2006/05/09 19:09:37 INFO  - jmeter.gui.action.Load: Loading file: 
C:\Documents and Settings\sprosper.NB-PROSPERIS\Documenti\programmi 
utili\jakarta-jmeter-2.1.1\bin\Test Plan 1.jmx
2006/05/09 19:09:38 INFO  - jmeter.protocol.http.sampler.HTTPSampler2: 
httpsampler2.basicauth=false
2006/05/09 19:09:38 INFO  - jmeter.save.SaveService: Using SaveService 
properties file 1.7
2006/05/09 19:09:38 WARN  - jmeter.save.SaveService: Could not set up alias 
WebServiceSampler java.lang.NoClassDefFoundError: javax/mail/MessagingException
2006/05/09 19:09:38 INFO  - jmeter.save.SaveService: All converter versions 
present and correct
2006/05/09 19:09:43 INFO  - jmeter.engine.ClientJMeterEngine: about to run 
remote test
2006/05/09 19:09:43 INFO  - jmeter.engine.ClientJMeterEngine: done 
initiating run command
2006/05/09 19:09:43 INFO  - jmeter.engine.ClientJMeterEngine: running 
clientengine run method
2006/05/09 19:09:43 INFO  - jmeter.engine.ConvertListeners: num threads = 1
2006/05/09 19:09:43 INFO  - jmeter.engine.ConvertListeners: num threads = 1
2006/05/09 19:09:43 INFO  - jmeter.samplers.StandardSampleSender: Using 
Standard Remote Sampler for this test run
2006/05/09 19:09:43 INFO  - jmeter.samplers.StandardSampleSender: Using 
Standard Remote Sampler for this test run
2006/05/09 19:09:43 INFO  - jmeter.engine.ClientJMeterEngine: sent host 
=xxx.xxx.6.236
2006/05/09 19:09:43 ERROR - 
jmeter.engine.ClientJMeterEngine:  java.rmi.MarshalException: error 
marshalling arguments; nested exception is:
	java.net.SocketException: Connection reset by peer: socket write error
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
	at org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown 
Source)
	at 
org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:125)
	at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.SocketException: Connection reset by peer: socket write 
error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
	at java.io.BufferedOutputStream.write(BufferedOutputStream.java:106)
	at 
java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1639)
	at 
java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(ObjectOutputStream.java:1677)
	at 
java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1354)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:281)
	at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:265)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:124)
	... 3 more

on the server I have:

2006/05/09 17:09:37 INFO  - jmeter.util.JMeterUtils: Setting Locale to it_IT
2006/05/09 17:09:38 INFO  - jmeter.JMeter: Version 2.1.1
2006/05/09 17:09:38 INFO  - jmeter.JMeter: java.version=1.5.0_06
2006/05/09 17:09:38 INFO  - jmeter.JMeter: Locale=italiano (Italia)
2006/05/09 17:09:38 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The 
Apache Software Foundation
2006/05/09 17:09:38 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting 
backing engine on 1099
2006/05/09 17:09:38 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound to 
registry on port 1099
2006/05/09 17:11:06 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Reset
2006/05/09 17:11:06 INFO  - jmeter.engine.RemoteJMeterEngineImpl: received 
host: xxx.xxx.6.236

I'm not expert in java, could you help me trying to understand which is the 
problem in this case?

I hope someone can get this message in a ... mailing list :).

Ciao


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


Re: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by sebb <se...@gmail.com>.
On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> Ok thank you,
>
> just to speed me up can you tell me rapidly how do I start local test
> without GUI, and where I find file results to merge.

http://jakarta.apache.org/jmeter/usermanual/get-started.html

The results will be in the JTL file you specify.

> Or just give me if you can a reference, did I found it on user manual that
> come with jmeter? or is there another site where I found HOWTO or something
> like this?

Manual:
http://jakarta.apache.org/jmeter/usermanual/index.html

JMeter Wiki:
http://wiki.apache.org/jakarta-jmeter/


> Thank you anyway for your attention, I hope we could solve the "root problem".
>
> Ciao.
>
>
> At 15.37 11/05/2006, you wrote:
> >I'll try and look at this further later.
> >
> >In the meantime, you could run jmeter locally and combine the results.
> >
> >S.
> >On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> >>remote_hosts=XXX.XXX.6.236, XXX.XXX.7.67
> >>
> >>server_port is commented ,so I think it defaults on 1099
> >>
> >>On the first host (java 1.5, jmeter 2.1.1, Debian Linux 2.6.16-1-686) I get
> >>the first error
> >>
> >>...
> >>2006/05/11 10:15:41 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)
> >>...
> >>
> >>On the second host (java 1.4, jmeter 2.1.1,Gentoo Linux 2.6.14)  I get the
> >>error we are talking now
> >>
> >>...
> >>2006/05/11 15:17:03 ERROR -
> >>jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
> >>refused to host: 127.0.0.1; nested exception is:
> >>         java.net.ConnectException: Connection refused: connect
> >>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
> >>...
> >>
> >>and I get nothing in bin/jmeter.log
> >>
> >>In the two cases I start GUI (2.1.1) from my machine, with exactly the same
> >>java version. On my machine I have windows XP ...
> >>
> >>
> >>
> >>At 15.05 11/05/2006, you wrote:
> >> >On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> >> >>Ok this is the second case on the second machine.
> >> >>
> >> >>What do you mean by "is the server really on 127.0.0.1?"
> >> >
> >> >It appears the the JMeter client (i.e. the GUI) is trying to connect
> >> >to the server on 127.0.0.1. That is only sensible if the client and
> >> >server are on the same machine.
> >> >
> >> >>Do you mean a particular process listening? On which machine? Which
> >> process?
> >> >>
> >> >>The server is on a remote machine that I try to contact by GUI Menu
> >> >>
> >> >>Run -> Remote Start ->  XXX.XXX.7.67
> >> >>
> >> >>I obtain bad call to Remote Host and the log that I'have sent you with:
> >> >>
> >> >>....
> >> >>2006/05/11 14:21:25 ERROR -
> >> >>jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
> >> >>refused to host: 127.0.0.1; nested exception is: ....
> >> >>
> >> >>Which process is trying to connect to 127.0.0.1, and which process should
> >> >>be listening?
> >> >
> >> >See above.
> >> >
> >> >What are the settings for the following in jmeter.properties on the
> >> >client and the server?
> >> >
> >> >remote_hosts
> >> >server_port
> >> >
> >> >S>
> >> >
> >> >---------------------------------------------------------------------
> >> >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: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by Stefano Prosperi <s....@cineca.it>.
Ok thank you,

just to speed me up can you tell me rapidly how do I start local test 
without GUI, and where I find file results to merge.

Or just give me if you can a reference, did I found it on user manual that 
come with jmeter? or is there another site where I found HOWTO or something 
like this?

Thank you anyway for your attention, I hope we could solve the "root problem".

Ciao.


At 15.37 11/05/2006, you wrote:
>I'll try and look at this further later.
>
>In the meantime, you could run jmeter locally and combine the results.
>
>S.
>On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
>>remote_hosts=XXX.XXX.6.236, XXX.XXX.7.67
>>
>>server_port is commented ,so I think it defaults on 1099
>>
>>On the first host (java 1.5, jmeter 2.1.1, Debian Linux 2.6.16-1-686) I get
>>the first error
>>
>>...
>>2006/05/11 10:15:41 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)
>>...
>>
>>On the second host (java 1.4, jmeter 2.1.1,Gentoo Linux 2.6.14)  I get the
>>error we are talking now
>>
>>...
>>2006/05/11 15:17:03 ERROR -
>>jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
>>refused to host: 127.0.0.1; nested exception is:
>>         java.net.ConnectException: Connection refused: connect
>>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>>...
>>
>>and I get nothing in bin/jmeter.log
>>
>>In the two cases I start GUI (2.1.1) from my machine, with exactly the same
>>java version. On my machine I have windows XP ...
>>
>>
>>
>>At 15.05 11/05/2006, you wrote:
>> >On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
>> >>Ok this is the second case on the second machine.
>> >>
>> >>What do you mean by "is the server really on 127.0.0.1?"
>> >
>> >It appears the the JMeter client (i.e. the GUI) is trying to connect
>> >to the server on 127.0.0.1. That is only sensible if the client and
>> >server are on the same machine.
>> >
>> >>Do you mean a particular process listening? On which machine? Which 
>> process?
>> >>
>> >>The server is on a remote machine that I try to contact by GUI Menu
>> >>
>> >>Run -> Remote Start ->  XXX.XXX.7.67
>> >>
>> >>I obtain bad call to Remote Host and the log that I'have sent you with:
>> >>
>> >>....
>> >>2006/05/11 14:21:25 ERROR -
>> >>jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
>> >>refused to host: 127.0.0.1; nested exception is: ....
>> >>
>> >>Which process is trying to connect to 127.0.0.1, and which process should
>> >>be listening?
>> >
>> >See above.
>> >
>> >What are the settings for the following in jmeter.properties on the
>> >client and the server?
>> >
>> >remote_hosts
>> >server_port
>> >
>> >S>
>> >
>> >---------------------------------------------------------------------
>> >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: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by sebb <se...@gmail.com>.
I'll try and look at this further later.

In the meantime, you could run jmeter locally and combine the results.

S.
On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> remote_hosts=XXX.XXX.6.236, XXX.XXX.7.67
>
> server_port is commented ,so I think it defaults on 1099
>
> On the first host (java 1.5, jmeter 2.1.1, Debian Linux 2.6.16-1-686) I get
> the first error
>
> ...
> 2006/05/11 10:15:41 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)
> ...
>
> On the second host (java 1.4, jmeter 2.1.1,Gentoo Linux 2.6.14)  I get the
> error we are talking now
>
> ...
> 2006/05/11 15:17:03 ERROR -
> jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
> refused to host: 127.0.0.1; nested exception is:
>         java.net.ConnectException: Connection refused: connect
>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
> ...
>
> and I get nothing in bin/jmeter.log
>
> In the two cases I start GUI (2.1.1) from my machine, with exactly the same
> java version. On my machine I have windows XP ...
>
>
>
> At 15.05 11/05/2006, you wrote:
> >On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> >>Ok this is the second case on the second machine.
> >>
> >>What do you mean by "is the server really on 127.0.0.1?"
> >
> >It appears the the JMeter client (i.e. the GUI) is trying to connect
> >to the server on 127.0.0.1. That is only sensible if the client and
> >server are on the same machine.
> >
> >>Do you mean a particular process listening? On which machine? Which process?
> >>
> >>The server is on a remote machine that I try to contact by GUI Menu
> >>
> >>Run -> Remote Start ->  XXX.XXX.7.67
> >>
> >>I obtain bad call to Remote Host and the log that I'have sent you with:
> >>
> >>....
> >>2006/05/11 14:21:25 ERROR -
> >>jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
> >>refused to host: 127.0.0.1; nested exception is: ....
> >>
> >>Which process is trying to connect to 127.0.0.1, and which process should
> >>be listening?
> >
> >See above.
> >
> >What are the settings for the following in jmeter.properties on the
> >client and the server?
> >
> >remote_hosts
> >server_port
> >
> >S>
> >
> >---------------------------------------------------------------------
> >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: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by Stefano Prosperi <s....@cineca.it>.
remote_hosts=XXX.XXX.6.236, XXX.XXX.7.67

server_port is commented ,so I think it defaults on 1099

On the first host (java 1.5, jmeter 2.1.1, Debian Linux 2.6.16-1-686) I get 
the first error

...
2006/05/11 10:15:41 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)
...

On the second host (java 1.4, jmeter 2.1.1,Gentoo Linux 2.6.14)  I get the 
error we are talking now

...
2006/05/11 15:17:03 ERROR - 
jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection 
refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
...

and I get nothing in bin/jmeter.log

In the two cases I start GUI (2.1.1) from my machine, with exactly the same 
java version. On my machine I have windows XP ...



At 15.05 11/05/2006, you wrote:
>On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
>>Ok this is the second case on the second machine.
>>
>>What do you mean by "is the server really on 127.0.0.1?"
>
>It appears the the JMeter client (i.e. the GUI) is trying to connect
>to the server on 127.0.0.1. That is only sensible if the client and
>server are on the same machine.
>
>>Do you mean a particular process listening? On which machine? Which process?
>>
>>The server is on a remote machine that I try to contact by GUI Menu
>>
>>Run -> Remote Start ->  XXX.XXX.7.67
>>
>>I obtain bad call to Remote Host and the log that I'have sent you with:
>>
>>....
>>2006/05/11 14:21:25 ERROR -
>>jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
>>refused to host: 127.0.0.1; nested exception is: ....
>>
>>Which process is trying to connect to 127.0.0.1, and which process should
>>be listening?
>
>See above.
>
>What are the settings for the following in jmeter.properties on the
>client and the server?
>
>remote_hosts
>server_port
>
>S>
>
>---------------------------------------------------------------------
>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: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by sebb <se...@gmail.com>.
On 11/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> Ok this is the second case on the second machine.
>
> What do you mean by "is the server really on 127.0.0.1?"

It appears the the JMeter client (i.e. the GUI) is trying to connect
to the server on 127.0.0.1. That is only sensible if the client and
server are on the same machine.

> Do you mean a particular process listening? On which machine? Which process?
>
> The server is on a remote machine that I try to contact by GUI Menu
>
> Run -> Remote Start ->  XXX.XXX.7.67
>
> I obtain bad call to Remote Host and the log that I'have sent you with:
>
> ....
> 2006/05/11 14:21:25 ERROR -
> jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
> refused to host: 127.0.0.1; nested exception is: ....
>
> Which process is trying to connect to 127.0.0.1, and which process should
> be listening?

See above.

What are the settings for the following in jmeter.properties on the
client and the server?

remote_hosts
server_port

S>

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


Re: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by Stefano Prosperi <s....@cineca.it>.
Ok this is the second case on the second machine.

What do you mean by "is the server really on 127.0.0.1?"

Do you mean a particular process listening? On which machine? Which process?

The server is on a remote machine that I try to contact by GUI Menu

Run -> Remote Start ->  XXX.XXX.7.67

I obtain bad call to Remote Host and the log that I'have sent you with:

....
2006/05/11 14:21:25 ERROR - 
jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection 
refused to host: 127.0.0.1; nested exception is: ....

Which process is trying to connect to 127.0.0.1, and which process should 
be listening?

Can you tell me anithing else about the first case?

Excuse me for all these questions, but I want to be sure to understand tou.

Thank you.


At 13.54 11/05/2006, you wrote:
>Is the server really on 127.0.0.1 ?
>
>2006/05/11 10:43:09 ERROR -
>jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
>refused to host: 127.0.0.1; nested exception is:
>
>S.
>
>---------------------------------------------------------------------
>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: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by sebb <se...@gmail.com>.
Is the server really on 127.0.0.1 ?

2006/05/11 10:43:09 ERROR -
jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection
refused to host: 127.0.0.1; nested exception is:

S.

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


Re: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by Stefano Prosperi <s....@cineca.it>.
I get the same result, sigh! :(

Below you can see the log.

2006/05/11 10:15:24 INFO  - jmeter.util.JMeterUtils: Setting Locale to it_IT
2006/05/11 10:15:24 INFO  - jmeter.JMeter: Version 2.1.1
2006/05/11 10:15:24 INFO  - jmeter.JMeter: java.version=1.5.0_06
2006/05/11 10:15:24 INFO  - jmeter.JMeter: Locale=italiano (Italia)
2006/05/11 10:15:24 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The 
Apache Software Foundation
2006/05/11 10:15:24 INFO  - jmeter.JMeter: Loaded icon properties from 
org/apache/jmeter/images/icon.properties
2006/05/11 10:15:26 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log 
sampler bean info
2006/05/11 10:15:26 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: 
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
2006/05/11 10:15:26 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access 
log samper bean info init
2006/05/11 10:15:27 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could 
not create org.apache.jmeter.visualizers.MailerVisualizer. 
java.lang.NoClassDefFoundError: javax/mail/MessagingException
2006/05/11 10:15:27 INFO  - jmeter.samplers.SampleResult: Note: Sample 
TimeStamps are END times
2006/05/11 10:15:27 INFO  - jmeter.samplers.SampleResult: 
sampleresult.default.encoding is set to ISO-8859-1
2006/05/11 10:15:37 INFO  - jmeter.gui.action.Load: Loading file: 
C:\Programmi\jakarta-jmeter-2.1.1\bin\Test Plan 1.jmx
2006/05/11 10:15:37 INFO  - jmeter.protocol.http.sampler.HTTPSampler2: 
httpsampler2.basicauth=false
2006/05/11 10:15:37 INFO  - jmeter.save.SaveService: Using SaveService 
properties file 1.7
2006/05/11 10:15:37 WARN  - jmeter.save.SaveService: Could not set up alias 
WebServiceSampler java.lang.NoClassDefFoundError: 
javax/mail/MessagingException
2006/05/11 10:15:37 INFO  - jmeter.save.SaveService: All converter versions 
present and correct
2006/05/11 10:15:41 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:375)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
         at sun.rmi.transport.Transport$1.run(Transport.java:153)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
         at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:595)
         at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at java.rmi.Naming.lookup(Unknown Source)
         at 
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:52)
         at 
org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:56)
         at 
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:165)
         at 
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:72)
         at 
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:76)
         at 
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
         at 
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown 
Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

I've tried also with another server machine (with java 1.4.2 installed), 
but I can't see any log on the server, and I get this error on the client:


2006/05/11 10:35:58 INFO  - jmeter.util.JMeterUtils: Setting Locale to it_IT
2006/05/11 10:35:59 INFO  - jmeter.JMeter: Version 2.1.1
2006/05/11 10:35:59 INFO  - jmeter.JMeter: java.version=1.4.2_10
2006/05/11 10:35:59 INFO  - jmeter.JMeter: Locale=italiano (Italia)
2006/05/11 10:35:59 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The 
Apache Software Foundation
2006/05/11 10:35:59 INFO  - jmeter.JMeter: Loaded icon properties from 
org/apache/jmeter/images/icon.properties
2006/05/11 10:36:07 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log 
sampler bean info
2006/05/11 10:36:07 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: 
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
2006/05/11 10:36:07 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access 
log samper bean info init
2006/05/11 10:36:07 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could 
not create org.apache.jmeter.visualizers.MailerVisualizer. 
java.lang.NoClassDefFoundError: javax/mail/MessagingException
2006/05/11 10:36:07 INFO  - jmeter.samplers.SampleResult: Note: Sample 
TimeStamps are END times
2006/05/11 10:36:07 INFO  - jmeter.samplers.SampleResult: 
sampleresult.default.encoding is set to ISO-8859-1
2006/05/11 10:41:01 INFO  - jmeter.gui.action.Load: Loading file: 
C:\Programmi\jakarta-jmeter-2.1.1\bin\Test Plan 1.jmx
2006/05/11 10:41:01 INFO  - jmeter.protocol.http.sampler.HTTPSampler2: 
httpsampler2.basicauth=false
2006/05/11 10:41:01 INFO  - jmeter.save.SaveService: Using SaveService 
properties file 1.7
2006/05/11 10:41:01 WARN  - jmeter.save.SaveService: Could not set up alias 
WebServiceSampler java.lang.NoClassDefFoundError: 
javax/mail/MessagingException
2006/05/11 10:41:01 INFO  - jmeter.save.SaveService: All converter versions 
present and correct
2006/05/11 10:43:09 ERROR - 
jmeter.engine.ClientJMeterEngine:  java.rmi.ConnectException: Connection 
refused to host: 127.0.0.1; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
         at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
         at 
org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.reset(Unknown Source)
         at 
org.apache.jmeter.engine.ClientJMeterEngine.reset(ClientJMeterEngine.java:96)
         at 
org.apache.jmeter.gui.action.RemoteStart.doRemoteStart(RemoteStart.java:153)
         at 
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:73)
         at 
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:76)
         at 
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
         at 
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)
Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:124)
         at 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
         ... 17 more

Have yuo any more suggestion for me?

Thank you.


At 19.57 10/05/2006, you wrote:
>You are using different versions of Java on the two systems - it's
>possible that this is causing problems.
>
>Try using 1.5 on both or 1.4.2 on both.


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


Re: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by sebb <se...@gmail.com>.
You are using different versions of Java on the two systems - it's
possible that this is causing problems.

Try using 1.5 on both or 1.4.2 on both.

S.
On 10/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> I've started it with the jmeter-server script, but to be sure I have also
> tried starting it manually:
>
>
>  >export JMETER_HOME=/home/sprosper/jakarta-jmeter-2.1.1
>  >export
> CLASSPATH=$JMETER_HOME/lib/ext/ApacheJMeter_core.jar:$JMETER_HOME/lib/jorphan.jar:$JMETER_HOME/lib/logkit-1.2.jar
>  >export PATH=$PATH:/opt/jdk1.5.0_06/bin
>  >rmiregistry &
>  >/home/sprosper/jakarta-jmeter-2.1.1/bin/jmeter -s &
>
> I obtain exactly the same result I've told you before ...
>
>
>
> At 19.11 10/05/2006, you wrote:
> >Did you start rmiregistry with the correct path? It needs to know
> >about the JMeter jars.
> >
> >S
>
>
> ---------------------------------------------------------------------
> 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: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by Stefano Prosperi <s....@cineca.it>.
I've started it with the jmeter-server script, but to be sure I have also 
tried starting it manually:


 >export JMETER_HOME=/home/sprosper/jakarta-jmeter-2.1.1
 >export 
CLASSPATH=$JMETER_HOME/lib/ext/ApacheJMeter_core.jar:$JMETER_HOME/lib/jorphan.jar:$JMETER_HOME/lib/logkit-1.2.jar
 >export PATH=$PATH:/opt/jdk1.5.0_06/bin
 >rmiregistry &
 >/home/sprosper/jakarta-jmeter-2.1.1/bin/jmeter -s &

I obtain exactly the same result I've told you before ...



At 19.11 10/05/2006, you wrote:
>Did you start rmiregistry with the correct path? It needs to know
>about the JMeter jars.
>
>S


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


Re: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by sebb <se...@gmail.com>.
Did you start rmiregistry with the correct path? It needs to know
about the JMeter jars.

S

On 10/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> Thank you very much for your response.
>
> I've done a step behind, but now I have another kind of problem.
>
> I give you the two logs:
>
> on server jmeter.log:
>
> 2006/05/09 17:09:37 INFO  - jmeter.util.JMeterUtils: Setting Locale to it_IT
> 2006/05/09 17:09:38 INFO  - jmeter.JMeter: Version 2.1.1
> 2006/05/09 17:09:38 INFO  - jmeter.JMeter: java.version=1.5.0_06
> 2006/05/09 17:09:38 INFO  - jmeter.JMeter: Locale=italiano (Italia)
> 2006/05/09 17:09:38 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The
> Apache Software Foundation
> 2006/05/09 17:09:38 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting
> backing engine on 1099
> 2006/05/09 17:09:38 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound to
> registry on port 1099
> 2006/05/09 17:11:06 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Reset
> 2006/05/09 17:11:06 INFO  - jmeter.engine.RemoteJMeterEngineImpl: received
> host: xxx.xxx.6.236
>
> on client jmeter.log:
>
> 2006/05/10 17:49:36 INFO  - jmeter.util.JMeterUtils: Setting Locale to it_IT
> 2006/05/10 17:49:37 INFO  - jmeter.JMeter: Version 2.1.1
> 2006/05/10 17:49:37 INFO  - jmeter.JMeter: java.version=1.4.2_10
> 2006/05/10 17:49:37 INFO  - jmeter.JMeter: Locale=italiano (Italia)
> 2006/05/10 17:49:37 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The
> Apache Software Foundation
> 2006/05/10 17:49:37 INFO  - jmeter.JMeter: Loaded icon properties from
> org/apache/jmeter/images/icon.properties
> 2006/05/10 17:49:43 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log
> sampler bean info
> 2006/05/10 17:49:43 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
> [org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser,
> org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser,
> org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
> 2006/05/10 17:49:43 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access
> log samper bean info init
> 2006/05/10 17:49:43 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could
> not create org.apache.jmeter.visualizers.MailerVisualizer.
> java.lang.NoClassDefFoundError: javax/mail/MessagingException
> 2006/05/10 17:49:43 INFO  - jmeter.samplers.SampleResult: Note: Sample
> TimeStamps are END times
> 2006/05/10 17:49:43 INFO  - jmeter.samplers.SampleResult:
> sampleresult.default.encoding is set to ISO-8859-1
> 2006/05/10 17:49:51 INFO  - jmeter.gui.action.Load: Loading file:
> C:\Programmi\jakarta-jmeter-2.1.1\bin\Test Plan 1.jmx
> 2006/05/10 17:49:51 INFO  - jmeter.protocol.http.sampler.HTTPSampler2:
> httpsampler2.basicauth=false
> 2006/05/10 17:49:51 INFO  - jmeter.save.SaveService: Using SaveService
> properties file 1.7
> 2006/05/10 17:49:51 WARN  - jmeter.save.SaveService: Could not set up alias
> WebServiceSampler java.lang.NoClassDefFoundError:
> javax/mail/MessagingException
> 2006/05/10 17:49:51 INFO  - jmeter.save.SaveService: All converter versions
> present and correct
> 2006/05/10 17:50:27 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:375)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>         at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>         at java.lang.Thread.run(Thread.java:595)
>         at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.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.getEngine(ClientJMeterEngine.java:52)
>         at
> org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:56)
>         at
> org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:165)
>         at
> org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:72)
>         at
> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:76)
>         at
> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
>         at
> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
>         at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)
>
>
> I've found this for rmi
>
> java.rmi.NotBoundException: Attempt to look up a name that is not bound.
>
> on server these are significant processes active:
>
> root      6355  6351  0 16:26 pts/7    00:00:00 rmiregistry
>
> root     13870 28249  0 16:41 pts/7    00:00:00 /bin/sh bin/jmeter-server
> root     13876 13870  0 16:41 pts/7    00:00:00 /bin/sh bin/jmeter -s
> CLASSPATH=
> root     13879 13876 20 16:41 pts/7    00:00:01 java -server -jar
> bin/ApacheJMeter.jar -s CLASSPATH=
>
>
> before trying to remote start the status of connection on the server are
> the sequent (netstat -atnp)
>
> tcp6       0      0
> :::47143                :::*                    LISTEN     13879/java
> tcp6       0      0
> :::1099                 :::*                    LISTEN     13874/rmiregistry
> tcp6       0      1 ::ffff:xxx.xxx.6.:56614
> ::ffff:128.0.1.1:1099   SYN_SENT   13879/java
>
> while trying to remote start:
>
> tcp6       0      0
> :::47143                :::*                    LISTEN     13879/java
> tcp6       0      0
> :::1099                 :::*                    LISTEN     13874/rmiregistry
> tcp6       0      1 ::ffff:xxx.xxx.6.:56614
> ::ffff:128.0.1.1:1099   SYN_SENT   13879/java
> tcp6       0      0 ::ffff:xxx.xxx.6.2:1099 ::ffff:xxx.xxx.7.1:2094
> ESTABLISHED13874/rmiregistry
>
>
> in any case, after 3 or 4 minutes after I have start the jmeter  on server,
> it terminate by itself, nothing else is written on the log.
>
>
> I hope I've given you all the informations to let you help me, thank you.
>
> Ciao
>
>
> At 14.53 10/05/2006, you wrote:
> >On 10/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> >>Dear all,
> >>
> >>I'm having problems trying to do a remote test.
> >>
> >>There's no firewall neither on Server Machine (the one on which
> >>I've  started jmeter-server and rmiregistry), neither on my pc where jmeter
> >>GUI is running. (By the moment I'm trying with a single "Slave")
> >>
> >>I can't remote start the server and I get this messages in the client log:
> >
> >JMeter must be installed in a directory without any spaces in the
> >name, or client-server mode does not work.
> >
> >---------------------------------------------------------------------
> >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: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by Stefano Prosperi <s....@cineca.it>.
Thank you very much for your response.

I've done a step behind, but now I have another kind of problem.

I give you the two logs:

on server jmeter.log:

2006/05/09 17:09:37 INFO  - jmeter.util.JMeterUtils: Setting Locale to it_IT
2006/05/09 17:09:38 INFO  - jmeter.JMeter: Version 2.1.1
2006/05/09 17:09:38 INFO  - jmeter.JMeter: java.version=1.5.0_06
2006/05/09 17:09:38 INFO  - jmeter.JMeter: Locale=italiano (Italia)
2006/05/09 17:09:38 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The 
Apache Software Foundation
2006/05/09 17:09:38 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting 
backing engine on 1099
2006/05/09 17:09:38 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Bound to 
registry on port 1099
2006/05/09 17:11:06 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Reset
2006/05/09 17:11:06 INFO  - jmeter.engine.RemoteJMeterEngineImpl: received 
host: xxx.xxx.6.236

on client jmeter.log:

2006/05/10 17:49:36 INFO  - jmeter.util.JMeterUtils: Setting Locale to it_IT
2006/05/10 17:49:37 INFO  - jmeter.JMeter: Version 2.1.1
2006/05/10 17:49:37 INFO  - jmeter.JMeter: java.version=1.4.2_10
2006/05/10 17:49:37 INFO  - jmeter.JMeter: Locale=italiano (Italia)
2006/05/10 17:49:37 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The 
Apache Software Foundation
2006/05/10 17:49:37 INFO  - jmeter.JMeter: Loaded icon properties from 
org/apache/jmeter/images/icon.properties
2006/05/10 17:49:43 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log 
sampler bean info
2006/05/10 17:49:43 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: 
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
2006/05/10 17:49:43 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access 
log samper bean info init
2006/05/10 17:49:43 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could 
not create org.apache.jmeter.visualizers.MailerVisualizer. 
java.lang.NoClassDefFoundError: javax/mail/MessagingException
2006/05/10 17:49:43 INFO  - jmeter.samplers.SampleResult: Note: Sample 
TimeStamps are END times
2006/05/10 17:49:43 INFO  - jmeter.samplers.SampleResult: 
sampleresult.default.encoding is set to ISO-8859-1
2006/05/10 17:49:51 INFO  - jmeter.gui.action.Load: Loading file: 
C:\Programmi\jakarta-jmeter-2.1.1\bin\Test Plan 1.jmx
2006/05/10 17:49:51 INFO  - jmeter.protocol.http.sampler.HTTPSampler2: 
httpsampler2.basicauth=false
2006/05/10 17:49:51 INFO  - jmeter.save.SaveService: Using SaveService 
properties file 1.7
2006/05/10 17:49:51 WARN  - jmeter.save.SaveService: Could not set up alias 
WebServiceSampler java.lang.NoClassDefFoundError: 
javax/mail/MessagingException
2006/05/10 17:49:51 INFO  - jmeter.save.SaveService: All converter versions 
present and correct
2006/05/10 17:50:27 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:375)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
         at sun.rmi.transport.Transport$1.run(Transport.java:153)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
         at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:595)
         at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.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.getEngine(ClientJMeterEngine.java:52)
         at 
org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:56)
         at 
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:165)
         at 
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:72)
         at 
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:76)
         at 
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
         at 
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)


I've found this for rmi

java.rmi.NotBoundException: Attempt to look up a name that is not bound.

on server these are significant processes active:

root      6355  6351  0 16:26 pts/7    00:00:00 rmiregistry

root     13870 28249  0 16:41 pts/7    00:00:00 /bin/sh bin/jmeter-server
root     13876 13870  0 16:41 pts/7    00:00:00 /bin/sh bin/jmeter -s 
CLASSPATH=
root     13879 13876 20 16:41 pts/7    00:00:01 java -server -jar 
bin/ApacheJMeter.jar -s CLASSPATH=


before trying to remote start the status of connection on the server are 
the sequent (netstat -atnp)

tcp6       0      0 
:::47143                :::*                    LISTEN     13879/java
tcp6       0      0 
:::1099                 :::*                    LISTEN     13874/rmiregistry
tcp6       0      1 ::ffff:xxx.xxx.6.:56614 
::ffff:128.0.1.1:1099   SYN_SENT   13879/java

while trying to remote start:

tcp6       0      0 
:::47143                :::*                    LISTEN     13879/java
tcp6       0      0 
:::1099                 :::*                    LISTEN     13874/rmiregistry
tcp6       0      1 ::ffff:xxx.xxx.6.:56614 
::ffff:128.0.1.1:1099   SYN_SENT   13879/java
tcp6       0      0 ::ffff:xxx.xxx.6.2:1099 ::ffff:xxx.xxx.7.1:2094 
ESTABLISHED13874/rmiregistry


in any case, after 3 or 4 minutes after I have start the jmeter  on server, 
it terminate by itself, nothing else is written on the log.


I hope I've given you all the informations to let you help me, thank you.

Ciao


At 14.53 10/05/2006, you wrote:
>On 10/05/06, Stefano Prosperi <s....@cineca.it> wrote:
>>Dear all,
>>
>>I'm having problems trying to do a remote test.
>>
>>There's no firewall neither on Server Machine (the one on which
>>I've  started jmeter-server and rmiregistry), neither on my pc where jmeter
>>GUI is running. (By the moment I'm trying with a single "Slave")
>>
>>I can't remote start the server and I get this messages in the client log:
>
>JMeter must be installed in a directory without any spaces in the
>name, or client-server mode does not work.
>
>---------------------------------------------------------------------
>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: distribute testing problems ( ERROR - jmeter.engine.ClientJMeterEngine: java.rmi.MarshalException)

Posted by sebb <se...@gmail.com>.
On 10/05/06, Stefano Prosperi <s....@cineca.it> wrote:
> Dear all,
>
> I'm having problems trying to do a remote test.
>
> There's no firewall neither on Server Machine (the one on which
> I've  started jmeter-server and rmiregistry), neither on my pc where jmeter
> GUI is running. (By the moment I'm trying with a single "Slave")
>
> I can't remote start the server and I get this messages in the client log:
>

JMeter must be installed in a directory without any spaces in the
name, or client-server mode does not work.

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