I need to run multiple(more than 4) instances of JBoss server on a single machine. I am using JBoss 4.2.3 GA.
Copy complete JBOSS setup to new location, and start new server with offset option, which will start server on existing ip and changing port to previously_configured_port+offset
standalone.bat -c standalone-full.xml -Djboss.socket.binding.port-offset=100
This command will make default jboss console 9990
to 10090
Now you can add your war file in new deployments folder and start deployment on new port