activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Activemq not listening to 61613
Date Sat, 15 Oct 2016 05:01:34 GMT
The address [::0] is a new one on me  in  uri="stomp+nio://[::0]:61613 <stomp+nio://[::0]:61613>”
 - did you mean [::]  (without the trailing zero?)

I would try stomp+nio://0.0.0.0:61613 <stomp+nio://0.0.0.0:61613>  - which is IPv4 -
but usually the platform (Windows/Linux)  can handle dual ipv4 and ipv6 with no problems.



> On 14 Oct 2016, at 08:21, maneeshmp <endejoli@gmail.com> wrote:
> 
> with the below simple configuration, I am not able to make activemq listen to
> 61613
> Service is running fine,
> sudo service activemq status
> * Checking status of ActiveMQ instance activemq                OK
> but
> netstat -an | grep 61613
> doesnt now return anything. What am i doing wrong? Can anyone help me?
> 
> 
> 
> <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">
> 
> 
>    <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"
>> 
> 
> 
>        <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>	  
> 
>    </broker>
> 
>> 
> 
> 89,1          Bot
> 
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Activemq-not-listening-to-61613-tp4717902.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message