When you use the IP address 0.0.0.0, JBoss AS connects to all IP address on the machine, including localhost. Therefore, you will run into port conflicts. Try using "-b xxx.xxx.xxx.xxx" instead, where xxx.xxx.xxx.xxx is the IP address of the machine. Note that when you do that you will not have localhost access to that server.
The only other possibility is to use different port numbers.