activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Connection to activemq broker is lost within one second
Date Tue, 16 May 2017 15:31:29 GMT
On 05/16/2017 11:12 AM, aragoubi wrote:
> I have an embedded broker, and I am connection a Paho client to it.
> This my broker config file :
>
>    <broker xmlns="http://activemq.apache.org/schema/core" useJmx="true"
> useShutdownHook="false"  brokerName="mimo.broker1">
>
>       <managementContext>
>         
>         <managementContext createConnector="false"/>
>       </managementContext>
> 	
>      <persistenceAdapter>
>         <kahaDB directory="activemq-data/kahadb"/>
> 	
>       </persistenceAdapter>
>
>      <transportConnectors>
> 	  <transportConnector name="ws+mqtt"
> uri="ws://0.0.0.0:1884?transport.useKeepAlive=true"/>	 	
>      </transportConnectors>	
>    </broker>
>
> When I connect my apache paho to my broker, connection is established but
> lost within only one second.
> I tried to connect instead to mosquito broker and connection is never lost.
>
> Could someone help me with this ?
>
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Connection-to-activemq-broker-is-lost-within-one-second-tp4726204.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

You need to provide enough information for people to be able to start to 
help you.

What's the broker version?
What do the broker logs say?
Did you update the log configuration to produce more information?
What do the client logs say?


-- 
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message