4.2. Installing the Server JAR File
- Log into the Windows machine as Administrator. The server and plug-in packages must be installed as the Administrator account.
- Stop any currently running JBoss ON instances.
WarningIf the new JBoss ON server will use a database that existing JBoss ON instances are also using, then all of the existing JBoss ON instances have to be stopped. Otherwise, the installer will hang when it tries to contact the database and the database is unavailable because it is in use by another JBoss ON server.
- Download the JBoss ON binaries from the Customer Support Portal.
- In the Customer Support Portal, click Software, and then select JBoss Operations Network in the product drop-down box.
- Download the JBoss Operations Network 3.1.2 Base Distribution package by clicking the Download icon.
- Create a directory for the server to be installed in.Use a relatively short name. Path names longer than 19 characters can cause problems running the server or executing some tasks.
- Unzip the server distribution to the desired installation directory.
C:> winzip32 -e jon-server-188.8.131.52.GA1.zip C:\jon\jon-server-184.108.40.206.GA1
- Set the directory path to the JDK installation for a 32-bit JDK. For example:
set RHQ_SERVER_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_29The 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.Running the server or agent with a 32-bit JVM does not in any way affect how JBoss ON manages other resources which may run with a 64-bit JVM. JBoss ON can still manage those resources and those resources can still use the 64-bit Java libraries for their own processes.
- Install the JBoss ON server as a Windows service. This action must be "Run as Administrator."
- Start the JBoss ON server. This action must be "Run as Administrator."