Wiki Markup |
---|
{composition-setup} cloak.toggle.zone = true {composition-setup} |
Errors
Wiki Markup |
---|
{toggle-cloak:id= |
...
qManagementConsoleSecurity} |
...
How do I connect the management console to my broker using security ?
Wiki Markup |
---|
{cloak:id=qManagementConsoleSecurity} |
The Management Console Security page will give you the instructions that you should use to set this up.
Wiki Markup |
---|
{cloak} |
Wiki Markup |
---|
{toggle-cloak:id=rmiServerHostname} |
I am unable to connect Qpid JMX MC/JConsole to a remote broker running on Linux, but connecting to localhost on that machine works ?
Wiki Markup |
---|
{cloak:id=q1rmiServerHostname} |
There are two possibilities here:
1) The management server is not running on the broker / the specified port check the XML Configuration page for further details.
2) The management server running using JMX connectivity but the console is trying to use SASL for connections. This is the default configuration of the qpidmc.bat. Either adjust the config to use SASL:
No Format |
---|
<security-enabled>true</security-enabled>
|
The RMI based JMX ConnectorServer used by the broker requries two ports to operate. The console connects to an RMI Registry running on the primary (default 8999) port and retrieves the information actually needed to connect to the JMX Server. This information embeds the hostname of the remote machine, and if this is incorrect or unreachable by the connecting client the connection will fail.
This situation arises due to the hostname configuration on Linux and is generally encountered when the remote machine does not have a DNS hostname entry on the local network, causing the hostname command to return a loopback IP instead of a fully qualified domain name or IP address accessible by remote client machines. It is described in further detail at: http://java.sun.com/javase/6/docs/technotes/guides/management/faq.html#linux1
To remedy this issue you can set the java.rmi.server.hostname system property to control the hostname/ip reported to the RMI runtime when advertising the JMX ConnectorServer. This can also be used to dictate the address returned on a computer with multiple network interfaces to control reachability. To do so, add the value -Djava.rmi.server.hostname=<desired hostname/ip> to the QPID_OPTS environment variable before starting the qpid-server script.or remove the -Dsecurity=CRAM-MD5 from the command line in qpidmc.bat
Wiki Markup |
---|
{cloak} |