You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by narts <na...@devannetworks.com> on 2008/02/23 12:27:15 UTC
regarding failing of sending continous messages activemq 4.1.1 from
activemq-cpp 2.1.3
I am using activemq 4.1.1 when activemq-cpp 2.1.3 on windows 2003 server
Iam produsing durable persistent messages with activemq-cpp on to a topic
but when i am sending the continous messages, after sending some messages
the application is faling to send further messages and it is giving the
following excepion(iam using the same code as given in the example)
No valid response received for command: Begin Class = ActiveMQTextMessage
Begin Class = ActiveMQMessageBase
Value of ackHandler = 00000000
Value of redeliveryCount = 0
Value of properties = Begin Class PrimitiveMap:
map[Integer] = 0
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 = f05c302c-f13d-4e05-96d7-bc781f5045c5
Value of Value = 0
Value of SessionId = 0
No Data for Class BaseDataStructure
End Class = ProducerId
Value of Destination is Below:
Begin Class = ActiveMQTopic
Begin Class = ActiveMQDestination
Value of exclusive = false
Value of ordered = false
Value of advisory = false
Value of orderedTarget = coordinator
Value of physicalName = Topic12.Post
Value of options = Begin Class activemq::util::Properties:
End Class activemq::util::Properties:
No Data for Class BaseDataStructure
End Class = ActiveMQDestination
End Class = ActiveMQTopic
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 = f05c302c-f13d-4e05-96d7-bc781f5045c5
Value of Value = 0
Value of SessionId = 0
No Data for Class BaseDataStructure
End Class = ProducerId
Value of ProducerSequenceId = 5927
Value of BrokerSequenceId = 0
No Data for Class BaseDataStructure
End Class = MessageId
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 = 1203763712015
Value of Type =
Value of Content[0] = , check broker.
FILE: ..\src\main\activemq\transport\filters\ResponseCorrelator.cpp,
LINE: 146
FILE: ..\src\main\activemq\transport\filters\ResponseCorrelator.cpp,
LINE: 154
FILE:
..\src\main\activemq\connector\openwire\OpenWireFormatNegotiator.cpp, LINE:
105
FILE: ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp,
LINE: 1371
FILE: ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp,
LINE: 848
FILE: ..\src\main\activemq\core\ActiveMQSession.cpp, LINE: 675
FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 194
FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 149
FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 108
Please any body give me neccessary suggestions
Regards
narts
--
View this message in context: http://www.nabble.com/regarding-failing-of-sending-continous-messages-activemq-4.1.1-from-activemq-cpp-2.1.3-tp15651067s2354p15651067.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: regarding failing of sending continous messages activemq 4.1.1
from activemq-cpp 2.1.3
Posted by narts <na...@devannetworks.com>.
i think broker is not responding to message being sent
because the broker is alive and
after failing to respond iam reestablishing the connection with broker
and again sending messages and it is successfull.
but why message delivery failed i didn't understand...........
please anybody explain.
Regards
narts
Timothy Bish wrote:
>
>
> You generally see this when the broker goes down, or stops responding to
> the messages being sent.
>
> Regards
> Tim.
>
> On Sat, 2008-02-23 at 03:27 -0800, narts wrote:
>> I am using activemq 4.1.1 when activemq-cpp 2.1.3 on windows 2003 server
>> Iam produsing durable persistent messages with activemq-cpp on to a topic
>> but when i am sending the continous messages, after sending some messages
>> the application is faling to send further messages and it is giving the
>> following excepion(iam using the same code as given in the example)
>>
>> No valid response received for command: Begin Class = ActiveMQTextMessage
>> Begin Class = ActiveMQMessageBase
>> Value of ackHandler = 00000000
>> Value of redeliveryCount = 0
>> Value of properties = Begin Class PrimitiveMap:
>> map[Integer] = 0
>> 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 = f05c302c-f13d-4e05-96d7-bc781f5045c5
>> Value of Value = 0
>> Value of SessionId = 0
>> No Data for Class BaseDataStructure
>> End Class = ProducerId
>>
>> Value of Destination is Below:
>> Begin Class = ActiveMQTopic
>> Begin Class = ActiveMQDestination
>> Value of exclusive = false
>> Value of ordered = false
>> Value of advisory = false
>> Value of orderedTarget = coordinator
>> Value of physicalName = Topic12.Post
>> Value of options = Begin Class activemq::util::Properties:
>> End Class activemq::util::Properties:
>>
>> No Data for Class BaseDataStructure
>> End Class = ActiveMQDestination
>> End Class = ActiveMQTopic
>>
>> 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 = f05c302c-f13d-4e05-96d7-bc781f5045c5
>> Value of Value = 0
>> Value of SessionId = 0
>> No Data for Class BaseDataStructure
>> End Class = ProducerId
>>
>> Value of ProducerSequenceId = 5927
>> Value of BrokerSequenceId = 0
>> No Data for Class BaseDataStructure
>> End Class = MessageId
>>
>> 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 = 1203763712015
>> Value of Type =
>> Value of Content[0] = , check broker.
>> FILE:
>> ..\src\main\activemq\transport\filters\ResponseCorrelator.cpp,
>> LINE: 146
>> FILE:
>> ..\src\main\activemq\transport\filters\ResponseCorrelator.cpp,
>> LINE: 154
>> FILE:
>> ..\src\main\activemq\connector\openwire\OpenWireFormatNegotiator.cpp,
>> LINE:
>> 105
>> FILE:
>> ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp,
>> LINE: 1371
>> FILE:
>> ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp,
>> LINE: 848
>> FILE: ..\src\main\activemq\core\ActiveMQSession.cpp, LINE: 675
>> FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 194
>> FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 149
>> FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 108
>>
>> Please any body give me neccessary suggestions
>>
>>
>> Regards
>> narts
>>
>>
>
>
>
--
View this message in context: http://www.nabble.com/regarding-failing-of-sending-continous-messages-activemq-4.1.1-from-activemq-cpp-2.1.3-tp15651067s2354p15652128.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: regarding failing of sending continous messages activemq 4.1.1
from activemq-cpp 2.1.3
Posted by Timothy Bish <ta...@gmail.com>.
You generally see this when the broker goes down, or stops responding to
the messages being sent.
Regards
Tim.
On Sat, 2008-02-23 at 03:27 -0800, narts wrote:
> I am using activemq 4.1.1 when activemq-cpp 2.1.3 on windows 2003 server
> Iam produsing durable persistent messages with activemq-cpp on to a topic
> but when i am sending the continous messages, after sending some messages
> the application is faling to send further messages and it is giving the
> following excepion(iam using the same code as given in the example)
>
> No valid response received for command: Begin Class = ActiveMQTextMessage
> Begin Class = ActiveMQMessageBase
> Value of ackHandler = 00000000
> Value of redeliveryCount = 0
> Value of properties = Begin Class PrimitiveMap:
> map[Integer] = 0
> 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 = f05c302c-f13d-4e05-96d7-bc781f5045c5
> Value of Value = 0
> Value of SessionId = 0
> No Data for Class BaseDataStructure
> End Class = ProducerId
>
> Value of Destination is Below:
> Begin Class = ActiveMQTopic
> Begin Class = ActiveMQDestination
> Value of exclusive = false
> Value of ordered = false
> Value of advisory = false
> Value of orderedTarget = coordinator
> Value of physicalName = Topic12.Post
> Value of options = Begin Class activemq::util::Properties:
> End Class activemq::util::Properties:
>
> No Data for Class BaseDataStructure
> End Class = ActiveMQDestination
> End Class = ActiveMQTopic
>
> 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 = f05c302c-f13d-4e05-96d7-bc781f5045c5
> Value of Value = 0
> Value of SessionId = 0
> No Data for Class BaseDataStructure
> End Class = ProducerId
>
> Value of ProducerSequenceId = 5927
> Value of BrokerSequenceId = 0
> No Data for Class BaseDataStructure
> End Class = MessageId
>
> 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 = 1203763712015
> Value of Type =
> Value of Content[0] = , check broker.
> FILE: ..\src\main\activemq\transport\filters\ResponseCorrelator.cpp,
> LINE: 146
> FILE: ..\src\main\activemq\transport\filters\ResponseCorrelator.cpp,
> LINE: 154
> FILE:
> ..\src\main\activemq\connector\openwire\OpenWireFormatNegotiator.cpp, LINE:
> 105
> FILE: ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp,
> LINE: 1371
> FILE: ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp,
> LINE: 848
> FILE: ..\src\main\activemq\core\ActiveMQSession.cpp, LINE: 675
> FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 194
> FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 149
> FILE: ..\src\main\activemq\core\ActiveMQProducer.cpp, LINE: 108
>
> Please any body give me neccessary suggestions
>
>
> Regards
> narts
>
>