Changing the Socket Bindings for JBoss AS7

From Daya Bay

Jump to: navigation, search

For JBoss AS7 (7.1.1) you can change the socket binding by either editing the configuration file or specifying a the jboss.socket.binding.port-offset system property. The first of these is recommended.

To do this edit the standalone/configuration/standalone file. Go to the socket-binding-group element and change the default value for the port-offset attribute to something appropriate such as 100. In this case the web interface will now appear at:

http://localhost:8180/

Once the server is launched it management CLI can be accessed by using the suitable connect command. For example:

cd ~/server/jbboss-7.1.1-Final/bin
jboss-cli.sh
connect localhost:10099
...
quit
Personal tools