Novell Cool Solutions

The Ways to Access Oracle Application from Linux Environment



By:

July 19, 2008 2:49 am

Reads:9,381

Comments:0

Score:Unrated

Print/PDF

The Ways to Access Oracle Application from Linux Environment

================================================================
1, Introduction
2, Verify and confirm the version of JRE/JDK of Oracle Application server
3, Install JDK1.4.1 for the client side
4, Setting up JRE/JDK environment for the client side
5, Verify the version of JRE/JDK of client side
6, Ensure that the version of JRE/JDK match completely between server side and client side
7, Connect to the Oracle application environment
8, End
Comment
===============================================================

1, Introduction
On the Windows environment, you only install Jinitiator and then you can access to Oracle Application. Jinitialtor is nothing but encapsulations of JRE/JDK by Oracle in order to get Forms GUI running on your windows pc. Unfortunately, Jinitiator is the same with Windows environment only. In fact, you can use native JRE/JDK from Sun to run Oracle Application Form GUI on your Linux environment. the ways as below:

2, Verify and confirm the version of JRE/JDK of Oracle Application server
Verify and confirm the version of JRE/JDK on your Oracle Application server, there are a lot of the ways to verify the version of JRE/JDK of Oracle application server. You can verify it on the either server side or client side, but the most simple way is on the client side to verify, the way is that type directly URL of your Oracle application server in the Browse(Firefox for me) of your Linux machine(client side) and logon it, and then click the any link to open your Oracle Application Functional Form, you will get a message with “Additional plugins are required to display all the media on this page and a button labeled with “Install Missing Plugins” on the top of your Browse, click the button labeled “Install Missing Plugins” and waiting for a while later, you will get a dialog box similarly below:

Sticking out a mile , from the dialog box listed above, you can confirm the version of JRE/JDK for your Oracle Application server is 1.4.1, Ok, now you can be in terms of this version number to download JDK1.4.1 from Sun, Please keep attention, there is only JDK1.4.1_07 from the Sun’s web site to download, but there is no JDK 1.4.1, never mind it, download and save it to home folder of your Linux machine(/home/oracle for me).

3, Install JDK1.4.1 for the client side
./ j2sdk-1_4_1_07-linux-i586.bin (/home/oracle)
After installing, you can see a folder named j2sdk1.4.1_07 from your home folder, move this folder to /usr/lib/
cd /home/oracle/
mv – R j2sdk1.4.1_07 /usr/lib

4, Setting up JRE/JDK environment for the client side
linuxdesk:/home/oracle # ln -s /usr/lib/j2sdk1.4.1_07/jre/plugin/i386/ns610 /usr/lib/jvm/jre/plugin/i386/ns610

linuxdesk:/home/oracle # ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/firefox/plugins/libjavaplugin_oji.so

5, Verify the version of JRE/JDK of client side
Start Firefox and type “about:plugins” to the address field of Firefox, and to see the Java™ Plug-in section to verify the version of Java plugins of client side. You will get the version of java plugin is 1.4.1_07-b05, obviously, the version of Java plugins is not same between the server side and client side. For the sake of being consistent version between server side and client side. Have to modify ~/.mozilla/firefox/pluginreg.dat file.(“~” indicated which is current user’s home folder, .mozilla is a hidden folder), how to modify this file to see section 6 below.

6, Ensure that the version of JRE/JDK is match between server side and client side
In fact, here the contexts you saw after typing “about:plugins” came from the file /usr/lib/firefox/plugins/libjavaplugin_oji.so, nevertheless, this files’s contents came from text file named ~/.mozilla/firefox/pluginreg.dat. therefore, you can modify version of Java plugins from this file to ensure JRE/JDK version consistency between the Oracle application server and client side of your machine.
Change item 15
From 15:application/x-java-applet;jpi-version=1.5.0_12:Java::$
To 15:application/x-java-applet;jpi-version=1.4.1:Java::$
Change item30
From 30:application/x-java-bean;jpi-version=1.5.0_12:Java::$
To 30:application/x-java-bean;jpi-version=1.4.1:Java::$
Change item ( unimportant, can ignore any changings)
From
Java(TM) Plug-in 1.5.0_12:$
Java(TM) Plug-in 1.5.0_12-b04:$
To
Java(TM) Plug-in 1.4.1_07:$
Java(TM) Plug-in 1.4.1_07-b05:$

7, Connect to the Oracle application environment
Make sure that you turn off the popups and except the DNS name of Oracle application server from proxy setting of Firefox , logon your Oracle application environment, you can open the Oracle application form now.

8, End
Whether is it suitable to download the more upper or up to date version of JRE/JDK for client side to access Oracle Application server without any errors?
It will can be confirmed only testing later. Why did I have this suspicion? Because the version of JRE/JDK I have downloaded is not match with Oracle application server side(Version 1.4.1 for our Oracle server, Version 1.4.1_07 for client side), and that modifying the version of javaplugins of client side later as per we got the version from server , the Oracle application form can be opened normally, then whether did this means that we can have a fearless guess that we can download the more upper or up to date the version of JRE/JDK to install to client side and so long as we modifying the version of javaplugins in the pluginreg.dat file and all after that, we can open successfully the Oracle Application form, No matter how, there is one point I can be sure that we have to modify the version of Javaplugins in the pluginreg.dat file to ensure it match with the version of javaplugins of server side.

Comment:
Before connecting to Oracle application server from your Linux machine, you have to appoint DNS server for your Linux machine(client side) so that it can resolve the Oracle application server DNS name.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

0

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS