* @return The relevant JMXServiceURL that is advertised by the
* portmapper.
*/
public JMXServiceURL getJMXServiceURL() throws JMException {
GenericPortMapperClient pmc;
JMXMQAddress mqAddr;
JMXServiceURL url;
String addr = null, urlString, host, connectorName;
int port;
try {
addr = getCurrentConfiguration().getProperty(
AdminConnectionConfiguration.imqAddress);
mqAddr = JMXMQAddress.createAddress(addr);
host = mqAddr.getHostName();
port = mqAddr.getPort();
connectorName = mqAddr.getServiceName();
/*
System.out.println("ACF: address used: " + addr);
System.out.println("\thost: " + host);
System.out.println("\tport: " + port);