一台机器上运行多个jboss时修改端口号

jboss 自带的有几套解决方案
修改config 下的jboss-service.xml
原来是注释的默认端口是8080
中有几个选择  ports-01 , ports-02 , ports-03, ports-default

  <mbean code="org.jboss.services.binding.ServiceBindingManager"
     name="jboss.system:service=ServiceBindingManager">
     <attribute name="ServerName">ports-01</attribute>
     <attribute name="StoreURL">${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml</attribute>
     <attribute name="StoreFactoryClassName">
       org.jboss.services.binding.XMLServicesStoreFactory
     </attribute>
   </mbean>
 

你可能感兴趣的:(xml,jboss)