Notifications
Clear all

[Solved] How do I run 2 JBoss servers simultaneously?

2 Posts
2 Users
0 Reactions
1,074 Views
0
Topic starter

I can't start a JBoss server when another server is already running because of port conflicts. How do I run 2 servers simultaneously?

2 Answers
0

In PLT 20.0 and later:

You can change the port prefix on a Platform instance. This will allow you to run more than one at the same time.

  1. Override the tomcat.port.prefix property in install-staging/local.properties. By default its value is 8 in build.properties; you can change it to a different prefix so it doesn't conflict with another. Change to anything in place of 8, for example 9, 10, etc:

    tomcat.port.prefix=9
    
  2. Run ant reconfigure-ports from install-staging.

  3. Restart your server.
  4. Access Command Center using http://localhost:90/oms .
0
Topic starter

In PLT 19.0 and earlier:

You can change the port prefix on a JBoss instance which will allow you to run more than one at the same time.

  1. Override the jboss.port.prefix property in install-staging/local.properties. By default its value is 8 in build.properties; you can change it to a different prefix so it doesn't conflict with another. Change to anything in place of 8, for example 9, 10, etc:

    jboss.port.prefix=9
    
  2. Run ant reconfigure-ports from install-staging.

  3. Restart your server.
  4. Access Command Center using http://localhost:90/oms .