Free since 2005 · No login required
AT

Academic Tutorials

Learn at your own pace

site-mobile-top-banner · 320x50

Deployment Tasks

Added 31 Jul 2008

JBoss AS Installation Instructions

One of the strengths offered by JBoss AS is its ease of installation. To install JBoss AS, do the following:

1. Download the latest revision at http://labs.jboss.com/portal/jbossas/download.

JBoss AS is distributed in the form of a .zip file to avoid incompatibilities between various versions of tar.

2. Unzip the distribution to the desired location. Recommended installation directories are /opt or /home/jboss for the Solaris OS.

root@host# unzip jboss-4.0.4.GA.zip

That's it! You should now have a directory called jboss-4.0.4.GA. JBoss AS is ready to run.

JBoss AS Configuration Instructions

JBoss AS stores its configuration under $JBOSS_HOME/server. After unzipping the distribution, you should see three subdirectories there. Each of these directories is a different JBoss AS configuration. Here is a short description of each of the default configurations.

  • all -- This configuration has all JBoss AS features enabled, including clustering.
  • default -- This configuration will be suitable for most developers and many single-instance production environments.
  • minimal -- This is a bare-bones configuration that includes the JBoss microkernel and a few core services. Use this configuration to add features as you need them.

After you have chosen the configuration you will be using, you should probably make a working copy of it where you can make your changes.

# cp -r default myconfig

Now you can use the command $JBOSS_HOME/bin/run.sh -c myconfig to start JBoss AS using your configuration.

Another of the strengths that JBoss AS can offer is the extensive number of possible configurations. Because every feature in JBoss AS is a pluggable module, you can remove or add features as needed. For advanced configuration, see the JBoss Application Server Guide at http://labs.jboss.com/portal/jbossas/docs.