You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2008/02/03 00:04:36 UTC
[jira] Created: (AMQCPP-163) Durable Subscriber test fails
consistantly on linux and windows
Durable Subscriber test fails consistantly on linux and windows
---------------------------------------------------------------
Key: AMQCPP-163
URL: https://issues.apache.org/activemq/browse/AMQCPP-163
Project: ActiveMQ C++ Client
Issue Type: Bug
Components: Integration Tests
Affects Versions: 2.1.2
Reporter: Timothy Bish
Assignee: Nathan Mittler
Fix For: 2.2
The durable subscriber test seems to fail pretty consistently on windows and linux (not sure about Mac).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQCPP-163) Durable Subscriber test fails
consistantly on linux and windows
Posted by "dj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42458#action_42458 ]
dj commented on AMQCPP-163:
---------------------------
i met this problem too,whenever i got this exception, i can do nothing but restart the activemq server
> Durable Subscriber test fails consistantly on linux and windows
> ---------------------------------------------------------------
>
> Key: AMQCPP-163
> URL: https://issues.apache.org/activemq/browse/AMQCPP-163
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Integration Tests
> Affects Versions: 2.1.2
> Reporter: Timothy Bish
> Assignee: Nathan Mittler
> Fix For: 2.2
>
>
> The durable subscriber test seems to fail pretty consistently on windows and linux (not sure about Mac).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AMQCPP-163) Durable Subscriber test fails
consistantly on linux and windows
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish reassigned AMQCPP-163:
-----------------------------------
Assignee: Timothy Bish (was: Nathan Mittler)
> Durable Subscriber test fails consistantly on linux and windows
> ---------------------------------------------------------------
>
> Key: AMQCPP-163
> URL: https://issues.apache.org/activemq/browse/AMQCPP-163
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Integration Tests
> Affects Versions: 2.1.2
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 2.2
>
>
> The durable subscriber test seems to fail pretty consistently on windows and linux (not sure about Mac).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQCPP-163) Durable Subscriber test fails
consistantly on linux and windows
Posted by "dj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42527#action_42527 ]
dj commented on AMQCPP-163:
---------------------------
thank Timothy Bish for replying, my problem seems to be different from this. here is the description:
No valid response received for command: Begin Class = ActiveMQTextMessage
Begin Class = ActiveMQMessageBase
Value of ackHandler = 0
Value of redeliveryCount = 0
Value of properties = Begin Class PrimitiveMap:
Begin Class PrimitiveMap:
Begin Class = Message
Value of Message::ID_MESSAGE = 0
Value of ProducerId is Below:
Begin Class = ProducerId
Value of ProducerId::ID_PRODUCERID = 123
Value of ConnectionId = 27725c42-1c9c-45fb-94c8-5a0161025cf8
Value of Value = 0
Value of SessionId = 0
No Data for Class BaseDataStructure
End Class = ProducerId
Value of Destination is Below:
Begin Class = ActiveMQQueue
Begin Class = ActiveMQDestination
Value of exclusive = false
Value of ordered = false
Value of advisory = false
Value of orderedTarget = coordinator
Value of physicalName = perfect.mq
Value of options = Begin Class activemq::util::Properties:
End Class activemq::util::Properties:
No Data for Class BaseDataStructure
End Class = ActiveMQDestination
End Class = ActiveMQQueue
Value of TransactionId is Below:
Object is NULL
Value of OriginalDestination is Below:
Object is NULL
Value of MessageId is Below:
Begin Class = MessageId
Value of MessageId::ID_MESSAGEID = 110
Value of ProducerId is Below:
Begin Class = ProducerId
Value of ProducerId::ID_PRODUCERID = 123
Value of ConnectionId = 27725c42-1c9c-45fb-94c8-5a0161025cf8
Value of Value = 0
Value of SessionId = 0
No Data for Class BaseDataStructure
End Class = ProducerId
Value of ProducerSequenceId = 257
Value of BrokerSequenceId = 0
No Data for Class BaseDataStructure
End Class = MessageId
Value of OriginalTransactionId is Below:
Object is NULL
Value of OriginalTransactionId is Below:
Object is NULL
Value of GroupID =
Value of GroupSequence = 0
Value of CorrelationId =
Value of Persistent = 1
Value of Expiration = 0
Value of Priority = 4
Value of ReplyTo is Below:
Object is NULL
Value of Timestamp = 1209797812954
Value of Type = TEXT
Value of Content[0] = , check broker.
FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 146
FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 154
FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 105
FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1371
FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 848
FILE: activemq/core/ActiveMQSession.cpp, LINE: 675
FILE: activemq/core/ActiveMQProducer.cpp, LINE: 194
FILE: activemq/core/ActiveMQProducer.cpp, LINE: 149
FILE: activemq/core/ActiveMQProducer.cpp, LINE: 108
> Durable Subscriber test fails consistantly on linux and windows
> ---------------------------------------------------------------
>
> Key: AMQCPP-163
> URL: https://issues.apache.org/activemq/browse/AMQCPP-163
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Integration Tests
> Affects Versions: 2.1.2
> Reporter: Timothy Bish
> Assignee: Nathan Mittler
> Fix For: 2.2
>
>
> The durable subscriber test seems to fail pretty consistently on windows and linux (not sure about Mac).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQCPP-163) Durable Subscriber test fails
consistantly on linux and windows
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42516#action_42516 ]
Timothy Bish commented on AMQCPP-163:
-------------------------------------
The failure seems to occur on a call to unsubscribe in the test case. Not sure why this is causing an issue, we appear to be setting the correct information in the RemoveSubscriptionInfo message, but I can't say for sure if we are getting it marshaled over to the broker correctly yet.
> Durable Subscriber test fails consistantly on linux and windows
> ---------------------------------------------------------------
>
> Key: AMQCPP-163
> URL: https://issues.apache.org/activemq/browse/AMQCPP-163
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Integration Tests
> Affects Versions: 2.1.2
> Reporter: Timothy Bish
> Assignee: Nathan Mittler
> Fix For: 2.2
>
>
> The durable subscriber test seems to fail pretty consistently on windows and linux (not sure about Mac).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQCPP-163) Durable Subscriber test fails
consistantly on linux and windows
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41213#action_41213 ]
Timothy Bish commented on AMQCPP-163:
-------------------------------------
1) test: integration::connector::openwire::OpenwireDurableTest::test (F) line: 156 ../../../src/test-integration/integration/connector/openwire/OpenwireDurableTest.cpp
assertion failed
- Expression: false
- No valid response received for command: Begin Class = RemoveSubscriptionInfo
Value of RemoveSubscriptionInfo::ID_REMOVESUBSCRIPTIONINFO = 0
Value of ConnectionId is Below:
Begin Class = ConnectionId
Value of ConnectionId::ID_CONNECTIONID = 120
Value of Value = 9343984f-3c95-b9bd-89f6-ec14568d2eaf
No Data for Class BaseDataStructure
End Class = ConnectionId
Value of SubcriptionName = 1c41a7e2-98dc-610d-1eec-646b4c335784
Value of ClientId = 574d7448-5f22-d0b8-a04f-1a1d24ebd48a
Begin Class = BaseCommand
No Data for Class BaseDataStructure
Response Required = 1
Command Id = 28
End Class = BaseCommand
End Class = RemoveSubscriptionInfo
, check broker.
FILE: ../../../src/main/activemq/transport/filters/ResponseCorrelator.cpp, LINE: 151
FILE: ../../../src/main/activemq/transport/filters/ResponseCorrelator.cpp, LINE: 159
FILE: ../../../src/main/activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 106
FILE: ../../../src/main/activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1423
FILE: ../../../src/main/activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1193
FILE: ../../../src/main/activemq/core/ActiveMQSession.cpp, LINE: 782
> Durable Subscriber test fails consistantly on linux and windows
> ---------------------------------------------------------------
>
> Key: AMQCPP-163
> URL: https://issues.apache.org/activemq/browse/AMQCPP-163
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Integration Tests
> Affects Versions: 2.1.2
> Reporter: Timothy Bish
> Assignee: Nathan Mittler
> Fix For: 2.2
>
>
> The durable subscriber test seems to fail pretty consistently on windows and linux (not sure about Mac).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (AMQCPP-163) Durable Subscriber test fails
consistantly on linux and windows
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQCPP-163.
---------------------------------
Resolution: Fixed
The command generator did not generate an ID for the RemoveSubscriptionInfo command so it was getting treated as a WireFormatInfo command at the broker. Once I set the Command ID to the correct value everything works fine.
Fixed in SVN v. 658455
> Durable Subscriber test fails consistantly on linux and windows
> ---------------------------------------------------------------
>
> Key: AMQCPP-163
> URL: https://issues.apache.org/activemq/browse/AMQCPP-163
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Integration Tests
> Affects Versions: 2.1.2
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 2.2
>
>
> The durable subscriber test seems to fail pretty consistently on windows and linux (not sure about Mac).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.