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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
>
> --
> -----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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




--
-----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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to