Thursday, October 27, 2011

How to change the ports that JBoss uses

The easiest way is to simply pass a command line argument. This takes care of any desktop/laptop/development purposes.

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

 For more complete changes check out the official docs under, 1.7 The Service Binding Manager .

No comments: