5 posts categorized "jboss5"

02/25/2009

JBoss 5.0.1.GA Released

The first bug fix release in the JBoss 5.0 series was released today. Apparently there are more than 40 fixes in this release. Release notes and download locations are available at the community download site.

01/04/2009

Changing Default Port Numbers in JBoss AS 5.x

This post has been converted into a HOWTO document, which covers JBoss 4.x and 5.x. See HOWTO: Change Port Numbers in JBoss for more information.
With the 5.0 release of the JBoss Application Server (Download JBoss AS5 Here), the Bindings Manager is no longer an optional component.

Nestled inside the bootstrap directory, which is a subdirectory of your server instance's conf directory is a file named bindings.xml. This file, although laid out in a different XML format, duplicates the port assignments from the JBoss Application Server 4.0 Binding Manager. Interestingly, instead of specifying actual ports, there is a function in the file that increments the default port assignments by 100 if using the ports-01 setting, by 200 if using the ports-02 setting, and by 300 if using the ports-03 setting.

If you want to change your server's port assignments so that it uses ports from the ports-01 setting, all you need to do is append a switch to your run.sh|bat file. If we want to run an instance that listens on the ports-01 assigned ports, for example, add:
-Djboss.service.binding.set="ports-01"
to your run.sh|bat. That's all you need to do. Much easier than setting it up for JBoss Application Server 4.0.


JBoss at Work: A Practical Guide