title: ActiveMQ doesn't recognize Stomp: Transport scheme NOT recognized: [stomp+ssl]
body: <p>I'm trying to set up mcollective/activemq on a puppetmaster (open source puppet).  I am having a problem where ActiveMQ does not recognize the Stomp protocol.  Here is the relevant snippet in my <code>/etc/activemq/instances-enabled/activemq/activemq.xml</code> file that should enable stomp+ssl:</p>
  
  <pre><code>&lt;transportConnectors&gt;
              &lt;transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/&gt;
              &lt;transportConnector name="stomp+ssl" uri="stomp+ssl://0.0.0.0:61614?needClientAuth=true&amp;amp;transport.enabledProtocols=TLSv1,TLSv1.1,TLSv1.2"/&gt;
  &lt;/transportConnectors&gt;
  </code></pre>
  
  <p>When I start ActiveMQ via <code>service activemq start</code>, I notice that the daemon doesn't end up running (I don't see it as a process).  Then I tried running <code>service activemq console activemq</code>, and it looks like the problem is that it can't find the stomp Transport scheme.   Here is the first error that I see in the output (and the error persists throughout the output):</p>
  
  <blockquote>
    <p>ERROR | Failed to start Apache
    ActiveMQ ([localhost,
    ID:my-servers-hostname.example.com-40447-1475514312306-0:1], java.io.IOException: Transport
    Connector could not be registered in
    JMX: java.io.IOException: Transport
    scheme NOT recognized: [stomp+ssl])</p>
  </blockquote>
  
  <p>ActiveMQ recognizes openwire just fine. When using openwire+ssl only, without using stomp+ssl, the ActiveMQ daemon starts fine with no errors.  However, when I try running <code>mco find</code>, I get an error because it seems that mco is still trying to use stomp+ssl (and ActiveMQ only has openwire+ssl enabled):</p>
  
  <blockquote>
    <p>error 2016/10/03 17:26:59: activemq.rb:149:in `on_ssl_connectfail' SSL session creation with stomp+ssl://mcollective@localhost:61614 failed: Connection refused - connect(2) for "localhost" port 61614</p>
  </blockquote>
  
  <p>Perhaps I need to adjust my mco config to use openwire instead of stomp?  I wasn't sure where or what file that configuration would be in.  Not sure why it doesn't recognize stomp, but I was wondering what my options are here.  Is it even possible to use MCollective/ActiveMQ using only openwire+ssl, or is using stomp a requirement if I want to use mco?  I don't think this is a port issue, as the relevant ports are open on the server I believe.</p>
  
  <p>Here are the relevant packages/versions installed on my machine:</p>
  
  <pre><code>OS: Ubuntu 16.04 (xenial)
  puppet: 4.7.0
  ActiveMQ: 5.13.2
  ruby-stomp: 1.3.5-1
  MCollective (mco) version: 2.9.0
  </code></pre>