Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a java application residing on centos machine. From our windows machine we plan to connect to the application. We have enabled jstatd and confirmed is running. The issue now is visual vm can never see the application for profiling? Any help on this?

share|improve this question
    
Are you seeing any errors? Have you turned off iptables on CentOS? –  Chida Aug 24 '12 at 4:39
    
yes I have all already put the port under the ip tables n update it accordingly. The user name and password must be my ssh details rite? The error is cannot connect to root@myip using service:jmx:rmi://myip:1099/jmxrmi? –  user132638 Aug 24 '12 at 5:15

1 Answer 1

JMX uses a lot of ports, and you'd typically have to tell the JVM to enable remote management.

Disable the firewall for all traffic from your ip and check your app is listening for JMX connections from the network.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.