private void doStart() throws JMException, IOException
{
_allowPortActivation = true;
Broker<?> broker = getBroker();
JmxPort<?> connectorPort = null;
RmiPort registryPort = null;
Collection<Port<?>> ports = broker.getPorts();
for (Port<?> port : ports)
{
if (port.getDesiredState() != State.ACTIVE)
{
continue;
}
if(isRegistryPort(port))
{
registryPort = (RmiPort) port;
registryPort.setPortManager(this);
if(port.getState() != State.ACTIVE)
{
port.start();
}