I had a weird problem where stopping the jboss appserver with MyEclipse always caused an error. The problem was a result of my moving the JNDI port to something other than the default 1099 (because NETBios was frequently stealing that port on boot up.)
If you ever move your JBoss JNDI port add the following as a shutdown argument to your JBoss appserver config under MyEclipse:
–server=<server>:<port>
where <server> is the jboss server machine, like “localhost” and <port> is your jndi port, like “21099”.