On Fri, 2010-10-29 at 10:00 -0700, qtaiwee wrote: > Platform : AIX 5.3 > Compiler : IBM XLC++ v9 > ActiveMQ-CPP : ver 3.2.3 > > Has anyone succesfully compiled ActiveMQ-CPP and run the example program on > AIX 5.3 using the IBM XLC++ v9 compiler ? > > The example program at src/examples/example(main.cpp) does not work and > hangs at around the line : > > consumer.waitUntilReady(); > > I did some debugging and found that it hangs at > src/activemq/transport/tcp/TcpTransport.cpp in the connect method at line > 107 > > socket->connect( host, port, connectTimeout ); > > There has been previous post in this forum on "dynamic casting problems on > aix" and i did encounter that problem > "TcpTransport::TcpTransport - transport must be of type IOTransport" but i > believe using the compiler > -qrtti=dynamic does resolve it. > > Appreciate any advice on this. Thanks. >
Not sure anyone has used AMQCPP on AIX. Have you stepped into the connect method to see if the code is making it into the APR socket API calls? Regards -- Tim Bish ------------ FuseSource Email: [email protected] Web: http://fusesource.com Twitter: tabish121 Blog: http://timbish.blogspot.com/
