Chapter 4. Installing and Upgrading the JBoss ON Server on Windows
4.1. Preparing for Installation
4.1.1. Setting up the JDK
- Download and install the appropriate version of Java, if necessary.
- Set the
JAVA_HOMEenvironment variable to the installation directory.
C:\>set JAVA_HOME=C:\Program Files (x86)\JavaThe default Java service wrapper included with JBoss ON requires a 32-bit JVM, so the Java preference set for the server must be a 32-bit JDK. The JBoss ON server must use a 32-bit JVM even on 64-bit systems.
- Set the system to use the
bindirectory of the correct version of the JDK.
C:>set path C:\Program Files\Java\jdk1.6.0_29\bin
- Set the classpath to the of the correct version of the JRE distribution.
C:>set classpath C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
4.1.2. JVM for Running as a Service
4.1.3. Preparing the Host Machine
- Synchronize machine clocks. All JBoss ON servers and agents must have synchronized clocks. Clock variations cause issues in availability reporting, metric measurements, graphing, and even identifying and importing resources into inventory. The Network Time Protocol project, http://www.ntp.org/, has information on installing and configuring NTP to ensure your clocks are synchronized.
- Configure the firewall to allow communication over the server and agent ports. Ensure the necessary ports have been opened to prevent the firewall from blocking the JBoss ON server and agents from communicating. The JBoss ON server typically uses port 7080, and the JBoss ON agents typically use port 16163.
4.1.4. Selecting Path Names
C:\Documents and Settings\myusername\jon-server.