I developing under Spring3.1 standalone env.
I am trying to connect my application remotely via jconsole.
It's working locally but when I deploy my application into the linux machine it gets time out.
I am using Daemon in order to run my environment.
this is what I add in the run.sh script:
Code:-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=6969 \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false \ com.mypackage.daemon.FixDaemon
and inside applicationContext.xml:
now on the linux machine after doing netstat thats what we see:Code:<context:mbean-server /> <context:mbean-export />
so it's seems like it does listening.Code:[root@ logs]# netstat -an | grep 6969 tcp 0 0 :::6969 :::* LISTEN
but when I add my ip:6969 inside the jconsole interface I get connection failed popup.
any idea what am I doing wrong?
thanks, ray.


Reply With Quote
