You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Matt Wlazlo <mw...@gmail.com> on 2006/10/03 02:30:39 UTC
distributed testing woes
Hi,
I'm tearing my hair out trying to get distributed testing working.
I have a simple configuration:
Console: matt.domain
remote_hosts=java.domain
Slave: java.domain
(default configuration)
I run the server like this (after rmiregistry 1099&):
./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s
But I always get the following error on the server:
2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
Test Started on java.domain:1099
2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
testStarted(host) java.rmi.ConnectException: Connection refused to
host: 127.0.1.1; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
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:94)
at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted(Unknown
Source)
at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListenerWrapper.java:74)
>From what I can tell, the console should open a connection to the
server via RMI. This seems to be working. I'm stumped as to why the
server would try to open a connection anywhere other than the web
server.
I've combed the web in search of an answer but to no avail. I'm a
newbie to all this RMI stuff, could someone with a clue please shed
some light?
Cheers,
Matt.
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
G-- e* h-- r+ y+++++
------END GEEK CODE BLOCK------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: distributed testing woes
Posted by Matt Wlazlo <mw...@gmail.com>.
Yeah, that's the example configuration I used...
matt
On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> did you read the tutorial?
>
> http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
>
> peter
>
>
> On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> >
> > Hi,
> >
> > I'm tearing my hair out trying to get distributed testing working.
> >
> > I have a simple configuration:
> >
> > Console: matt.domain
> > remote_hosts=java.domain
> >
> > Slave: java.domain
> > (default configuration)
> >
> > I run the server like this (after rmiregistry 1099&):
> > ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s
> >
> > But I always get the following error on the server:
> >
> > 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
> > Test Started on java.domain:1099
> > 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
> > testStarted(host) java.rmi.ConnectException: Connection refused to
> > host: 127.0.1.1; nested exception is:
> > java.net.ConnectException: Connection refused
> > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java
> > :574)
> > 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:94)
> > at
> > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > (Unknown
> > Source)
> > at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > RemoteListenerWrapper.java:74)
> >
> >
> > From what I can tell, the console should open a connection to the
> > server via RMI. This seems to be working. I'm stumped as to why the
> > server would try to open a connection anywhere other than the web
> > server.
> >
> > I've combed the web in search of an answer but to no avail. I'm a
> > newbie to all this RMI stuff, could someone with a clue please shed
> > some light?
> >
> >
> > Cheers,
> > Matt.
> >
> >
> > --
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.12
> > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > G-- e* h-- r+ y+++++
> > ------END GEEK CODE BLOCK------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
G-- e* h-- r+ y+++++
------END GEEK CODE BLOCK------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: distributed testing woes
Posted by Matt Wlazlo <mw...@gmail.com>.
Crap, sorry I should've seen that.
Thanks for the help,
Matt.
On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> the problem is that the server and client are on different subnets. this is
> a limitation of RMI.
>
> both systems have to be on either
>
> 10.21.62.x
> or
> 10.21.202.x
>
> peter
>
>
> On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> >
> > I can telnet from both machines to port 1099, that's the RMI port, right?
> >
> > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > something is preventing the RMI connection. the tutorial clearly states
> > > make sure there's no firewall running on any of the systems. if RMI
> > can't
> > > connect and tries to connect repeatedly, JMeter won't be able to do
> > > distributed testing.
> > >
> > >
> > >
> > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > >
> > > > FTR, I also get the message 'jmeter.engine.RemoteJMeterEngineImpl:
> > > > Starting backing engine on 1099' on the server, so it's starting up
> > > > fine.
> > > >
> > > > Also, I tried running the server with -Djava.rmi.server.logCalls=true
> > > > and got the following, maybe it will help?
> > > >
> > > > NP 10.21.62.137=matt.domain
> > > >
> > > > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > > sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease
> > > > dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
> > > > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > > void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
> > > > java.rmi.RemoteException]
> > > > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > > void org.apache.jmeter.engine.RemoteJMeterEngine.setHost(
> > java.lang.String)
> > > > throws java.rmi.RemoteException]
> > > > Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
> > > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > > void org.apache.jmeter.engine.RemoteJMeterEngine.configure(
> > > > org.apache.jorphan.collections.HashTree)
> > > > throws java.rmi.RemoteException]
> > > > Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
> > > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > > void org.apache.jmeter.engine.RemoteJMeterEngine.runTest() throws
> > > > java.rmi.RemoteException,
> > org.apache.jmeter.engine.JMeterEngineException]
> > > > Oct 3, 2006 12:46:01 AM sun.rmi.server.UnicastServerRef logCall
> > > > FINER: RMI TCP Connection(6)-10.21.62.137: [10.21.62.137:
> > > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > > void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
> > > > java.rmi.RemoteException]
> > > >
> > > >
> > > > On 10/3/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > > Yup, that's why I have:
> > > > >
> > > > > remote_hosts=java.domain
> > > > >
> > > > > which resolves to an IP that does exist and is pingable :-)
> > > > >
> > > > > On the server, remote_hosts is commented out; is that right? It's
> > not
> > > > > mentioned in the tutorial..
> > > > >
> > > > > matt
> > > > >
> > > > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > > > 127.0.0.1 is the loop back, which is there for an example.
> > > > > >
> > > > > > you need to replace that with the IP's of the systems. go through
> > page
> > > > 2
> > > > > > step-by-step and it will work.
> > > > > >
> > > > > > peter
> > > > > >
> > > > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > > > >
> > > > > > > The thing I really can't understand, and which I think is the
> > > > problem,
> > > > > > > is that the server is trying to connect to 127.0.1.1 for some
> > > > reason.
> > > > > > > It's probably just my incomplete knowlege of RMI, but shouldn't
> > the
> > > > > > > console be the one having problems to connect (via RMI) if
> > anything
> > > > is
> > > > > > > wrong?
> > > > > > >
> > > > > > > *boggle*
> > > > > > >
> > > > > > > Matt
> > > > > > >
> > > > > > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > > > > > did you read the tutorial?
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > >
> > http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> > > > > > > >
> > > > > > > > peter
> > > > > > > >
> > > > > > > >
> > > > > > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > I'm tearing my hair out trying to get distributed testing
> > > > working.
> > > > > > > > >
> > > > > > > > > I have a simple configuration:
> > > > > > > > >
> > > > > > > > > Console: matt.domain
> > > > > > > > > remote_hosts=java.domain
> > > > > > > > >
> > > > > > > > > Slave: java.domain
> > > > > > > > > (default configuration)
> > > > > > > > >
> > > > > > > > > I run the server like this (after rmiregistry 1099&):
> > > > > > > > > ./jmeter -Dserver_port=1099 -
> > > > Djava.rmi.server.hostname=java.domain -s
> > > > > > > > >
> > > > > > > > > But I always get the following error on the server:
> > > > > > > > >
> > > > > > > > > 2006/10/03 00:00:10 INFO -
> > > > jmeter.samplers.RemoteListenerWrapper:
> > > > > > > > > Test Started on java.domain:1099
> > > > > > > > > 2006/10/03 00:00:10 ERROR -
> > > > jmeter.samplers.RemoteListenerWrapper:
> > > > > > > > > testStarted(host) java.rmi.ConnectException: Connection
> > refused
> > > > to
> > > > > > > > > host: 127.0.1.1; nested exception is:
> > > > > > > > > java.net.ConnectException: Connection refused
> > > > > > > > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> > > > > > > TCPEndpoint.java
> > > > > > > > > :574)
> > > > > > > > > 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
> > :94)
> > > > > > > > > at
> > > > > > > > >
> > > > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > > > > > > > (Unknown
> > > > > > > > > Source)
> > > > > > > > > at
> > > > > > > org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > > > > > > > RemoteListenerWrapper.java:74)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From what I can tell, the console should open a connection
> > to
> > > > the
> > > > > > > > > server via RMI. This seems to be working. I'm stumped as to
> > why
> > > > the
> > > > > > > > > server would try to open a connection anywhere other than
> > the
> > > > web
> > > > > > > > > server.
> > > > > > > > >
> > > > > > > > > I've combed the web in search of an answer but to no avail.
> > I'm
> > > > a
> > > > > > > > > newbie to all this RMI stuff, could someone with a clue
> > please
> > > > shed
> > > > > > > > > some light?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > > Matt.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > > > > > Version: 3.12
> > > > > > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > > > > > G-- e* h-- r+ y+++++
> > > > > > > > > ------END GEEK CODE BLOCK------
> > > > > > > > >
> > > > > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > > > To unsubscribe, e-mail:
> > > > jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > jmeter-user-help@jakarta.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > > > Version: 3.12
> > > > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > > > G-- e* h-- r+ y+++++
> > > > > > > ------END GEEK CODE BLOCK------
> > > > > > >
> > > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > > For additional commands, e-mail:
> > jmeter-user-help@jakarta.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > Version: 3.12
> > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > G-- e* h-- r+ y+++++
> > > > > ------END GEEK CODE BLOCK------
> > > > >
> > > >
> > > >
> > > > --
> > > > -----BEGIN GEEK CODE BLOCK-----
> > > > Version: 3.12
> > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > G-- e* h-- r+ y+++++
> > > > ------END GEEK CODE BLOCK------
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.12
> > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > G-- e* h-- r+ y+++++
> > ------END GEEK CODE BLOCK------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
G-- e* h-- r+ y+++++
------END GEEK CODE BLOCK------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: distributed testing woes
Posted by Peter Lin <wo...@gmail.com>.
the problem is that the server and client are on different subnets. this is
a limitation of RMI.
both systems have to be on either
10.21.62.x
or
10.21.202.x
peter
On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
>
> I can telnet from both machines to port 1099, that's the RMI port, right?
>
> On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > something is preventing the RMI connection. the tutorial clearly states
> > make sure there's no firewall running on any of the systems. if RMI
> can't
> > connect and tries to connect repeatedly, JMeter won't be able to do
> > distributed testing.
> >
> >
> >
> > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > >
> > > FTR, I also get the message 'jmeter.engine.RemoteJMeterEngineImpl:
> > > Starting backing engine on 1099' on the server, so it's starting up
> > > fine.
> > >
> > > Also, I tried running the server with -Djava.rmi.server.logCalls=true
> > > and got the following, maybe it will help?
> > >
> > > NP 10.21.62.137=matt.domain
> > >
> > > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease
> > > dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
> > > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
> > > java.rmi.RemoteException]
> > > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > void org.apache.jmeter.engine.RemoteJMeterEngine.setHost(
> java.lang.String)
> > > throws java.rmi.RemoteException]
> > > Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
> > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > void org.apache.jmeter.engine.RemoteJMeterEngine.configure(
> > > org.apache.jorphan.collections.HashTree)
> > > throws java.rmi.RemoteException]
> > > Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
> > > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > void org.apache.jmeter.engine.RemoteJMeterEngine.runTest() throws
> > > java.rmi.RemoteException,
> org.apache.jmeter.engine.JMeterEngineException]
> > > Oct 3, 2006 12:46:01 AM sun.rmi.server.UnicastServerRef logCall
> > > FINER: RMI TCP Connection(6)-10.21.62.137: [10.21.62.137:
> > > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > > void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
> > > java.rmi.RemoteException]
> > >
> > >
> > > On 10/3/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > Yup, that's why I have:
> > > >
> > > > remote_hosts=java.domain
> > > >
> > > > which resolves to an IP that does exist and is pingable :-)
> > > >
> > > > On the server, remote_hosts is commented out; is that right? It's
> not
> > > > mentioned in the tutorial..
> > > >
> > > > matt
> > > >
> > > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > > 127.0.0.1 is the loop back, which is there for an example.
> > > > >
> > > > > you need to replace that with the IP's of the systems. go through
> page
> > > 2
> > > > > step-by-step and it will work.
> > > > >
> > > > > peter
> > > > >
> > > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > > >
> > > > > > The thing I really can't understand, and which I think is the
> > > problem,
> > > > > > is that the server is trying to connect to 127.0.1.1 for some
> > > reason.
> > > > > > It's probably just my incomplete knowlege of RMI, but shouldn't
> the
> > > > > > console be the one having problems to connect (via RMI) if
> anything
> > > is
> > > > > > wrong?
> > > > > >
> > > > > > *boggle*
> > > > > >
> > > > > > Matt
> > > > > >
> > > > > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > > > > did you read the tutorial?
> > > > > > >
> > > > > > >
> > > > > >
> > >
> http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> > > > > > >
> > > > > > > peter
> > > > > > >
> > > > > > >
> > > > > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I'm tearing my hair out trying to get distributed testing
> > > working.
> > > > > > > >
> > > > > > > > I have a simple configuration:
> > > > > > > >
> > > > > > > > Console: matt.domain
> > > > > > > > remote_hosts=java.domain
> > > > > > > >
> > > > > > > > Slave: java.domain
> > > > > > > > (default configuration)
> > > > > > > >
> > > > > > > > I run the server like this (after rmiregistry 1099&):
> > > > > > > > ./jmeter -Dserver_port=1099 -
> > > Djava.rmi.server.hostname=java.domain -s
> > > > > > > >
> > > > > > > > But I always get the following error on the server:
> > > > > > > >
> > > > > > > > 2006/10/03 00:00:10 INFO -
> > > jmeter.samplers.RemoteListenerWrapper:
> > > > > > > > Test Started on java.domain:1099
> > > > > > > > 2006/10/03 00:00:10 ERROR -
> > > jmeter.samplers.RemoteListenerWrapper:
> > > > > > > > testStarted(host) java.rmi.ConnectException: Connection
> refused
> > > to
> > > > > > > > host: 127.0.1.1; nested exception is:
> > > > > > > > java.net.ConnectException: Connection refused
> > > > > > > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> > > > > > TCPEndpoint.java
> > > > > > > > :574)
> > > > > > > > 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
> :94)
> > > > > > > > at
> > > > > > > >
> > > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > > > > > > (Unknown
> > > > > > > > Source)
> > > > > > > > at
> > > > > > org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > > > > > > RemoteListenerWrapper.java:74)
> > > > > > > >
> > > > > > > >
> > > > > > > > From what I can tell, the console should open a connection
> to
> > > the
> > > > > > > > server via RMI. This seems to be working. I'm stumped as to
> why
> > > the
> > > > > > > > server would try to open a connection anywhere other than
> the
> > > web
> > > > > > > > server.
> > > > > > > >
> > > > > > > > I've combed the web in search of an answer but to no avail.
> I'm
> > > a
> > > > > > > > newbie to all this RMI stuff, could someone with a clue
> please
> > > shed
> > > > > > > > some light?
> > > > > > > >
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > > Matt.
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > > > > Version: 3.12
> > > > > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > > > > G-- e* h-- r+ y+++++
> > > > > > > > ------END GEEK CODE BLOCK------
> > > > > > > >
> > > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail:
> > > jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > > > For additional commands, e-mail:
> > > jmeter-user-help@jakarta.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > > Version: 3.12
> > > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > > G-- e* h-- r+ y+++++
> > > > > > ------END GEEK CODE BLOCK------
> > > > > >
> > > > > >
> > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > -----BEGIN GEEK CODE BLOCK-----
> > > > Version: 3.12
> > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > G-- e* h-- r+ y+++++
> > > > ------END GEEK CODE BLOCK------
> > > >
> > >
> > >
> > > --
> > > -----BEGIN GEEK CODE BLOCK-----
> > > Version: 3.12
> > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > G-- e* h-- r+ y+++++
> > > ------END GEEK CODE BLOCK------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> >
>
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> G-- e* h-- r+ y+++++
> ------END GEEK CODE BLOCK------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: distributed testing woes
Posted by Matt Wlazlo <mw...@gmail.com>.
I can telnet from both machines to port 1099, that's the RMI port, right?
On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> something is preventing the RMI connection. the tutorial clearly states
> make sure there's no firewall running on any of the systems. if RMI can't
> connect and tries to connect repeatedly, JMeter won't be able to do
> distributed testing.
>
>
>
> On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> >
> > FTR, I also get the message 'jmeter.engine.RemoteJMeterEngineImpl:
> > Starting backing engine on 1099' on the server, so it's starting up
> > fine.
> >
> > Also, I tried running the server with -Djava.rmi.server.logCalls=true
> > and got the following, maybe it will help?
> >
> > NP 10.21.62.137=matt.domain
> >
> > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease
> > dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
> > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
> > java.rmi.RemoteException]
> > Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > void org.apache.jmeter.engine.RemoteJMeterEngine.setHost(java.lang.String)
> > throws java.rmi.RemoteException]
> > Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
> > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > void org.apache.jmeter.engine.RemoteJMeterEngine.configure(
> > org.apache.jorphan.collections.HashTree)
> > throws java.rmi.RemoteException]
> > Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
> > FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > void org.apache.jmeter.engine.RemoteJMeterEngine.runTest() throws
> > java.rmi.RemoteException,org.apache.jmeter.engine.JMeterEngineException]
> > Oct 3, 2006 12:46:01 AM sun.rmi.server.UnicastServerRef logCall
> > FINER: RMI TCP Connection(6)-10.21.62.137: [10.21.62.137:
> > org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> > void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
> > java.rmi.RemoteException]
> >
> >
> > On 10/3/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > Yup, that's why I have:
> > >
> > > remote_hosts=java.domain
> > >
> > > which resolves to an IP that does exist and is pingable :-)
> > >
> > > On the server, remote_hosts is commented out; is that right? It's not
> > > mentioned in the tutorial..
> > >
> > > matt
> > >
> > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > 127.0.0.1 is the loop back, which is there for an example.
> > > >
> > > > you need to replace that with the IP's of the systems. go through page
> > 2
> > > > step-by-step and it will work.
> > > >
> > > > peter
> > > >
> > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > >
> > > > > The thing I really can't understand, and which I think is the
> > problem,
> > > > > is that the server is trying to connect to 127.0.1.1 for some
> > reason.
> > > > > It's probably just my incomplete knowlege of RMI, but shouldn't the
> > > > > console be the one having problems to connect (via RMI) if anything
> > is
> > > > > wrong?
> > > > >
> > > > > *boggle*
> > > > >
> > > > > Matt
> > > > >
> > > > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > > > did you read the tutorial?
> > > > > >
> > > > > >
> > > > >
> > http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> > > > > >
> > > > > > peter
> > > > > >
> > > > > >
> > > > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I'm tearing my hair out trying to get distributed testing
> > working.
> > > > > > >
> > > > > > > I have a simple configuration:
> > > > > > >
> > > > > > > Console: matt.domain
> > > > > > > remote_hosts=java.domain
> > > > > > >
> > > > > > > Slave: java.domain
> > > > > > > (default configuration)
> > > > > > >
> > > > > > > I run the server like this (after rmiregistry 1099&):
> > > > > > > ./jmeter -Dserver_port=1099 -
> > Djava.rmi.server.hostname=java.domain -s
> > > > > > >
> > > > > > > But I always get the following error on the server:
> > > > > > >
> > > > > > > 2006/10/03 00:00:10 INFO -
> > jmeter.samplers.RemoteListenerWrapper:
> > > > > > > Test Started on java.domain:1099
> > > > > > > 2006/10/03 00:00:10 ERROR -
> > jmeter.samplers.RemoteListenerWrapper:
> > > > > > > testStarted(host) java.rmi.ConnectException: Connection refused
> > to
> > > > > > > host: 127.0.1.1; nested exception is:
> > > > > > > java.net.ConnectException: Connection refused
> > > > > > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> > > > > TCPEndpoint.java
> > > > > > > :574)
> > > > > > > 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:94)
> > > > > > > at
> > > > > > >
> > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > > > > > (Unknown
> > > > > > > Source)
> > > > > > > at
> > > > > org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > > > > > RemoteListenerWrapper.java:74)
> > > > > > >
> > > > > > >
> > > > > > > From what I can tell, the console should open a connection to
> > the
> > > > > > > server via RMI. This seems to be working. I'm stumped as to why
> > the
> > > > > > > server would try to open a connection anywhere other than the
> > web
> > > > > > > server.
> > > > > > >
> > > > > > > I've combed the web in search of an answer but to no avail. I'm
> > a
> > > > > > > newbie to all this RMI stuff, could someone with a clue please
> > shed
> > > > > > > some light?
> > > > > > >
> > > > > > >
> > > > > > > Cheers,
> > > > > > > Matt.
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > > > Version: 3.12
> > > > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > > > G-- e* h-- r+ y+++++
> > > > > > > ------END GEEK CODE BLOCK------
> > > > > > >
> > > > > > >
> > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > > For additional commands, e-mail:
> > jmeter-user-help@jakarta.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > Version: 3.12
> > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > G-- e* h-- r+ y+++++
> > > > > ------END GEEK CODE BLOCK------
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > -----BEGIN GEEK CODE BLOCK-----
> > > Version: 3.12
> > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > G-- e* h-- r+ y+++++
> > > ------END GEEK CODE BLOCK------
> > >
> >
> >
> > --
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.12
> > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > G-- e* h-- r+ y+++++
> > ------END GEEK CODE BLOCK------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
G-- e* h-- r+ y+++++
------END GEEK CODE BLOCK------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: distributed testing woes
Posted by Peter Lin <wo...@gmail.com>.
something is preventing the RMI connection. the tutorial clearly states
make sure there's no firewall running on any of the systems. if RMI can't
connect and tries to connect repeatedly, JMeter won't be able to do
distributed testing.
On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
>
> FTR, I also get the message 'jmeter.engine.RemoteJMeterEngineImpl:
> Starting backing engine on 1099' on the server, so it's starting up
> fine.
>
> Also, I tried running the server with -Djava.rmi.server.logCalls=true
> and got the following, maybe it will help?
>
> NP 10.21.62.137=matt.domain
>
> Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease
> dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
> Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
> java.rmi.RemoteException]
> Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
> FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> void org.apache.jmeter.engine.RemoteJMeterEngine.setHost(java.lang.String)
> throws java.rmi.RemoteException]
> Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
> FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> void org.apache.jmeter.engine.RemoteJMeterEngine.configure(
> org.apache.jorphan.collections.HashTree)
> throws java.rmi.RemoteException]
> Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
> FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
> org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> void org.apache.jmeter.engine.RemoteJMeterEngine.runTest() throws
> java.rmi.RemoteException,org.apache.jmeter.engine.JMeterEngineException]
> Oct 3, 2006 12:46:01 AM sun.rmi.server.UnicastServerRef logCall
> FINER: RMI TCP Connection(6)-10.21.62.137: [10.21.62.137:
> org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
> void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
> java.rmi.RemoteException]
>
>
> On 10/3/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > Yup, that's why I have:
> >
> > remote_hosts=java.domain
> >
> > which resolves to an IP that does exist and is pingable :-)
> >
> > On the server, remote_hosts is commented out; is that right? It's not
> > mentioned in the tutorial..
> >
> > matt
> >
> > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > 127.0.0.1 is the loop back, which is there for an example.
> > >
> > > you need to replace that with the IP's of the systems. go through page
> 2
> > > step-by-step and it will work.
> > >
> > > peter
> > >
> > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > >
> > > > The thing I really can't understand, and which I think is the
> problem,
> > > > is that the server is trying to connect to 127.0.1.1 for some
> reason.
> > > > It's probably just my incomplete knowlege of RMI, but shouldn't the
> > > > console be the one having problems to connect (via RMI) if anything
> is
> > > > wrong?
> > > >
> > > > *boggle*
> > > >
> > > > Matt
> > > >
> > > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > > did you read the tutorial?
> > > > >
> > > > >
> > > >
> http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> > > > >
> > > > > peter
> > > > >
> > > > >
> > > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I'm tearing my hair out trying to get distributed testing
> working.
> > > > > >
> > > > > > I have a simple configuration:
> > > > > >
> > > > > > Console: matt.domain
> > > > > > remote_hosts=java.domain
> > > > > >
> > > > > > Slave: java.domain
> > > > > > (default configuration)
> > > > > >
> > > > > > I run the server like this (after rmiregistry 1099&):
> > > > > > ./jmeter -Dserver_port=1099 -
> Djava.rmi.server.hostname=java.domain -s
> > > > > >
> > > > > > But I always get the following error on the server:
> > > > > >
> > > > > > 2006/10/03 00:00:10 INFO -
> jmeter.samplers.RemoteListenerWrapper:
> > > > > > Test Started on java.domain:1099
> > > > > > 2006/10/03 00:00:10 ERROR -
> jmeter.samplers.RemoteListenerWrapper:
> > > > > > testStarted(host) java.rmi.ConnectException: Connection refused
> to
> > > > > > host: 127.0.1.1; nested exception is:
> > > > > > java.net.ConnectException: Connection refused
> > > > > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> > > > TCPEndpoint.java
> > > > > > :574)
> > > > > > 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:94)
> > > > > > at
> > > > > >
> org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > > > > (Unknown
> > > > > > Source)
> > > > > > at
> > > > org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > > > > RemoteListenerWrapper.java:74)
> > > > > >
> > > > > >
> > > > > > From what I can tell, the console should open a connection to
> the
> > > > > > server via RMI. This seems to be working. I'm stumped as to why
> the
> > > > > > server would try to open a connection anywhere other than the
> web
> > > > > > server.
> > > > > >
> > > > > > I've combed the web in search of an answer but to no avail. I'm
> a
> > > > > > newbie to all this RMI stuff, could someone with a clue please
> shed
> > > > > > some light?
> > > > > >
> > > > > >
> > > > > > Cheers,
> > > > > > Matt.
> > > > > >
> > > > > >
> > > > > > --
> > > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > > Version: 3.12
> > > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > > G-- e* h-- r+ y+++++
> > > > > > ------END GEEK CODE BLOCK------
> > > > > >
> > > > > >
> ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > -----BEGIN GEEK CODE BLOCK-----
> > > > Version: 3.12
> > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > G-- e* h-- r+ y+++++
> > > > ------END GEEK CODE BLOCK------
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.12
> > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > G-- e* h-- r+ y+++++
> > ------END GEEK CODE BLOCK------
> >
>
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> G-- e* h-- r+ y+++++
> ------END GEEK CODE BLOCK------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: distributed testing woes
Posted by Matt Wlazlo <mw...@gmail.com>.
FTR, I also get the message 'jmeter.engine.RemoteJMeterEngineImpl:
Starting backing engine on 1099' on the server, so it's starting up
fine.
Also, I tried running the server with -Djava.rmi.server.logCalls=true
and got the following, maybe it will help?
NP 10.21.62.137=matt.domain
Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease
dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
java.rmi.RemoteException]
Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall
FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
void org.apache.jmeter.engine.RemoteJMeterEngine.setHost(java.lang.String)
throws java.rmi.RemoteException]
Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
void org.apache.jmeter.engine.RemoteJMeterEngine.configure(org.apache.jorphan.collections.HashTree)
throws java.rmi.RemoteException]
Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall
FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137:
org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
void org.apache.jmeter.engine.RemoteJMeterEngine.runTest() throws
java.rmi.RemoteException,org.apache.jmeter.engine.JMeterEngineException]
Oct 3, 2006 12:46:01 AM sun.rmi.server.UnicastServerRef logCall
FINER: RMI TCP Connection(6)-10.21.62.137: [10.21.62.137:
org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract
void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws
java.rmi.RemoteException]
On 10/3/06, Matt Wlazlo <mw...@gmail.com> wrote:
> Yup, that's why I have:
>
> remote_hosts=java.domain
>
> which resolves to an IP that does exist and is pingable :-)
>
> On the server, remote_hosts is commented out; is that right? It's not
> mentioned in the tutorial..
>
> matt
>
> On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > 127.0.0.1 is the loop back, which is there for an example.
> >
> > you need to replace that with the IP's of the systems. go through page 2
> > step-by-step and it will work.
> >
> > peter
> >
> > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > >
> > > The thing I really can't understand, and which I think is the problem,
> > > is that the server is trying to connect to 127.0.1.1 for some reason.
> > > It's probably just my incomplete knowlege of RMI, but shouldn't the
> > > console be the one having problems to connect (via RMI) if anything is
> > > wrong?
> > >
> > > *boggle*
> > >
> > > Matt
> > >
> > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > did you read the tutorial?
> > > >
> > > >
> > > http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> > > >
> > > > peter
> > > >
> > > >
> > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I'm tearing my hair out trying to get distributed testing working.
> > > > >
> > > > > I have a simple configuration:
> > > > >
> > > > > Console: matt.domain
> > > > > remote_hosts=java.domain
> > > > >
> > > > > Slave: java.domain
> > > > > (default configuration)
> > > > >
> > > > > I run the server like this (after rmiregistry 1099&):
> > > > > ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s
> > > > >
> > > > > But I always get the following error on the server:
> > > > >
> > > > > 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
> > > > > Test Started on java.domain:1099
> > > > > 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
> > > > > testStarted(host) java.rmi.ConnectException: Connection refused to
> > > > > host: 127.0.1.1; nested exception is:
> > > > > java.net.ConnectException: Connection refused
> > > > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> > > TCPEndpoint.java
> > > > > :574)
> > > > > 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:94)
> > > > > at
> > > > > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > > > (Unknown
> > > > > Source)
> > > > > at
> > > org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > > > RemoteListenerWrapper.java:74)
> > > > >
> > > > >
> > > > > From what I can tell, the console should open a connection to the
> > > > > server via RMI. This seems to be working. I'm stumped as to why the
> > > > > server would try to open a connection anywhere other than the web
> > > > > server.
> > > > >
> > > > > I've combed the web in search of an answer but to no avail. I'm a
> > > > > newbie to all this RMI stuff, could someone with a clue please shed
> > > > > some light?
> > > > >
> > > > >
> > > > > Cheers,
> > > > > Matt.
> > > > >
> > > > >
> > > > > --
> > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > Version: 3.12
> > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > G-- e* h-- r+ y+++++
> > > > > ------END GEEK CODE BLOCK------
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > -----BEGIN GEEK CODE BLOCK-----
> > > Version: 3.12
> > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > G-- e* h-- r+ y+++++
> > > ------END GEEK CODE BLOCK------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> >
>
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> G-- e* h-- r+ y+++++
> ------END GEEK CODE BLOCK------
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
G-- e* h-- r+ y+++++
------END GEEK CODE BLOCK------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: distributed testing woes
Posted by Matt Wlazlo <mw...@gmail.com>.
Console=10.21.62.137
Server=10.21.202.152
There's only 1 of each.
Server has a default configuration except that I've turned on
debugging. I run the server like this:
./jmeter-server -Djava.rmi.server.hostname=10.21.202.152 -s
-Djava.rmi.server.logCalls=true
Console has default configuration except for debugging, and:
remote_hosts=10.21.202.152
I just substituted names for numbers and got the same result..
Thanks,
Matt.
On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> don't use a domain. use the IP address. using a domain may cause weirdness.
>
> list all the ip addresses for the systems running jmeter-server.bat.
>
> if you're running both jmeter-server.bat and jmeter.bat, list the IP of the
> system. it would be easier to diagnose your problem, if you include more
> details like number of systems, each system's IP and the settings in each
> system.
>
> peter
>
>
> On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> >
> > Yup, that's why I have:
> >
> > remote_hosts=java.domain
> >
> > which resolves to an IP that does exist and is pingable :-)
> >
> > On the server, remote_hosts is commented out; is that right? It's not
> > mentioned in the tutorial..
> >
> > matt
> >
> > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > 127.0.0.1 is the loop back, which is there for an example.
> > >
> > > you need to replace that with the IP's of the systems. go through page 2
> > > step-by-step and it will work.
> > >
> > > peter
> > >
> > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > >
> > > > The thing I really can't understand, and which I think is the problem,
> > > > is that the server is trying to connect to 127.0.1.1 for some reason.
> > > > It's probably just my incomplete knowlege of RMI, but shouldn't the
> > > > console be the one having problems to connect (via RMI) if anything is
> > > > wrong?
> > > >
> > > > *boggle*
> > > >
> > > > Matt
> > > >
> > > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > > did you read the tutorial?
> > > > >
> > > > >
> > > >
> > http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> > > > >
> > > > > peter
> > > > >
> > > > >
> > > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I'm tearing my hair out trying to get distributed testing working.
> > > > > >
> > > > > > I have a simple configuration:
> > > > > >
> > > > > > Console: matt.domain
> > > > > > remote_hosts=java.domain
> > > > > >
> > > > > > Slave: java.domain
> > > > > > (default configuration)
> > > > > >
> > > > > > I run the server like this (after rmiregistry 1099&):
> > > > > > ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain-s
> > > > > >
> > > > > > But I always get the following error on the server:
> > > > > >
> > > > > > 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
> > > > > > Test Started on java.domain:1099
> > > > > > 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
> > > > > > testStarted(host) java.rmi.ConnectException: Connection refused to
> > > > > > host: 127.0.1.1; nested exception is:
> > > > > > java.net.ConnectException: Connection refused
> > > > > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> > > > TCPEndpoint.java
> > > > > > :574)
> > > > > > 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:94)
> > > > > > at
> > > > > >
> > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > > > > (Unknown
> > > > > > Source)
> > > > > > at
> > > > org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > > > > RemoteListenerWrapper.java:74)
> > > > > >
> > > > > >
> > > > > > From what I can tell, the console should open a connection to the
> > > > > > server via RMI. This seems to be working. I'm stumped as to why
> > the
> > > > > > server would try to open a connection anywhere other than the web
> > > > > > server.
> > > > > >
> > > > > > I've combed the web in search of an answer but to no avail. I'm a
> > > > > > newbie to all this RMI stuff, could someone with a clue please
> > shed
> > > > > > some light?
> > > > > >
> > > > > >
> > > > > > Cheers,
> > > > > > Matt.
> > > > > >
> > > > > >
> > > > > > --
> > > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > > Version: 3.12
> > > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > > G-- e* h-- r+ y+++++
> > > > > > ------END GEEK CODE BLOCK------
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > For additional commands, e-mail:
> > jmeter-user-help@jakarta.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > -----BEGIN GEEK CODE BLOCK-----
> > > > Version: 3.12
> > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > G-- e* h-- r+ y+++++
> > > > ------END GEEK CODE BLOCK------
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.12
> > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > G-- e* h-- r+ y+++++
> > ------END GEEK CODE BLOCK------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
G-- e* h-- r+ y+++++
------END GEEK CODE BLOCK------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: distributed testing woes
Posted by Peter Lin <wo...@gmail.com>.
don't use a domain. use the IP address. using a domain may cause weirdness.
list all the ip addresses for the systems running jmeter-server.bat.
if you're running both jmeter-server.bat and jmeter.bat, list the IP of the
system. it would be easier to diagnose your problem, if you include more
details like number of systems, each system's IP and the settings in each
system.
peter
On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
>
> Yup, that's why I have:
>
> remote_hosts=java.domain
>
> which resolves to an IP that does exist and is pingable :-)
>
> On the server, remote_hosts is commented out; is that right? It's not
> mentioned in the tutorial..
>
> matt
>
> On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > 127.0.0.1 is the loop back, which is there for an example.
> >
> > you need to replace that with the IP's of the systems. go through page 2
> > step-by-step and it will work.
> >
> > peter
> >
> > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > >
> > > The thing I really can't understand, and which I think is the problem,
> > > is that the server is trying to connect to 127.0.1.1 for some reason.
> > > It's probably just my incomplete knowlege of RMI, but shouldn't the
> > > console be the one having problems to connect (via RMI) if anything is
> > > wrong?
> > >
> > > *boggle*
> > >
> > > Matt
> > >
> > > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > > did you read the tutorial?
> > > >
> > > >
> > >
> http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> > > >
> > > > peter
> > > >
> > > >
> > > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I'm tearing my hair out trying to get distributed testing working.
> > > > >
> > > > > I have a simple configuration:
> > > > >
> > > > > Console: matt.domain
> > > > > remote_hosts=java.domain
> > > > >
> > > > > Slave: java.domain
> > > > > (default configuration)
> > > > >
> > > > > I run the server like this (after rmiregistry 1099&):
> > > > > ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain-s
> > > > >
> > > > > But I always get the following error on the server:
> > > > >
> > > > > 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
> > > > > Test Started on java.domain:1099
> > > > > 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
> > > > > testStarted(host) java.rmi.ConnectException: Connection refused to
> > > > > host: 127.0.1.1; nested exception is:
> > > > > java.net.ConnectException: Connection refused
> > > > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> > > TCPEndpoint.java
> > > > > :574)
> > > > > 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:94)
> > > > > at
> > > > >
> org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > > > (Unknown
> > > > > Source)
> > > > > at
> > > org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > > > RemoteListenerWrapper.java:74)
> > > > >
> > > > >
> > > > > From what I can tell, the console should open a connection to the
> > > > > server via RMI. This seems to be working. I'm stumped as to why
> the
> > > > > server would try to open a connection anywhere other than the web
> > > > > server.
> > > > >
> > > > > I've combed the web in search of an answer but to no avail. I'm a
> > > > > newbie to all this RMI stuff, could someone with a clue please
> shed
> > > > > some light?
> > > > >
> > > > >
> > > > > Cheers,
> > > > > Matt.
> > > > >
> > > > >
> > > > > --
> > > > > -----BEGIN GEEK CODE BLOCK-----
> > > > > Version: 3.12
> > > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > > G-- e* h-- r+ y+++++
> > > > > ------END GEEK CODE BLOCK------
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > -----BEGIN GEEK CODE BLOCK-----
> > > Version: 3.12
> > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > G-- e* h-- r+ y+++++
> > > ------END GEEK CODE BLOCK------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> >
>
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> G-- e* h-- r+ y+++++
> ------END GEEK CODE BLOCK------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: distributed testing woes
Posted by Matt Wlazlo <mw...@gmail.com>.
Yup, that's why I have:
remote_hosts=java.domain
which resolves to an IP that does exist and is pingable :-)
On the server, remote_hosts is commented out; is that right? It's not
mentioned in the tutorial..
matt
On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> 127.0.0.1 is the loop back, which is there for an example.
>
> you need to replace that with the IP's of the systems. go through page 2
> step-by-step and it will work.
>
> peter
>
> On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> >
> > The thing I really can't understand, and which I think is the problem,
> > is that the server is trying to connect to 127.0.1.1 for some reason.
> > It's probably just my incomplete knowlege of RMI, but shouldn't the
> > console be the one having problems to connect (via RMI) if anything is
> > wrong?
> >
> > *boggle*
> >
> > Matt
> >
> > On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > > did you read the tutorial?
> > >
> > >
> > http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> > >
> > > peter
> > >
> > >
> > > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I'm tearing my hair out trying to get distributed testing working.
> > > >
> > > > I have a simple configuration:
> > > >
> > > > Console: matt.domain
> > > > remote_hosts=java.domain
> > > >
> > > > Slave: java.domain
> > > > (default configuration)
> > > >
> > > > I run the server like this (after rmiregistry 1099&):
> > > > ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s
> > > >
> > > > But I always get the following error on the server:
> > > >
> > > > 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
> > > > Test Started on java.domain:1099
> > > > 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
> > > > testStarted(host) java.rmi.ConnectException: Connection refused to
> > > > host: 127.0.1.1; nested exception is:
> > > > java.net.ConnectException: Connection refused
> > > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> > TCPEndpoint.java
> > > > :574)
> > > > 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:94)
> > > > at
> > > > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > > (Unknown
> > > > Source)
> > > > at
> > org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > > RemoteListenerWrapper.java:74)
> > > >
> > > >
> > > > From what I can tell, the console should open a connection to the
> > > > server via RMI. This seems to be working. I'm stumped as to why the
> > > > server would try to open a connection anywhere other than the web
> > > > server.
> > > >
> > > > I've combed the web in search of an answer but to no avail. I'm a
> > > > newbie to all this RMI stuff, could someone with a clue please shed
> > > > some light?
> > > >
> > > >
> > > > Cheers,
> > > > Matt.
> > > >
> > > >
> > > > --
> > > > -----BEGIN GEEK CODE BLOCK-----
> > > > Version: 3.12
> > > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > > G-- e* h-- r+ y+++++
> > > > ------END GEEK CODE BLOCK------
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.12
> > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > G-- e* h-- r+ y+++++
> > ------END GEEK CODE BLOCK------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
G-- e* h-- r+ y+++++
------END GEEK CODE BLOCK------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: distributed testing woes
Posted by Peter Lin <wo...@gmail.com>.
127.0.0.1 is the loop back, which is there for an example.
you need to replace that with the IP's of the systems. go through page 2
step-by-step and it will work.
peter
On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
>
> The thing I really can't understand, and which I think is the problem,
> is that the server is trying to connect to 127.0.1.1 for some reason.
> It's probably just my incomplete knowlege of RMI, but shouldn't the
> console be the one having problems to connect (via RMI) if anything is
> wrong?
>
> *boggle*
>
> Matt
>
> On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> > did you read the tutorial?
> >
> >
> http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
> >
> > peter
> >
> >
> > On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > I'm tearing my hair out trying to get distributed testing working.
> > >
> > > I have a simple configuration:
> > >
> > > Console: matt.domain
> > > remote_hosts=java.domain
> > >
> > > Slave: java.domain
> > > (default configuration)
> > >
> > > I run the server like this (after rmiregistry 1099&):
> > > ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s
> > >
> > > But I always get the following error on the server:
> > >
> > > 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
> > > Test Started on java.domain:1099
> > > 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
> > > testStarted(host) java.rmi.ConnectException: Connection refused to
> > > host: 127.0.1.1; nested exception is:
> > > java.net.ConnectException: Connection refused
> > > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
> TCPEndpoint.java
> > > :574)
> > > 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:94)
> > > at
> > > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > > (Unknown
> > > Source)
> > > at
> org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > > RemoteListenerWrapper.java:74)
> > >
> > >
> > > From what I can tell, the console should open a connection to the
> > > server via RMI. This seems to be working. I'm stumped as to why the
> > > server would try to open a connection anywhere other than the web
> > > server.
> > >
> > > I've combed the web in search of an answer but to no avail. I'm a
> > > newbie to all this RMI stuff, could someone with a clue please shed
> > > some light?
> > >
> > >
> > > Cheers,
> > > Matt.
> > >
> > >
> > > --
> > > -----BEGIN GEEK CODE BLOCK-----
> > > Version: 3.12
> > > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > > G-- e* h-- r+ y+++++
> > > ------END GEEK CODE BLOCK------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> >
>
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> G-- e* h-- r+ y+++++
> ------END GEEK CODE BLOCK------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: distributed testing woes
Posted by Matt Wlazlo <mw...@gmail.com>.
The thing I really can't understand, and which I think is the problem,
is that the server is trying to connect to 127.0.1.1 for some reason.
It's probably just my incomplete knowlege of RMI, but shouldn't the
console be the one having problems to connect (via RMI) if anything is
wrong?
*boggle*
Matt
On 10/3/06, Peter Lin <wo...@gmail.com> wrote:
> did you read the tutorial?
>
> http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
>
> peter
>
>
> On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
> >
> > Hi,
> >
> > I'm tearing my hair out trying to get distributed testing working.
> >
> > I have a simple configuration:
> >
> > Console: matt.domain
> > remote_hosts=java.domain
> >
> > Slave: java.domain
> > (default configuration)
> >
> > I run the server like this (after rmiregistry 1099&):
> > ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s
> >
> > But I always get the following error on the server:
> >
> > 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
> > Test Started on java.domain:1099
> > 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
> > testStarted(host) java.rmi.ConnectException: Connection refused to
> > host: 127.0.1.1; nested exception is:
> > java.net.ConnectException: Connection refused
> > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java
> > :574)
> > 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:94)
> > at
> > org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> > (Unknown
> > Source)
> > at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> > RemoteListenerWrapper.java:74)
> >
> >
> > From what I can tell, the console should open a connection to the
> > server via RMI. This seems to be working. I'm stumped as to why the
> > server would try to open a connection anywhere other than the web
> > server.
> >
> > I've combed the web in search of an answer but to no avail. I'm a
> > newbie to all this RMI stuff, could someone with a clue please shed
> > some light?
> >
> >
> > Cheers,
> > Matt.
> >
> >
> > --
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 3.12
> > GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> > O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> > G-- e* h-- r+ y+++++
> > ------END GEEK CODE BLOCK------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
G-- e* h-- r+ y+++++
------END GEEK CODE BLOCK------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: distributed testing woes
Posted by Peter Lin <wo...@gmail.com>.
did you read the tutorial?
http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf
peter
On 10/2/06, Matt Wlazlo <mw...@gmail.com> wrote:
>
> Hi,
>
> I'm tearing my hair out trying to get distributed testing working.
>
> I have a simple configuration:
>
> Console: matt.domain
> remote_hosts=java.domain
>
> Slave: java.domain
> (default configuration)
>
> I run the server like this (after rmiregistry 1099&):
> ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s
>
> But I always get the following error on the server:
>
> 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
> Test Started on java.domain:1099
> 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
> testStarted(host) java.rmi.ConnectException: Connection refused to
> host: 127.0.1.1; nested exception is:
> java.net.ConnectException: Connection refused
> at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java
> :574)
> 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:94)
> at
> org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted
> (Unknown
> Source)
> at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(
> RemoteListenerWrapper.java:74)
>
>
> From what I can tell, the console should open a connection to the
> server via RMI. This seems to be working. I'm stumped as to why the
> server would try to open a connection anywhere other than the web
> server.
>
> I've combed the web in search of an answer but to no avail. I'm a
> newbie to all this RMI stuff, could someone with a clue please shed
> some light?
>
>
> Cheers,
> Matt.
>
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w--
> O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++
> G-- e* h-- r+ y+++++
> ------END GEEK CODE BLOCK------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>