I missed earlier that you are specifying the port number as part of the
value for java.rmi.server.hostname, thats going to be what was making it
throw UnknownHostException as you only specify the host/IP when setting
java.rmi.server.hostname (I presume you started seting that because of this
issue btw?).

The fact you are seeing connection refused to 127.0.0.1 from a remote host
suggests thats what the stub contains and is thus causing your JMX clients
to try connecting to your own machine rather than the broker host.

Try removing the port number from the java.rmi.server.hostname definition
and configuring it to the broker machines hostname or IP again.

Robbie

On 24 September 2012 19:56, oggie <[email protected]> wrote:

> ok. I've done some more digging.
>
> If I remove the startup parm of -Djava.rmi.server.hostname=x.x.x.x:8999,
> I'm
> able to get jconsole to run locally on the box. But I don't see the message
> you mentioned early to search for the Address in.
>
> But now if I try to connect remotely, I get:
>
> Connection refused to host: 127.0.0.1; nested exception is:
> java.net.ConnectException: Connection Refused: connect.
>
>
>
>
>
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/0-18-java-broker-and-jmx-console-tp7582501p7582557.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to