Jboss AS 5.0.1 multiple instances on the same machine

If doing tests with multiple Jboss instances on the same machine, for example for clustering tests, each instance must use it’s own set of binding ports.

The easiest  way to do this is to pass the port binding through command line to the run.bat/run.sh, for example:

-Djboss.service.binding.set=ports-default

-Djboss.service.binding.set=ports-01

-Djboss.service.binding.set=ports-02

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s