By default, application's JMX MBeans aren't accessible outside of JVM. Some changes in an application server configuration are required to make JMX Beans accessible.
This section describes how to configure a JMX Connector for development and testing. Thus authentication may be disabled. For production deployment, authentication should be enabled. For more information, see for example Password Authentication.
Configurations and possible problems: