title: Error when setting multiple ActiveMQ brokers in same machine
body: <p>I fallowed the exact steps in [1] in order to setup multiple ActiveMQ brokers in the same server. 
  When I start the second instance I always get the same error.</p>
  
  <p>One thing I noticed is configurations on both instances are same. for instance configurations like port s are same in both activemq.xml and jetty.xml.</p>
  
  <p>I even change the ports of the second instance so it won't get crashed with the first intance. But I get the same Exception.</p>
  
  <p><a href="https://sbforge.org/display/BITMAG/Running+multiple+activemq+instances+on+the+same+server" rel="nofollow">https://sbforge.org/display/BITMAG/Running+multiple+activemq+instances+on+the+same+server</a></p>
  
  <p>INFO | Apache ActiveMQ 5.9.0 (instance1, ID:udara-54224-1391513355578-0:1) is shutdown
   INFO | Closing org.apache.activemq.xbean.XBeanBrokerFactory$1@33e228bc: startup date [Tue Feb 04 06:29:14 EST 2014]; root of context hierarchy
   WARN | Exception thrown from LifecycleProcessor on context close
  java.lang.IllegalStateException: <strong>LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context:</strong> org.apache.activemq.xbean.XBeanBrokerFactory$1@33e228bc: startup date [Tue Feb 04 06:29:14 EST 2014]; root of context hierarchy
      at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:360)
      at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1057)
      at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)
      at org.apache.activemq.hooks.SpringContextHook.run(SpringContextHook.java:30)
      at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:782)
      at org.apache.activemq.xbean.XBeanBrokerService.stop(XBeanBrokerService.java:122)
      at org.apache.activemq.broker.BrokerService.start(BrokerService.java:574)
      at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:73)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)</p>