title: JBoss 5.1.0. GA shutdown
body: <p>On a 5.1.0GA. server,at shutdown :</p>
  
  <p>Normally, when I call shutdown on the jboss, I would expect that the following happens:</p>
  
  <ol>
  <li><p>all MDBs do stop processing any further JMS</p></li>
  <li><p>all (Quartz) jobs are closing down</p></li>
  <li><p>jboss is shutting down itself</p></li>
  </ol>
  
  <p>However, it seems that the MDBs closing is not happening – at least this is not the first task, but the MDBs do still process</p>
  
  <p>messages though jboss did already start to close EJB components (which is actually bad) and thus the total shutdown takes really a while.There are several exceptions(NameNotFound) raised when lookup is made for objects that have been unbound from the JNDI tree.</p>
  
  <p>Can I force somehow the order in which components are stopped , and stop MDB's first?</p>