Eclipse Helios 3.6.2
JBoss 5.0.1.GA
MAC OS X Snow Leopard
When Eclipse freezes and I must exit Eclipse and restart it, the JBoss instance that is running is stopped but the ports are not closed. It's not a clean shutdown. Therefore, when I open Eclipse again and try to start JBoss, there is one port conflict after the other. I went to bindings.xml and changed all the ports one time; but, of course, that's not reasonable each time Eclipse crashes.
In shutdown.sh, JBOSS_BOOT_CLASSPATH="$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jbossall-client.jar"
eclipse.ini:
-showsplash org.eclipse.platform
-vm /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
-vmargs -Xms512M -Xmx1024M -XX:PermSize=512M -XX:MaxPermSize 1024M
What can I do to cleanly shutdown JBoss after it is stopped? I've been working on this for a couple of weeks reinstalling JBoss several times, trying several releases of Eclipse and JBoss.
My goal is to execute the tutorial at
http://www.codeproject.com/KB/java/webservice-for-jboss.aspx
What is the best way to handle this?
Thank you very much!