I'm not entirely clear which machine you are connecting to/from after
reading the below. Are you using JConsole locally on the same machine the
broker is on, or from the other machine you used telnet from? Setting
java.rmi.server.hostname to 127.0.0.1 like that will break connection
attempts from other machines.

Robbie

On 24 September 2012 16:44, oggie <[email protected]> wrote:

> I can telnet to both ports from another machine and it connects, so I know
> the ports aren't blocked.
>
> If I use jconsole, it keeps spitting out:
>
> FINER: [javax.management.remote.rmi.RMIConnector:
> jmxServiceURL=service:jmx:rmi://
> 127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc5AAtVbmljYXN0UmVmMgAADjEyNy4wLjAuMTo4OTk5AAC575FTjjzFNRKo5MsnnQAAATn46uyegAIAeA==
> ]
> failed to connect: java.rmi.UnknownHostException: Unknown host:
> 127.0.0.1:8999; nested exception is:
>         java.net.UnknownHostException: 127.0.0.1:8999
>
>
> This is from the startup command:
>
> java -server -DPNAME=QPBRKR -XX:+UseConcMarkSweepGC
> -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Damqj.logging.level=info
> -DQPID_HOME=/usr/share/queue/broker -DQPID_WORK=/usr/share/queue/work
> -Djava.rmi.server.hostname=127.0.0.1:8999 -Damqj.read_write_pool_size=32
> -DQPID_LOG_APPEND= org.apache.qpid.server.Main
>
> I've changed the hostname in the startup to be the actual IP as well but I
> still had the same error.  I'm starting to think this linux box is
> configured wrong.
>
>
>
>
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/0-18-java-broker-and-jmx-console-tp7582501p7582538.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