3.3 Configuring RedHat JBoss 7

Installing Java

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

  1. Download JDK 1.6.0 from http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  2. Install to the default location. This location will be referred to as $JAVA_HOME in the text to follow.
Note: On Linux, Connect uses OpenJDK 6, which is available through each Linux distribution's package distribution mechanism. We recommend that you consult the documentation for each Linux distribution on how to install OpenJDK 6, as this installation information changes frequently.

Installing JBoss

  1. Download JBoss 7 from http://www.jboss.org/jbossas/downloads/.
  2. Unzip the file to a directory such as /opt/jboss-as-7.1.1.Final. We will call this $JBOSS_HOME in the text below.
  3. To test your installation, set the JAVA_HOME and JBOSS_HOME environment variables. Then run $JBOSS_HOME/bin/standalone.sh. 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 Service on UNIX

Follow the instructions here to run JBoss as a service on UNIX: https://community.jboss.org/wiki/HowToInstallJBossAS7AsALinuxService.