3.3 Configuring RedHat JBoss 4.2.3

Installing Java

Prepare the application server by installing JDK 1.6.0 and JBoss 4.2.3.

  1. Download JDK 1.6.0 from http://java.sun.com/javase/downloads/.
  2. Install to the default location. This location will be referred to as $JAVA_HOME in the text to follow.

Installing JBoss

  1. Download JBoss from http://www.jboss.org/jbossas/downloads/. The download file is jboss-4.2.3.GA.zip. Be sure to download the Java 6 version if a seperate version is available.
  2. Unzip the file to a directory such as C:\jboss-4.2.3.GA. We will call this $JBOSS_HOME in the text below.
  3. To test your installation, set the JAVA_HOME and JBOSS_HOME environment variables. The run $JBOSS_HOME\bin\run.bat. Examine the command line output and correct any errors.
  4. Once JBoss has started, point a browser to http://localhost:8080 to verify that it is working. JBoss will listen on port 8080 by default.

Running JBoss as a Windows Service

JBoss can be run as a Service using the Java Service Wrapper from Tanuki Software. Download the Java Service Wrapper Community Edition from: http://wrapper.tanukisoftware.org/doc/english/download.jsp.

To install the wrapper, follow the instructions here: http://wrapper.tanukisoftware.com/doc/english/integrate-simple-win.html. The wrapper installation instructions describe how to set it up with JBoss.