Hi, last version was working (two month ago), now after update, the client never can connect the servers. Logs rotate like this (but in if you use old code the connection goes fine):
[NMS][Info]Connecting to: failover:(tcp://192.168.4.127:61616,tcp://192.168.2.206:61616)</RT> [NMS][Info]Connecting to: failover:(tcp://192.168.4.127:61616,tcp://192.168.2.206:61616)</RT> [NMS][Info]Connecting to: failover:(tcp://192.168.4.127:61616,tcp://192.168.2.206:61616)</RT> [NMS][Debug]Reconnect was triggered but transport is not started yet. Wait for start to connect the transport.</RT> [NMS][Debug]FailoverTransport Started.</RT> [NMS][Debug]Creating reconnect task</RT> [NMS][Debug]Waking up reconnect task</RT> [NMS][Debug]Attempting connect to: tcp://192.168.4.127:61616/</RT> [NMS][Debug]Opening socket to: 192.168.4.127 on port: 61616</RT> [NMS][Debug]Connected to 192.168.4.127:61616 using InterNetwork protocol.</RT> [NMS][Debug]Parsing type: 1 with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller</RT> [NMS][Info]Restoring previous transport connection.</RT> [NMS][Info]Sending queued commands...</RT> [NMS][Debug]Parsing type: 2 with: Apache.NMS.ActiveMQ.OpenWire.V2.BrokerInfoMarshaller</RT> [NMS][Error]Connect fail to 'tcp://192.168.4.127:61616/': Object reference not set to an instance of an object.</RT> [NMS][Debug]Attempting connect to: tcp://192.168.2.206:61616/</RT> [NMS][Debug]Opening socket to: 192.168.2.206 on port: 61616</RT> [NMS][Debug]Connected to 192.168.2.206:61616 using InterNetwork protocol.</RT> [NMS][Info]Restoring previous transport connection.</RT> [NMS][Debug]Parsing type: 1 with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller</RT> [NMS][Info]Sending queued commands...</RT> [NMS][Debug]Parsing type: 2 with: Apache.NMS.ActiveMQ.OpenWire.V2.BrokerInfoMarshaller</RT> [NMS][Error]Connect fail to 'tcp://192.168.2.206:61616/': Object reference not set to an instance of an object.</RT> [NMS][Debug]Waiting 10ms before attempting connection.</RT> [NMS][Info]Waiting for transport to reconnect.</RT> [NMS][Debug]Attempting connect to: tcp://192.168.2.206:61616/</RT> [NMS][Debug]Opening socket to: 192.168.2.206 on port: 61616</RT> [NMS][Debug]Connected to 192.168.2.206:61616 using InterNetwork protocol.</RT> [NMS][Info]Restoring previous transport connection.</RT> [NMS][Debug]Parsing type: 1 with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller</RT> [NMS][Info]Sending queued commands...</RT> [NMS][Debug]Parsing type: 2 with: Apache.NMS.ActiveMQ.OpenWire.V2.BrokerInfoMarshaller</RT> [NMS][Error]Connect fail to 'tcp://192.168.2.206:61616/': Object reference not set to an instance of an object.</RT> [NMS][Debug]Attempting connect to: tcp://192.168.4.127:61616/</RT> [NMS][Debug]Opening socket to: 192.168.4.127 on port: 61616</RT> [NMS][Debug]Connected to 192.168.4.127:61616 using InterNetwork protocol.</RT> [NMS][Info]Restoring previous transport connection.</RT> [NMS][Debug]Parsing type: 1 with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller</RT> [NMS][Info]Sending queued commands...</RT> [NMS][Error]Connect fail to 'tcp://192.168.4.127:61616/': Object reference not set to an instance of an object.</RT> [NMS][Debug]Waiting 20ms before attempting connection.</RT> [NMS][Debug]Parsing type: 2 with: Apache.NMS.ActiveMQ.OpenWire.V2.BrokerInfoMarshaller</RT> [NMS][Debug]Attempting connect to: tcp://192.168.2.206:61616/</RT> [NMS][Debug]Opening socket to: 192.168.2.206 on port: 61616</RT> [NMS][Debug]Connected to 192.168.2.206:61616 using InterNetwork protocol.</RT> [NMS][Info]Restoring previous transport connection.</RT> [NMS][Debug]Parsing type: 1 with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller</RT> [NMS][Info]Sending queued commands...</RT> [NMS][Debug]Parsing type: 2 with: Apache.NMS.ActiveMQ.OpenWire.V2.BrokerInfoMarshaller</RT> [NMS][Error]Connect fail to 'tcp://192.168.2.206:61616/': Object reference not set to an instance of an object.</RT> [NMS][Debug]Attempting connect to: tcp://192.168.4.127:61616/</RT> [NMS][Debug]Opening socket to: 192.168.4.127 on port: 61616</RT> [NMS][Debug]Connected to 192.168.4.127:61616 using InterNetwork protocol.</RT> [NMS][Info]Restoring previous transport connection.</RT> [NMS][Debug]Parsing type: 1 with: Apache.NMS.ActiveMQ [NMS][Info]Sending queued commands...</RT> [NMS][Error]Connect fail to 'tcp://192.168.4.127:61616/': Object reference not set to an instance of an object.</RT> [NMS][Debug]Waiting 40ms before attempting connection.</RT> [NMS][Debug]Parsing type: 2 with: Apache.NMS.ActiveMQ.OpenWire.V2.BrokerInfoMarshaller</RT> [NMS][Debug]Attempting connect to: tcp://192.168.4.127:61616/</RT> [NMS][Debug]Opening socket to: 192.168.4.127 on port: 61616</RT> [NMS][Debug]Connected to 192.168.4.127:61616 using InterNetwork protocol.</RT> [NMS][Info]Restoring previous transport connection.</RT> [NMS][Debug]Parsing type: 1 with: Apache.NMS.ActiveMQ.OpenWire.V1.WireFormatInfoMarshaller</RT> [NMS][Info]Sending queued commands...</RT> [NMS][Error]Connect fail to 'tcp://192.168.4.127:61616/': Object reference not set to an instance of an object.</RT> -- View this message in context: http://www.nabble.com/C--client-form-repo-does-stop-working-with-failover-tp25045109p25045109.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
