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

前端 未结 9 1600
眼角桃花
眼角桃花 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条回答
  •  再見小時候
    2020-12-08 00:14

    You can make things a lot simpler by simply changing the IP that the server is bound to.

    You will need to copy the entire jboss folder several times and configure run.bat to use the -b parameter on startup.

    If this is a Windows server and you're running jboss as a service, you might want to edit the service.bat for each instance too so that the servers all have different names in the services control panel.

    Part of the problem we ran into when trying to use different HTTP ports was that jboss uses 'lots' of ports for different purposes and it was a pain to edit all of these port numbers to be unique on each instance. By changing the bind address you can avoid this problem entirely.

提交回复
热议问题