With the below simple configuration I am not able to make activemq listen 
to 61613.
Service starts ok

$sudo service activemq status
 * Checking status of ActiveMQ instance activemq                           
                                                                   [ OK ]
But 
$ netstat -an | grep 61613
 does not return anything.

Any help will be highly appreciated

Thanks,
Maneesh

*/etc/activemq/instances-enabled/main/activemq.xml *

<!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->

<beans
  xmlns="http://www.springframework.org/schema/beans";
  xmlns:amq="http://activemq.apache.org/schema/core";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core 
http://activemq.apache.org/schema/core/activemq-core.xsd";>

    <!-- Allows us to use system properties as variables in this 
configuration file -->
    <bean 
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>

    <broker xmlns="http://activemq.apache.org/schema/core";
            useJmx="false"
            brokerName="mytest.com"
            dataDirectory="${activemq.base}/data"
            schedulePeriodForDestinationPurge="6000"
           >

        <!--
            Configure message persistence for the broker. The default 
persistence
            mechanism is the KahaDB store (identified by the kahaDB tag).
            For more information, see:

            http://activemq.apache.org/persistence.html
        -->
        <persistenceAdapter>
            <kahaDB directory="${activemq.base}/data/kahadb"/>
        </persistenceAdapter>

      <destinationPolicy>
            <policyMap>
                <policyEntries>
                      <policyEntry topic=">" producerFlowControl="false" 
gcInactiveDestinations="false" memoryLimit="1mb"></policyEntry>
                      <policyEntry queue="*.reply.>" 
producerFlowControl="true" gcInactiveDestinations="true" 
inactiveTimoutBeforeGC="300000"></policyEntry>
                </policyEntries>
            </policyMap>
       </destinationPolicy>

       <plugins>
          <simpleAuthenticationPlugin>
              <users>
                  <authenticationUser username="client" password="abc" 
groups="servers,client,everyone"/>
                  <authenticationUser username="server" password="xyz=" 
groups="servers,everyone"/>
              </users>
          </simpleAuthenticationPlugin>

          <authorizationPlugin>
            <map>
              <authorizationMap>
                <authorizationEntries>
                      <authorizationEntry queue="mcollective.>" 
admin="clients" read="cliets" write="clients"></authorizationEntry>
                      <authorizationEntry topic="mcollective.>" 
admin="clients" read="cliets" write="clients"></authorizationEntry>
                      <authorizationEntry topic="mcollective.nodes" 
admin="servers" read="servers"></authorizationEntry>
                      <authorizationEntry topic="mcollective.reply" 
admin="servers" write="servers"></authorizationEntry>
                      <authorizationEntry topic="mcollective.*.agent" 
admin="servers" read="servers"></authorizationEntry>
                      <authorizationEntry 
topic="mcollective.registration.agent" admin="servers" read="servers" 
write="servers"></authorizationEntry>
                      <authorizationEntry topic="ActiveMQ.Advisory" 
admin="everyone" read="everyone" write="everyone"></authorizationEntry>
                </authorizationEntries>
              </authorizationMap>
            </map>
         </authorizationPlugin>
       </plugins>
       <transportConnectors>
          <transportConnector name="stomp+nio" 
uri="stomp+nio://[::0]:61613"/>
 </transportConnectors>  
      <!-- <import resource="jetty.xml"/> -->
    </broker>

>
                                                                            
                                                       89,1          Bot

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"mcollective-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mcollective-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to