如果使用 jconsole (或任何與 JMX 相容的用戶端),請考慮重新使用在 Application Server 啟動時一起啟動的標準 JMX Connector Server。
該伺服器啟動後,server.log 中會顯示與以下所示類似的行。您可連線至其中指定的 JMXServiceURL,並在成功提供憑證之後執行相同的管理/配置作業;例如:
[#|2004-11-24T17:49:08.203-0800|INFO|sun-appserver-ee8.1|javax.enterprise. system.tools.admin|_ThreadID=10;|ADM1501: Here is the JMXServiceURL for the JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://hostname:8686/management/ rmi-jmx-connector]. This is where the remote administrative clients should connect using the JSR 160 JMX Connectors.|#]
如需更多資訊,請參閱「Sun Java System Application Server 8.2 管理指南」。