How to run multiple instances of JBoss in a one single machine?

前端 未结 9 1591
眼角桃花
眼角桃花 2020-12-07 23:30

I need to run multiple(more than 4) instances of JBoss server on a single machine. I am using JBoss 4.2.3 GA.

9条回答
  •  -上瘾入骨i
    2020-12-08 00:08

    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

提交回复
热议问题