Wrong forum. Please try the User Forums and read the READMEs first.
I didn't understand ur problem clearly. But, from my understanding, u want to run two instances of jboss in same machine at the same time. If i am correct, u can use the following steps.
Suppose, if u want run the two instances of jboss in default configuration,
1. Create a new configuration from default configuration.
2. In the new configuration u have created, comment out the "Service Binding" service in conf/jboss-service.xml
Now, u can run the two instance of jboss (default and newly created) from the same machine.
Thanks and Regards,