conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml:
bean name="ServiceBindingManagementObject"定义多个端口系列(以base为基础增长100 200 300...)
ports-default
0
ports-01
100
ports-02
200
bean name=“StandardBindings” :
serviceName(jboss:service=Naming) bindingName(Port) port(1099)
serviceName(jboss:service=Naming) bindingName(RmiPort) port(1098)
serviceName(jboss:service=WebService) port(8083)
serviceName(jboss:service=HAJNDI) bindingName(Port) port(1100)
serviceName(jboss:service=HAJNDI) bindingName(RmiPort) port(1101)
serviceName(jboss.web:service=WebServer) port(8080)
启动server时指定:-Djboss.service.binding.set=ports-01
以上服务所有端口加100
转载于:https://blog.51cto.com/yingtju/711854