jconsole

hello,

I have trouble to connect remotly to a jmx enabled jvm.

When starting jconsole locally , i can connect an use jconsole.

Trying to connect remotely does not work. I have setup roles and started the application the follwing way:

> java -Dcom.sun.management.jmxremote.port=9930 -Dcom.sun.management.jmxremote.password.file=/home/vestor/jmx.pw -jar ./jarminator.jar&

I start jconsole and put in host and port for the remote connection.

using netstat I am observing that a connection gets established on the port:

tcp00 *:9930*:* LISTEN

tcp00 *:9930*:* LISTEN

tcp00 *:9930*:* LISTEN

tcp00 ::ffff:10.107.0.15:9930 ::ffff:10.107.0.25:1641 ESTABLISHED

nevertheless the jconsole always returns "Connection failed"

Do I have to start some additional daemon/servers like jstatd?

By the way ther is no firewall in between.

Did someone already come across this?

I have updated to jdk1.5 update 1

Thank's for any help

[1021 byte] By [marcoescha] at [2007-10-1 2:52:04]
# 1

It may because of your firewall.

See

http://forum.java.sun.com/thread.jspa?forumID=4&threadID=565139

http://forum.java.sun.com/thread.jspa?threadID=289869&messageID=1242288

http://java.sun.com/j2se/1.4/docs/guide/rmi/faq.html#nethostname

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6209663

http://forum.java.sun.com/thread.jspa?forumID=32&threadID=579546

Caffeine0001a at 2007-7-8 15:28:35 > top of Java-index,Administration Tools,Sun Connection...