geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han Hong Fang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GERONIMO-6099) Can't connect to Jconsole via secure JMX Connector
Date Thu, 28 Jul 2011 05:29:09 GMT
Can't connect to Jconsole via secure JMX Connector
--------------------------------------------------

                 Key: GERONIMO-6099
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6099
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 3.0
            Reporter: Han Hong Fang
            Assignee: Han Hong Fang
             Fix For: 3.0


Steps to reproduce the issue:
1. Modify var/config.xml as below:
<gbean name="JMXService"> --> <gbean name="JMXService" load="false">
<module name="org.apache.geronimo.framework/jmx-security/2.1.1/car" load="false"> -->
<module name="org.apache.geronimo.framework/jmx-security/2.1.1/car">
2. Start server
3. Open a command window and set environment variable:
set GERONIMO_HOME=<PathToCEHome>
set GERONIMO_OPTS=-Djavax.net.ssl.keyStore="%GERONIMO_HOME%/var/security/keystores/geronimo-default"
-Djavax.net.ssl.keyStorePassword=secret -Djavax.net.ssl.trustStore="%GERONIMO_HOME%/var/security/keystores/geronimo-default"
-Djavax.net.ssl.trustStorePassword=secret
4.Run <PathToJDKHome>/bin/jconsole via the following command:
jconsole -J-Djavax.net.ssl.keyStore="%GERONIMO_HOME%\var\security\keystores\geronimo-default"
-J-Djavax.net.ssl.keyStorePassword=secret -J-Djavax.net.ssl.trustStore="%GERONIMO_HOME%\var\security\keystores\geronimo-default"
-J-Djavax.net.ssl.trustStorePassword=secret
5.Then It will pops up a JConsole GUI.
Connect the secure JMX connector via the following JMX URL.
On the dialog "Remote Process" of JConosle,  input these:
JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/JMXSecureConnector
User Name: system
Password: manager
Then click "connect"
6.Connection failed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message