Highlighted
Flight Engineer
Flight Engineer
  • 536 Views

How to configure two standalone servers and what is the importance of the port set value.

Jump to solution

Hi all.

 

i want started learning Jboss Eap . 
how to configure 2 standalone profiles in same host ?.

what is portoffset , could you please exaplain in detail description with examples.

 

if anyone knows , could you please explain.  

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Flight Engineer
Flight Engineer
  • 510 Views

Re: How to configure two standalone servers and what is the importance of the port set value.

Jump to solution

Hi @Gunnar ,

 

Thank you for share. ๐Ÿ˜Š

 

Regards,

jeesshnasree

View solution in original post

0 Kudos
Reply
Loading...
2 Replies
Highlighted
Flight Engineer Flight Engineer
Flight Engineer
  • 521 Views

Re: How to configure two standalone servers and what is the importance of the port set value.

Jump to solution

Hi!

When using the "standalone" mode you can use the command-line flag "-c" to select which configuration file (aka "profile" in domain mode) you want to use. You can create more profiles by just copying one of the existing files "standalone.xml", "standalone-ha.xml" etc.

The port offset does exactly what its name implies: You can use this parameter to add its value to the predefined port numbers:

By default the management console will listen on port 9990 and workload will run on 8080. If you specify an offset of 10000 (-Djboss.socket.binding.port-offset=10000) management will lsiten on 19990 and your applications will be reachable on port 18080.

port-offset is typically used to make it possible to run more than one server on the same host and interface.

You'll find the detailed documentation including configuration examples in the reference documentation (https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.2/)

There is also http://www.mastertheboss.com with lots of configuration examples ...

Regards,

Gunnar

Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 511 Views

Re: How to configure two standalone servers and what is the importance of the port set value.

Jump to solution

Hi @Gunnar ,

 

Thank you for share. ๐Ÿ˜Š

 

Regards,

jeesshnasree

View solution in original post

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.