See the AS 5 part of the discussion under the "Providing alternate ports for each instance of JBoss AS" section of http://www.jboss.org/community/wiki/ConfiguringMultipleJBossInstancesOnOneMachine. That;s most likely what you need.
For a whole lot of detail, see also http://www.jboss.org/community/wiki/AS5ServiceBindingManager
thank you very much!
I have a problem that the default sample-bindings.xml contains only four port configurations(ports-default, ports-01, ports-02, ports-03),but I want to define different port configurations for running more than four JBoss instances in parallel on the same machine.
Then how could I do?By adding new port configurations mannually?
Yes, add new port configurations manually.
Or, add virtual ips to some of your NICs and bind some of your instances to different IPs.