Introduction to JBoss
Added 31 Jul 2008
Introduction
This document serves as a starting point for the deployment of the JBoss Application Server (JBoss AS) on Sun Fire T2000 server systems. Since general documents about JBoss AS and the Sun Fire T2000 server already exist, only links to those documents will be provided. The rest of this document provides tuning recommendations specific to JBoss AS on the Sun Fire T2000 server.
JBoss AS is a Java 2 Platform, Enterprise Edition (J2EE) certified platform for developing and deploying enterprise Java applications, web applications, and portals. JBoss AS provides the full range of J2EE 1.4 features as well as extended enterprise services, including clustering, caching, and persistence.
Sun Fire T2000 Server Introduction
Here is an excerpt of sun.com's description of the Sun Fire T2000 server:
- Record-breaking performance, unequaled energy efficiency, and space-saving compute density
- Award-winning 4 or 8 core UltraSPARC T1 processor, supporting 16 or 32 simultaneous threads (UltraSPARC T1 architecture is SPARC V9 compliant)
- Support for Solaris 10 and Linux operating systems (software applications written to the Solaris Application Binary Interface can run on new UltraSPARC T1-based systems without modification)
For more information on the Sun Fire T2000 server, including benchmarks and the SwaP (Space, Watts and Performance) metric, see sun.com.
Deployment Tasks
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.