[
https://issues.apache.org/activemq/browse/AMQCPP-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQCPP-221.
-------------------------------
Resolution: Duplicate
This is an issue that has arisen in the past, the fixes for this have gone into
the later 2.2.x releases, upgrading to the latest 2.2.3 release should resolve
the problem.
> "No valid response received for command: %s, check broker.") at
> ./activemq/transport/CommandIOException.h:67
> ------------------------------------------------------------------------------------------------------------
>
> Key: AMQCPP-221
> URL: https://issues.apache.org/activemq/browse/AMQCPP-221
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Affects Versions: 2.1.3
> Environment: Linux orion 2.6.18-53.el5 #1 SMP Mon Nov 12 02:14:55 EST
> 2007 x86_64 x86_64 x86_64 GNU/Linux
> #CentOS release 5 (Final)
> redhat-4
> Reporter: Wolfgang.Klein
> Assignee: Timothy Bish
> Priority: Minor
> Attachments: core.21565.gz, main.cpp
>
>
> All activemq c++ clients core after missing a response from the broker. It
> seems that the broker is in a bad state.
> Here i have used the code from
> /opt/apache-activemq-5.1.0/activemq-cpp-2.1.3-src/src/examples/main.cpp of
> the download software.
> #0 0x0000003dcc476090 in strlen () from /lib64/libc.so.6
> #1 0x0000003dcc44602b in vfprintf () from /lib64/libc.so.6
> #2 0x0000003dcc4671fa in vsnprintf () from /lib64/libc.so.6
> #3 0x00002aaaaac00c2f in
> activemq::exceptions::ActiveMQException::buildMessage (this=Variable "this"
> is not available.
> ) at activemq/exceptions/ActiveMQException.cpp:76
> #4 0x00002aaaaac13708 in CommandIOException (this=0x17c39e60,
> file=0x2aaaaad31160 "activemq/transport/filters/ResponseCorrelator.cpp",
> lineNumber=146,
> msg=0x2aaaaad31198 "No valid response received for command: %s, check
> broker.") at ./activemq/transport/CommandIOException.h:67
> #5 0x00002aaaaac623c2 in
> activemq::transport::filters::ResponseCorrelator::request (this=Variable
> "this" is not available.
> ) at activemq/transport/filters/ResponseCorrelator.cpp:148
> #6 0x00002aaaaac38c1a in
> activemq::connector::openwire::OpenWireFormatNegotiator::request
> (this=0x17c37660, command=0x17c38d28)
> at activemq/connector/openwire/OpenWireFormatNegotiator.cpp:102
> #7 0x00002aaaaac3fe2f in
> activemq::connector::openwire::OpenWireConnector::syncRequest (this=Variable
> "this" is not available.
> ) at activemq/connector/openwire/OpenWireConnector.cpp:1349
> #8 0x00002aaaaac41511 in
> activemq::connector::openwire::OpenWireConnector::send (this=0x17c35cc0,
> message=Variable "message" is not available.
> )
> at activemq/connector/openwire/OpenWireConnector.cpp:838
> #9 0x00002aaaaabd994c in activemq::core::ActiveMQSession::send
> (this=Variable "this" is not available.
> ) at activemq/core/ActiveMQSession.cpp:673
> #10 0x00002aaaaabe52c0 in activemq::core::ActiveMQProducer::send
> (this=0x17c38c70, destination=Variable "destination" is not available.
> ) at activemq/core/ActiveMQProducer.cpp:192
> #11 0x00002aaaaabe4dea in activemq::core::ActiveMQProducer::send (this=0x4,
> destination=0x2aaaaad311c0, message=0x43203b98)
> at activemq/core/ActiveMQProducer.cpp:147
> #12 0x00002aaaaabe50fb in activemq::core::ActiveMQProducer::send
> (this=0x17c38c70, message=0x17c38d20) at
> activemq/core/ActiveMQProducer.cpp:106
> #13 0x00000000004034e0 in HelloWorldProducer::run (this=0x7ffffc892390) at
> main.cpp:111
> #14 0x00002aaaaabff0e0 in activemq::concurrent::Thread::runCallback
> (param=Variable "param" is not available.
> ) at activemq/concurrent/Thread.cpp:152
> #15 0x0000003dcd0062e7 in start_thread () from /lib64/libpthread.so.0
> #16 0x0000003dcc4ce3bd in clone () from /lib64/libc.so.6
> (gdb) info thread
> 9 process 21565 0x0000003dcd0075a5 in pthread_join () from
> /lib64/libpthread.so.0
> 8 process 21566 0x0000003dcd00a687 in pthread_cond_timedwait@@GLIBC_2.3.2
> () from /lib64/libpthread.so.0
> 7 process 21569 0x0000003dcd00a496 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> 6 process 21571 0x0000003dcc4cee41 in recv () from /lib64/libc.so.6
> 5 process 21579 0x0000003dcd00a496 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> 4 process 21585 0x0000003dcd00a496 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> 3 process 21586 0x0000003dcc4cee41 in recv () from /lib64/libc.so.6
> 2 process 21594 0x0000003dcd00a496 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib64/libpthread.so.0
> * 1 process 21584 0x0000003dcc476090 in strlen () from /lib64/libc.so.6
> I assume that the command object is created by another thread which dies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.