Thursday 8 March 2007

Installation of SAP JCo on an Oracle IAS 10.1.3.x on Linux

1) Unpack sapjco to /opt/SAP/SAPJCo.

2) Create the following symbolic links in $ORACLE_HOME/lib

oracle@barbara:~> ln -sf /opt/SAP/SAPJCo/librfccm.so $ORACLE_HOME/lib/librfccm.so
oracle@barbara:~> ln -sf /opt/SAP/SAPJCo/libsapjcorfc.so $ORACLE_HOME/lib/libsapjcorfc.so
3) Create an additional OC4J instance to host SAP enabled Java apps.
oracle@barbara:~> createinstance -instanceName OC4J_SAP
Creating OC4J instance "OC4J_SAP"...
Set OC4J administrator's password for "OC4J_SAP" (password text will not be displayed as it is entered)
Enter password:
Confirm password:
The password for OC4J administrator "oc4jadmin" has been set.
New OC4J instance "OC4J_SAP" has been created.
oracle@lachesis:~>

4) Navigate to the instance home page. Start the new instance and then click on the administration tab and select the Shared libraries.

5) Click on the Create button at the bottom of the page.

5.1) On the Create shared library attributes page enter SAPJCo for the library name and the corresponding SAPJCo version (eg 2.1.6) for the version. Click next

5.2) The following page is entitled “Create Shared Library: Add Archives”. Click on the Add button and insert the /opt/SAP/SAPJCo/sapjco.jar file. Click next

5.3) The final step is the page entitled “Create Shared Library: Import Shared Libraries”. You do not need any adjustments here. Just click finish.

... and that does it.

No comments :