How to define multiple jboss 7 server instances based on the standalone folder using eclipse juno and jboss tools 4.0

Assume you are developping applications on your PC...

You might want to do deploy multiple instances when you need to deploy two applications, each one having different configuration.

Another reason might be that you have two applications that must be running but one of these will be stopped and restarted often while the other one could stay up. If the application which could stay up takes a while to deploy, you definitely prefer to run it in a different server instance.

It is true that we can deploy all applications in the same JBoss instance.

But sometimes, we need to isolate a specific instance with specific configuration files.

In previous versions of the JBoss server, all we had to do was to copy “server/default” to “server/foo” + provide an offset for ports.