activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: ActiveMQ cpp 3.5.0 not working on HPUX 11.31
Date Tue, 15 Jan 2013 22:05:40 GMT
On Tue, 2013-01-15 at 13:59 -0800, jeffrey wrote: 
> sorry, from my first post in the thread: it is during the shutdownLibrary
> call at the end of my program that has any problem.
> 
> The program is a simple driver, it creates some number of messages and send
> them all on the same queue to the same place.  It creates 1 thread to be the
> producer, like so:
> 
> SimpleProducer *producer = new SimpleProducer( brokerURI, destURI,
> messageType, recordInterval, instances, loops, loopTime, recordIntervalTime,
> timeout);
>     Thread producerThread(producer);
>     producerThread.start();
>     producerThread.join();
>     delete producer;
> 
> the destructor for SimpleProducer is expanded from the sample code to
> include new things in my class.
> This all worked just fine with 3.4.4, and 3.4.5, and it still works fine if
> I take out activemq::library::ActiveMQCPP::shutdownLibrary();
> at the bottom of the file.  But with it in, which im guessing is a good
> idea, it crashes.
> It provides no stack trace on its own, because the exception is not printed
> or rethrown,  but i did get out the error number and its meaning.
> 
> 
> I also have a simple receiver with two threads to receive two different
> queues, works mostly the same way, it also now crashed on the shutdown
> library call.

Recommend you create a test app and attach it to a Jira issue so the
complete app can be seen and tested.  

> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-cpp-3-5-0-not-working-on-HPUX-11-31-tp4661659p4661795.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message