Hi

I have recently upgraded my cms library from activemq-cpp-library-3.4.5 to 
activemq-cpp-library-3.8.2.
with my application client using activemq-cpp-library-3.4.5 is able to connect 
to the broker without any issue.
But using latest  activemq-cpp-library-3.8.2 it is not able to connect to the 
broker. It is throwing exception. Following is stacktrace of my application

#0  0x000000341f80dda3 in ?? () from /lib64/libgcc_s.so.1
#1  0x000000341f80f92f in ?? () from /lib64/libgcc_s.so.1
#2  0x000000341f810646 in _Unwind_RaiseException () from /lib64/libgcc_s.so.1
#3  0x00007f268436cd01 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#4  0x00007f2683c1b101 in 
decaf::internal::util::concurrent::PlatformThread::createNewThread(unsigned 
long*, void* (*)(void*), void*, int, long long, long long*) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#5  0x00007f2683c1a693 in 
decaf::internal::util::concurrent::Threading::createNewThread(decaf::lang::Thread*,
 char const*, long long) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#6  0x00007f2683c4ae7f in 
decaf::lang::Thread::initializeSelf(decaf::lang::Runnable*, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, 
long long) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#7  0x00007f2683c4b0df in decaf::lang::Thread::Thread(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#8  0x00007f2683c84724 in decaf::util::Timer::Timer(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#9  0x00007f2683b1d978 in 
activemq::transport::inactivity::InactivityMonitorData::InactivityMonitorData(decaf::lang::Pointer<activemq::wireformat::WireFormat,
 decaf::util::concurrent::atomic::AtomicRefCounter>) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#10 0x00007f2683b1cabe in 
activemq::transport::inactivity::InactivityMonitor::InactivityMonitor(decaf::lang::Pointer<activemq::transport::Transport,
 decaf::util::concurrent::atomic::AtomicRefCounter>, decaf::util::Properties 
const&, decaf::lang::Pointer<activemq::wireformat::WireFormat, 
decaf::util::concurrent::atomic::AtomicRefCounter>) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#11 0x00007f2683b2b075 in 
activemq::transport::tcp::TcpTransportFactory::doCreateComposite(decaf::net::URI
 const&, decaf::lang::Pointer<activemq::wireformat::WireFormat, 
decaf::util::concurrent::atomic::AtomicRefCounter>, decaf::util::Properties 
const&) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#12 0x00007f2683b29225 in 
activemq::transport::tcp::TcpTransportFactory::create(decaf::net::URI const&) 
() from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18
#13 0x00007f2683936d41 in 
activemq::core::ActiveMQConnectionFactory::doCreateConnection(decaf::net::URI 
const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&) () from 
/tools/apache-activemq/activemq-cpp-library-3.8.2/lib/libactivemq-cpp.so.18



Can anyone please tell why the exceptions is thrown in createNewThread at decaf 
level??
How to overcome this?

Regards,
Suresh Bolla bathula




________________________________
The information transmitted herein is intended only for the person or entity to 
which it is addressed and may contain confidential, proprietary and/or 
privileged material. Any review, retransmission, dissemination or other use of, 
or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
in error, please contact the sender and delete the material from any computer.




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/activemq-cpp-library-3-8-2-client-throwing-exception-while-connecting-to-the-broker-tp4682968.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to