jboss启动多个实例

1.cp -rp  $jboss_Home /server/defaul    $jboss_Home /server/ftweb
2.改端口
 vi /usr/local/jboss/server/yourconf/deploy/jbossweb.sar/server.xml
  修改默认端口8080为9191,8443为9554,8009为9110
  vim $jboss_Home/server/yourconf/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml
    web service port:8083-->9194
    JNP server port: 1099-->2100
    RMIObject port:4444--->5555
    ServerBind port:4445-->5556
3.启动jboss
   /usr/local/jboss/bin/run.sh -b 192.168.50.1 -c ftweb
4.关闭jboss
     关闭jboss:./shutdown.sh -s jnp://192.168.50.1:1099
     关闭jboss:./shutdown.sh -s jnp://192.168.50.1:2100

你可能感兴趣的:(jboss,职场,实例,休闲)