Client connectivity to Network of Brokers not working in 1.2.0+. Potential
issue in [ nms-activemq-openwire-generator ]
------------------------------------------------------------------------------------------------------------------------
Key: AMQNET-246
URL: https://issues.apache.org/activemq/browse/AMQNET-246
Project: ActiveMQ .Net
Issue Type: Bug
Components: NMS
Affects Versions: 1.2.0
Environment: Windows XP
ActiveMQ branch build of 1.2.1 (.NET 2.0 compatibility fixes)
.NET 2.0 client
Reporter: Beau Tateyama
Assignee: Jim Gomes
Setup:
- 2 brokers setup as a network of brokers (static network connectors between
both)
- client setup with failover transport:
activemq:failover:(tcp://localhost:61616,tcp://localhost:61617)
I recently upgraded to 1.2.0/1.21 and our client started having problems. At
first, it just looked like an issue with Advisory messages, but when I plugged
in a Tracer the client was throwing a lot of errors and warnings trying to
failover. I took a look at the source code and it looks like the cause is that
NetworkBridgeFilter no longer implements BooleanExpression in 1.2.0+. This
file is auto-generated by the nms-activemq-openwire-generator module.
Some Tracer Logs:
2010-04-05 10:17:27,309 [29] WARN g QClient.NMS.QNMSTrace - Transport failed
to tcp://localhost:61616/, attempting to automatically reconnect due to: Unable
to cast object of type 'Apache.NMS.ActiveMQ.Commands.NetworkBridgeFilter' to
type 'Apache.NMS.ActiveMQ.Commands.BooleanExpression'.
2010-04-05 10:17:27,309 [ 7] INFO g QClient.NMS.QNMSTrace - Restoring previous
transport connection.
2010-04-05 10:17:27,309 [ 7] INFO g QClient.NMS.QNMSTrace - Sending queued
commands...
2010-04-05 10:17:27,309 [27] ERROR g QClient.NMS.QNMSTrace - Unknown response
ID: 0 for response: Response[ commandId = 0, responseRequired = False,
CorrelationId = 1 ]
2010-04-05 10:17:27,325 [ 7] INFO g QClient.NMS.QNMSTrace - Successfully
reconnected to: tcp://localhost:61617/
2010-04-05 10:17:27,325 [27] ERROR g QClient.NMS.QNMSTrace - Unknown response
ID: 0 for response: Response[ commandId = 0, responseRequired = False,
CorrelationId = 3 ]
2010-04-05 10:17:27,325 [27] ERROR g QClient.NMS.QNMSTrace - Unknown response
ID: 0 for response: Response[ commandId = 0, responseRequired = False,
CorrelationId = 5 ]
2010-04-05 10:17:27,325 [27] ERROR g QClient.NMS.QNMSTrace - Unknown response
ID: 0 for response: Response[ commandId = 0, responseRequired = False,
CorrelationId = 2 ]
2010-04-05 10:17:27,325 [27] ERROR g QClient.NMS.QNMSTrace - Unknown response
ID: 0 for response: Response[ commandId = 0, responseRequired = False,
CorrelationId = 4 ]
2010-04-05 10:17:27,340 [27] ERROR g QClient.NMS.QNMSTrace - Unknown response
ID: 0 for response: Response[ commandId = 0, responseRequired = False,
CorrelationId = 6 ]
2010-04-05 10:17:27,340 [27] WARN g QClient.NMS.QNMSTrace - Transport failed
to tcp://localhost:61617/, attempting to automatically reconnect due to: Unable
to cast object of type 'Apache.NMS.ActiveMQ.Commands.NetworkBridgeFilter' to
type 'Apache.NMS.ActiveMQ.Commands.BooleanExpression'.
2010-04-05 10:17:27,340 [ 7] INFO g QClient.NMS.QNMSTrace - Restoring previous
transport connection.
2010-04-05 10:17:27,372 [ 7] INFO g QClient.NMS.QNMSTrace - Sending queued
commands...
2010-04-05 10:17:27,387 [ 7] INFO g QClient.NMS.QNMSTrace - Successfully
reconnected to: tcp://localhost:61616/
...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.