karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anierb...@apache.org
Subject svn commit: r1128499 - /karaf/trunk/manual/src/main/webapp/users-guide/remote-console.conf
Date Fri, 27 May 2011 22:47:00 GMT
Author: anierbeck
Date: Fri May 27 22:46:59 2011
New Revision: 1128499

URL: http://svn.apache.org/viewvc?rev=1128499&view=rev
Log:
[KARAF-544] - Documentation on how to use the JMX console

Modified:
    karaf/trunk/manual/src/main/webapp/users-guide/remote-console.conf

Modified: karaf/trunk/manual/src/main/webapp/users-guide/remote-console.conf
URL: http://svn.apache.org/viewvc/karaf/trunk/manual/src/main/webapp/users-guide/remote-console.conf?rev=1128499&r1=1128498&r2=1128499&view=diff
==============================================================================
--- karaf/trunk/manual/src/main/webapp/users-guide/remote-console.conf (original)
+++ karaf/trunk/manual/src/main/webapp/users-guide/remote-console.conf Fri May 27 22:46:59
2011
@@ -97,6 +97,23 @@ h3. Disconnecting from a remote console
 
 To disconnect from a remote console, press {{Ctrl+D}}, {{shell:logout}} or simply {{logout}}
at the Karaf prompt.
 
+h3. Using a JConsole or Java VisualVM
+
+Another way of configuring or controlling your running Karaf is to use JConsoel or Java VisualVM.

+To connect to your running Karaf via JMX you can use the following URL: 
+{code}
+service:jmx:rmi://localhost:44444/jndi/rmi://localhost:1099/karaf-root
+{code}
+Make sure to use the credentials you are also using to connect to via SSH
+
+If you are connecting to another instance of your Karaf the following will give you an impression
on how this might be configured. 
+
+{code}
+service:jmx:rmi://localhost:${rmiServerPort}/jndi/rmi://localhost:${rmiRegistryPort}/karaf-${karaf.name}
+{code}
+
+The ports and the karaf instance name are configured in the org.apache.karaf.managment.cfg
file in /etc.  
+
 h2. Stopping a remote instance
 
 h3. Using the remote console 
@@ -112,4 +129,4 @@ h3. Using the karaf client
 To stop a remote instance using the Karaf client, run the following from the {{[karaf-install-dir]/lib}}
directory:
 {code}
 bin/client -u karaf -p karaf -a 8101 hostname osgi:shutdown
-{code}
+{code}
\ No newline at end of file



Mime
View raw message