Description
i have a network of brokers configured with four nodes where each node knows the other three nodes through the networkConnector config. two of these four nodes are currently down/unavailable. the other two nodes are working for about four hours then they die. in the log file i see a lot of entries like this one:
2010-07-05 00:53:01,741 | ERROR | Could not stop service: tcp://null:0. Reason: java.lang.NullPointerException | org.apache.activemq.transport.nio.NIOTransport | Simple Discovery Agent: java.util.concurrent.ThreadPoolExecutor$Worker@f782b1
java.lang.NullPointerException
at org.apache.activemq.transport.nio.NIOTransport.doStop(NIOTransport.java:152)
at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69)
at org.apache.activemq.transport.tcp.TcpTransport.stop(TcpTransport.java:500)
at org.apache.activemq.transport.InactivityMonitor.stop(InactivityMonitor.java:121)
at org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
at org.apache.activemq.transport.WireFormatNegotiator.stop(WireFormatNegotiator.java:91)
at org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
at org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64)
at org.apache.activemq.transport.ResponseCorrelator.stop(ResponseCorrelator.java:132)
at org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43)
at org.apache.activemq.network.DiscoveryNetworkConnector.onServiceAdd(DiscoveryNetworkConnector.java:134)
at org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent$1.run(SimpleDiscoveryAgent.java:164)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619