Hi, I created a network connector from my local activemq to a remote activemq server with configuration below: <networkConnectors> <networkConnector name="connect_datacenter" uri="static://(tcp://a.b.c.d:62616)" duplex="true"/> </networkConnectors>
The problem is that sometime I got InactivityIOException and the connector never gets recovered after that. The communication between 2 servers is stopped until I recycle activemq on my local server. How can I avoid this? I expect one of the key function of MQ is to resume communication even there is network issue between local and remote brokers. but unfortunately this looks doesn't happen. Log from local server: INFO | RESTful file access application at http://0.0.0.0:8161/fileserver INFO | Started selectchannelconnec...@0.0.0.0:8161 WARN | Network connection between vm://null#0 and tcp:///a.b.c.d:62616 shu tdown due to a remote error: org.apache.activemq.transport.InactivityIOException : Channel was inactive for too long: /a.b.c.d:62616 INFO | Establishing network connection from vm://null to tcp://a.b.c.d:626 16 WARN | Broker localhost not started so using broker_local instead INFO | broker_local bridge to datacenter stopped INFO | Slow KahaDB access: cleanup took 1593 INFO | Slow KahaDB access: cleanup took 1250 Log from the remote server: INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 641 ms INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 657 ms INFO | Network connection between vm://datacenter#102 and tcp:///x.x.x.x :45142 shutdown due to a local error: java.net.SocketException: Software caused connection abort: socket write error INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 14422 m s INFO | Slow KahaDB access: cleanup took 15859 INFO | Network connection between vm://datacenter#102 and tcp:///x.x.x.x :45142 shutdown due to a local error: java.net.SocketException: Software caused connection abort: socket write error INFO | Connector vm://datacenter Stopped INFO | datacenter bridge to broker_local stopped WARN | failed to deliver remove command for local subscription, for remote ID:xxxxxxx-1404-1267022209265-0:1:1:1 org.apache.activemq.transport.TransportDisposedIOException: Transport disposed. at org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java: 76) at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.ja va:40) at org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorre lator.java:60) at org.apache.activemq.network.DemandForwardingBridgeSupport$8.run(Deman dForwardingBridgeSupport.java:638) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) INFO | Slow KahaDB access: cleanup took 640 INFO | Slow KahaDB access: cleanup took 969 -- View this message in context: http://old.nabble.com/Network-connector-gets-InactivityIOException-tp27714233p27714233.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.