3 Replies Latest reply on Oct 26, 2017 11:45 PM by ptyagi_redhat.com

    Remote access to jboss-as-7.1.0

    shekarg

      Hi ,

       

      I am trying to do a remote connection to the jboss (server) from the  local system and  am unable to do it. i have tried multiple wasy and couldnot connect.

       

      When i do remote connection in the jconsole from the same server, i was able to do it but not from other system

       

      Can someone help me with how to connect remotely from other system using jmx/jconsole.

       

      used following...

       

      1. com.sun.management.jmxremote=false
      2. com.sun.management.jmxremote.port=8082
      3. com.sun.management.jmxremote.ssl=true
      4. com.sun.management.jmxremote.ssl.enabled.protocols=Default SSL/TLS protocol version
      5. com.sun.management.jmxremote.ssl.enabled.cipher.suites=Default SSL/TLS cipher suites
      6. com.sun.management.jmxremote.authenticate=True
      7. com.sun.management.jmxremote.authenticate=false
      8. com.sun.management.jmxremote.password.file= JRE/lib/management/jmxremote.password
      9. com.sun.management.jmxremote.access.file=JRE /lib/management/jmxremote.access
      10. com.sun.management.jmxremote.login.config=
        • 1. Re: Remote access to jboss-as-7.1.0
          ptyagi_redhat.com

          Check link Using jconsole to connect to JMX on AS7  to connect to JBoss using console.  Use the script provided in $JBOSS_HOME/bin/jconsole.sh and make sure to create Management user using $JBOSS_HOME/bin/add-user.sh.  Start Jboss server with the management bind address like ./standalone.sh -bmanagement 10.10.10.10. Run script $JBOSS_HOME/bin/jconsole.sh and set the remote connection URL as "service:jmx:remoting-jmx://10.10.10.10:9999" with username and password.

          • 2. Re: Remote access to jboss-as-7.1.0
            shekarg

            Hi,

             

            Thanks for the reply. i have another question. Let's say i have jboss (7.1.0) installed on Linux server and setup is done for remote access, Can i do remote access using jconsole/jmx from my local system/laptop with userid/pwd created. Also, I want to set up readonly access for one of the user, will that be possibel.

             

            Please let me know.

            • 3. Re: Remote access to jboss-as-7.1.0
              ptyagi_redhat.com

              Yes, to connect to JBoss using Jconsole remotely, set the remote connection URL as "service:jmx:remoting-jmx://10.10.10.10:9999" with username and password.