I have a cluster with two nodes, and I am trying to connect to those nodes with VisualVM or JConsole so I can check the health of the JVM. However, I cannot connect to the nodes, with JConsole it just says "Connection Failed" and with VisualVM it just continuously pops up the prompt for username and password. So it seems like it is not authenticating properly. I am using the admin username and password. What is strange is I can connect to the DAS JVM just fine remotely, it is just a problem with the nodes. Any ideas?
After some more research it appears that glassfish 3.1.2 (b23) has a bug in it that prevents JMX connections to remote instances (basically nodes in a cluster). At this point in time there is not a work around, and they are not sure if they are going to backport the fix to 3.1.2 Keep an eye on it. http://java.net/jira/browse/GLASSFISH-18450