You probably have to restart your clients as well?
in my app i start an invm consumer(with message handler) after the message node is started, it is in the same javavm with the hornetq server
Can't you stop your consumer before stopping the server?
What version again?
Can you produce a sample test easy to reproduce the issue?
but i did stop my invm consumer before stopping the server.
version: http://anonsvn.jboss.org/repos/hornetq/branches/one-offs/Hornetq_2_2_5_EAP_JBPAPP_7116 head revision
that was not reproducable, it appear sometime, but one thing im sure is that once i delete the binding dir, journal dir and lm dir before restart, the error would never show up