2 Replies Latest reply on Jan 21, 2010 10:27 AM by David Lloyd

    BeanMetaDataBuilder ignoring ignoreDestroy()?

    David Lloyd Master

      In jboss-threads, I call ignoreDestroy() on all ThreadGroup beans so that the ThreadGroup.destroy() method is never called.  However, when I deploy, undeploy, and redeploy a thread group, Threads which are subsequently added to the thread group cause an IllegalThreadState exception to be thrown from the thread group - indicating that it was in fact destroy()ed.  Interestingly, the ignoreStop() method seems to work, from what I can tell.  Am I seeing MC misbehaving (this is AS trunk), or some weird JDK auto-destroy behavior perhaps?