You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Andrè <mo...@web.de> on 2011/07/02 18:36:55 UTC

broker shutdown all the time

if have configuirated an BrokerA<-> BrokerB connection, but it is always
doing this on and on ...
what does this error mean ? 


config A
<broker xmlns="http://activemq.apache.org/schema/core"
		brokerName="PdpAuthzServiceWrapper" persistent="false" useJmx="false">
		<networkConnectors>
			<networkConnector conduitSubscriptions="true"
				decreaseNetworkConsumerPriority="false" duplex="true"
				name="PdpAuthzServiceWrapper-DroolsCompliance-Connection"
uri="static://(tcp://localhost:61616)" />
			<networkConnector conduitSubscriptions="true"
				decreaseNetworkConsumerPriority="false" duplex="true"
				name="PdpAuthzServiceWrapper-PdpAuthzService-Connection"
uri="static://(tcp://localhost:61617)" />
		</networkConnectors>

	</broker>

config B
	<broker xmlns="http://activemq.apache.org/schema/core" persistent="false"
useJmx="false">
		<transportConnectors>
			<transportConnector uri="tcp://localhost:61616"/>
		</transportConnectors>
	</broker>


692090 [StartLocalBridge: localBroker=vm://localhost#50] INFO
org.apache.activemq.network.DemandForwardingBridgeSupport - Network
connection between vm://localhost#50 and
tcp:///127.0.0.1:48213(PdpAuthzServiceWrapper) has been established.
693200 [ActiveMQ Transport: tcp:///127.0.0.1:48213] INFO
org.apache.activemq.network.DemandForwardingBridgeSupport - Stopping network
bridge on shutdown of remote broker
693200 [ActiveMQ Transport: tcp:///127.0.0.1:48213] WARN
org.apache.activemq.network.DemandForwardingBridgeSupport - Network
connection between vm://localhost#50 and tcp:///127.0.0.1:48213 shutdown due
to a remote error: java.io.IOException: ShutdownInfo {commandId = 12,
responseRequired = false}
693200 [ActiveMQ Task-26] INFO org.apache.activemq.broker.TransportConnector
- Connector vm://localhost Stopped
693200 [ActiveMQ Task-26] INFO
org.apache.activemq.network.DemandForwardingBridgeSupport - localhost bridge
to PdpAuthzServiceWrapper stopped
716252 [ActiveMQ Transport: tcp:///127.0.0.1:48215] INFO
org.apache.activemq.broker.TransportConnector - Connector vm://localhost
Started
716262 [ActiveMQ Transport: tcp:///127.0.0.1:48215] INFO
org.apache.activemq.broker.TransportConnection - Started responder end of
duplex bridge
PdpAuthzServiceWrapper-DroolsCompliance-Connection@ID:abiege.bonn.tarent.de-39336-1309624045285-0:1
716262 [StartLocalBridge: localBroker=vm://localhost#52] INFO
org.apache.activemq.network.DemandForwardingBridgeSupport - Network
connection between vm://localhost#52 and
tcp:///127.0.0.1:48215(PdpAuthzServiceWrapper) has been established.

--
View this message in context: http://camel.465427.n5.nabble.com/broker-shutdown-all-the-time-tp4545203p4545203.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: broker shutdown all the time

Posted by Ashwin Karpe <ak...@fusesource.com>.
Hi,

Hmm, It seems your transport and network connectors use the same port as the
transport connectors in config B (tcp://localhost:61616).

Transport and networks connectors on the same machine for 2 different
brokers should use different ports since one of the two brokers will have
already captured the port.

In any case, this issue is not tied to Camel in any way.

Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
CamelOne 2011: http://fusesource.com/camel2011 
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/broker-shutdown-all-the-time-tp4545203p4551091.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: broker shutdown all the time

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

I think it is activemq related issue, you should ask this question in 
the activemq users mailing list.

On 7/3/11 12:36 AM, Andrè wrote:
> if have configuirated an BrokerA<->  BrokerB connection, but it is always
> doing this on and on ...
> what does this error mean ?
>
>
> config A
> <broker xmlns="http://activemq.apache.org/schema/core"
> 		brokerName="PdpAuthzServiceWrapper" persistent="false" useJmx="false">
> 		<networkConnectors>
> 			<networkConnector conduitSubscriptions="true"
> 				decreaseNetworkConsumerPriority="false" duplex="true"
> 				name="PdpAuthzServiceWrapper-DroolsCompliance-Connection"
> uri="static://(tcp://localhost:61616)" />
> 			<networkConnector conduitSubscriptions="true"
> 				decreaseNetworkConsumerPriority="false" duplex="true"
> 				name="PdpAuthzServiceWrapper-PdpAuthzService-Connection"
> uri="static://(tcp://localhost:61617)" />
> 		</networkConnectors>
>
> 	</broker>
>
> config B
> 	<broker xmlns="http://activemq.apache.org/schema/core" persistent="false"
> useJmx="false">
> 		<transportConnectors>
> 			<transportConnector uri="tcp://localhost:61616"/>
> 		</transportConnectors>
> 	</broker>
>
>
> 692090 [StartLocalBridge: localBroker=vm://localhost#50] INFO
> org.apache.activemq.network.DemandForwardingBridgeSupport - Network
> connection between vm://localhost#50 and
> tcp:///127.0.0.1:48213(PdpAuthzServiceWrapper) has been established.
> 693200 [ActiveMQ Transport: tcp:///127.0.0.1:48213] INFO
> org.apache.activemq.network.DemandForwardingBridgeSupport - Stopping network
> bridge on shutdown of remote broker
> 693200 [ActiveMQ Transport: tcp:///127.0.0.1:48213] WARN
> org.apache.activemq.network.DemandForwardingBridgeSupport - Network
> connection between vm://localhost#50 and tcp:///127.0.0.1:48213 shutdown due
> to a remote error: java.io.IOException: ShutdownInfo {commandId = 12,
> responseRequired = false}
> 693200 [ActiveMQ Task-26] INFO org.apache.activemq.broker.TransportConnector
> - Connector vm://localhost Stopped
> 693200 [ActiveMQ Task-26] INFO
> org.apache.activemq.network.DemandForwardingBridgeSupport - localhost bridge
> to PdpAuthzServiceWrapper stopped
> 716252 [ActiveMQ Transport: tcp:///127.0.0.1:48215] INFO
> org.apache.activemq.broker.TransportConnector - Connector vm://localhost
> Started
> 716262 [ActiveMQ Transport: tcp:///127.0.0.1:48215] INFO
> org.apache.activemq.broker.TransportConnection - Started responder end of
> duplex bridge
> PdpAuthzServiceWrapper-DroolsCompliance-Connection@ID:abiege.bonn.tarent.de-39336-1309624045285-0:1
> 716262 [StartLocalBridge: localBroker=vm://localhost#52] INFO
> org.apache.activemq.network.DemandForwardingBridgeSupport - Network
> connection between vm://localhost#52 and
> tcp:///127.0.0.1:48215(PdpAuthzServiceWrapper) has been established.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/broker-shutdown-all-the-time-tp4545203p4545203.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang