Oracle® Identity Manager Installation Guide for JBoss Release 9.0.3 Part Number B32460-01 |
|
|
View PDF |
This chapter explains how to set up JBoss before installing Oracle Identity Manager.
You must perform the following tasks described in this chapter:
Note:
See Chapter 9, "Deploying in a Clustered JBoss Configuration" for information about preparing to deploy Oracle Identity Manager in a JBoss cluster.You must have a certified version of the Java JDK installed to deploy Oracle Identity Manager on JBoss. Refer to the Oracle Identity Manager Release Notes to learn the certified version of the Java JDK and then use the following steps to verify that the correct version of the Java JDK has been installed on the system:
Open a console window.
Enter java -version
For example, the information that appears might look like the following:
C:\>java -version java version "1.4.2_12" Java(TM) 2 Runtime Environment, Standard Edition Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
Install JBoss on the computer where you are going to install Oracle Identity Manager. Consult your JBoss application server documentation for detailed installation procedures.
Perform the following procedures to set your environment variables:
Windows
To set environment variables on windows:
From the Windows Start Menu, select Settings, select Control Panel, select System, select Advanced, then select Environment Variables.
In the System Variables list, select Path, then click Edit.
In the Variable Value field, add the location of your JDK to the beginning of the existing path. For example, if your existing path is the following:
%SystemRoot%\system32;%SystemRoot%;C:\Program Files;
Change it to the following:
c:\j2sdk1.4.2_12\bin;%SystemRoot%\system32;%SystemRoot%;C:\Program Files
Click OK to commit your change.
In the System Variables list, search for JAVA_HOME.
If JAVA_HOME does not exist, complete Step a. If JAVA_HOME does exist, complete Step b.
Click New. In the Variable Name field, enter JAVA_HOME
. In the Variable Value field, enter the path to your JDK. Click OK to commit your entries, then click OK twice more to close the Environment Variables and System Properties windows.
Click Edit. Verify the path to your JDK exists in the Variable Value field. If the path to your JDK does not, enter the path to your JDK in the Variable Value field. Click OK to commit your entry, then click OK twice more to close the Environment Variables and System Properties windows.
For example: JAVA HOME=C:\jdk142_12
Note:
A window may appear displaying a message asking if you want to update the JDK. Close this window without updating the JDK.UNIX and Linux
To set environment variables on UNIX and Linux:
Set the JAVA HOME variable, for example:
export JAVA_HOME=/opt/jdk142_12
Export the path to the JAVA HOME variable, for example:
export PATH=$<JAVA_HOME>/bin:$PATH
After installing JBoss, configure the memory allocation for JBoss. The instructions for setting the memory parameters, which appear in the following sub-sections, depend on whether the application server host is running on Windows, or on UNIX or Linux.
To set JBoss memory on a Windows host:
Launch a plain-text editor and open the <JBOSS_HOME>\bin\run.bat file.
Locate the line that contains the following:
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
If necessary, uncomment this line, then change the minimum value to 512 MB and the maximum value to 1024 MB. The altered line should now read as follows:
set JAVA_OPTS=%JAVA_OPTS% -Xms512m –Xmx1024m
Save and close the run.bat file.
To set the memory allocation for JBoss on UNIX or Linux:
Open the <JBOSS_HOME>/bin/run.sh file in a text editor.
Locate the following line:
JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME"
Add the following new line immediately after the line shown in the preceding step:
JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx1024m"
Save and close the run.sh file.