Problems to connect Java visualVM to a EC2-instance
- by kasten
I'm trying to profile a AWS EC2 instance via visualVM.
The instance is in a securitygroup which allows all connections and i'm runing jstatd with a
grant codebase "file:${java.home}/../lib/tools.jar" {
permission java.security.AllPermission;
};
policy on it.
When i try to connect from my local machine with visulVM nothing happens. When i…