Unable to connect to remote JMX

Hi guys,

In our development environment in linux, we are using resin + jdk1.5.

i started my resin server with these options:

-Dcom.sun.management.jmxremote

-Dcom.sun.management.jmxremote.port=8004

-Dcom.sun.management.jmxremote.authenticate=false

-Dcom.sun.management.jmxremote.ssl=false

It returns "Connection failed" when i tried to connect to it from local.

If i use those options and start it locally, i am able to connect.

Anyone has any ideas what am i missing?

Thanks.

Message was edited by:

jinchuriki

[594 byte] By [jinchurikia] at [2007-11-26 18:08:28]
# 1

Hi,

Could you be a little more specific about what you mean with 1):

> It returns "Connection failed" when i tried to

> connect to it from local.

and 2):

> If i use those options and start it locally, i am

> able to connect.

Do you mean that in 1) you started your server without any option?

What do you mean by 'start it locally'? Do you mean that in 2) you start

jconsole on the same machine whereas in 1 you started jconsole from

a remote machine?

You might also want to read this article:

Troubleshooting connection problems in JConsole:

http://blogs.sun.com/jmxetc/entry/troubleshooting_connection_problems_in_jconsole

hope this helps,

-- daniel

JMX, SNMP, Java, etc...

http://blogs.sun.com/jmxetc

dfuchsa at 2007-7-9 5:40:09 > top of Java-index,Core,Monitoring & Management...