activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: The Decaf Threading API is in a Shutdown State. Exception
Date Wed, 16 Nov 2011 20:06:56 GMT
On Wed, 2011-11-16 at 12:02 -0800, mrdiesel wrote:
> try{
>              if( session != NULL ) session->close();
>             if( connection != NULL ) connection->close();
>         }catch (CMSException& e) {e.printStackTrace();}
> 
> I m getting an exception as follows:
> 
> The Decaf Threading API is in a Shutdown State.
>         FILE: decaf/lang/Thread.cpp, LINE: 616
>         FILE: activemq/core/ActiveMQSession.cpp, LINE: 172
> 
> Why is this happening?
> 
> how can i avoid this? this is causing problems when i try to get more
> messages. 

My guess would be that you called shutdownLibrary before you destroyed
all the CMS resources, that's about the only reason I can think of that
you would be in this state.

> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/The-Decaf-Threading-API-is-in-a-Shutdown-State-Exception-tp4077689p4077689.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

-- 
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/




Mime
View raw message