Oracle® Identity Manager Installation Guide for Oracle Containers for J2EE Release 9.0 Part Number B32148-02 |
|
|
View PDF |
This chapter explains how to set up OC4J before installing Oracle Identity Manager and contains the following topics: You must perform the following tasks:
Oracle Identity Manager Release 9.0 for the OC4J application server requires that you use the JDK included with OC4J, which is version 1.5.0_06. Remove any older JDK versions from your system.
The following procedure explains how to verify that the correct version of the Java JDK will be used by Oracle Identity Manager. To verify on a Windows system:
Open a console window.
Enter java -version
For example, the information that appears should look like the following:
C:\>java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
After you have verified that Oracle Identity Manager is using the JDK included with the OC4J application server (refer to "Verifying the Java JDK Version" for more information), complete the following steps to set your environment variables:
Note:
The following instructions are for Windows. For UNIX or Linux, use the equivalent shell variable commands and settings.From the Windows Start Menu, select Settings, select Control Panel, select System, select Advanced, then select Environment Variables. In the scroll box labelled System Variables, select Path, then click Edit.
In the text box labelled Variable Value, 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:
<OC4J_HOME>\jdk\bin;%SystemRoot%\system32;%SystemRoot%;C:\Program Files
Click OK to commit your change.
In the scroll box labelled System Variables, search for JAVA_HOME. If it does not exist, complete Step a. If JAVA_HOME does exist, complete Step b.
Click New. In the text box labelled Variable Name, enter JAVA_HOME
. In the text box labelled Variable Value, enter the path to your JDK. Click OK to commit your entry, then click OK twice more to close the Environment Variables and System Properties dialogs, respectively.
Click Edit. Verify that the path to your JDK exists in the text box labelled Variable Value. If it does not exist, set Variable Value to the path for your JDK. Click OK to commit your entry, then click OK twice more to close the Environment Variables and System Properties dialogs, respectively.
Note:
A message may appear displaying a message asking if you want to update the JDK. Close this window without updating the JDK, as Oracle Identity Manager Release 9.0 for OC4J requires that you use the JDK included with OC4J.Perform the following steps to install OC4J for Oracle Identity Manager:
Install OC4J on the computer where you are going to install Oracle Identity Manager by using the OC4J application server documentation. After OC4J installs on the system, it will start automatically.
Stop OC4J.
Set the ORACLE_HOME system variable to the following:
c:\product\10.1.3.1\OracleAS_n
Note:
n is a variable that changes after each OC4J installation on the system. For example, if you have installed OC4J twice on the system, n will be 2.Start the OC4J application server.
You must install the latest OC4J JDBC drivers before installing Oracle Identity Manager on OC4J. The following is a list of the OC4J JDBC drivers required for Oracle Identity Manager on OC4J:
ojdbc14.jar
ojdbc14_g.jar
ojdbc14dms.jar
ojdbc14dms_g.jar
orail8n.jar
Use the following steps to acquire and apply the latest OC4J JDBC drivers:
Log in to Oracle Technology Network at the following URL:
Select Downloads from the horizontal menu at the top of the page.
In the Drivers section, select JDBC.
Select the Oracle Database 10g Release 2 (10.2.0.1.0) drivers option and accept the terms and conditions to download the drivers.
Use the following steps to install the OC4J JDBC drivers:
Log in to the Oracle Enterprise Manager 10g Application Server Control
Select Home from the Members section.
Select Administration from the horizontal navigation at the top.
Select the Shared Libraries: Manage the shared libraries of this OC4J instance option in the Administration Tasks section.
Click Create on the Shared Libraries page.
Enter oracle.jdbc
as the name for the shared library and 10.2.0.1.0
(or higher) as the shared library version. Click Next.
Click Add on the Create Shared Library: Add Archives page and browse to the location of the OC4J JDBC files. Select one of the OC4J JDBC files.
Click Continue and repeat Step g until you add all OC4J JDBC files.
Click Finish on the Create Shared Library: Add Archives page to install all the OC4J JDBC drivers.
After installing the OC4J JDBC drivers, the following is added to the <OC4J_HOME>/j2ee/home/config/server.xml file on UNIX or Linux, or to the <OC4J_HOME>\j2ee\home\config file on Windows:
<shared-library name="oracle.jdbc" version="10.2.0.1.0"> <code-source path="ojdbc14.jar"/> <code-source path="ojdbc14_g.jar"/> <code-source path="ojdbc14dms.jar"/> <code-source path="ojdbc14dms_g.jar"/> <code-source path="orai18n.jar"/> </shared-library>