ITPub博客

首页 > Linux操作系统 > Linux操作系统 > linux和unix下运行oracle form

linux和unix下运行oracle form

原创 Linux操作系统 作者:hjgluguo 时间:2009-09-19 11:09:57 0 删除 编辑
Subject: Client Browser Cannot Start Java Applet Of Runtime Form(Asks For Plug-In) On Unix
  Doc ID: 742148.1 Type: HOWTO
  Modified Date: 13-OCT-2008 Status: PUBLISHED

In this Document
  Goal
  Solution
  References


Applies to:

Oracle Forms - Version: 10.1.2
Information in this document applies to any platform.

Goal

How to configure Linux clients with Mozilla/Firefox and JPI 1.4.2_16 running forms?

Solution

1. Download j2re-1_4_2_16-linux-i586-rpm.bin
then
./j2re-1_4_2_16-linux-i586-rpm.bin
rpm -i j2re-1_4_2_16-linux-i586-rpm

2. cd /usr/lib/mozilla/plugins(或是用3.0.1的firefox把路径改为/usr/lib/firefox-3.0.1/plugins
)
ln -s /usr/java/j2re1.4.2_16/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
(若jre的版本为1.6.0.16,则改为:ln -s /usr/java/jre1.6.0_16/plugin/i386/ns7/libjavaplugin_oji.so,注意不是/usr/java/jre1.6.0_16/plugin/i386/ns7-gcc29下的libjavaplugin_oji.so.若搞错了,运行浏览器会出错)

3. vi formsweb.cfg and add :
[test_jpi]
baseHTMLJInitiator=basejpi.htm
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_16/index.html
jpi_classid=clsid:CAFEEFAC-0014-0002-0016-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,16
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_16

(注:其它版本的jre,把相应的版本号修改则可,如1.6.0.16的jre:
jpi_download_page=http://java.com/en/download/manual.jsp
jpi_classid=clsid:CAFEEFAC-0016-0000-0016-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_6_0-windows-i586.cab#Version=1,6,0,16
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_16)

4. Execute a form. using mozillaFirefox with :
http://machine:port/forms/frmservlet?config=test_jpi

References

Note 406495.1 - How To Configure Webutil to Run On A UNIX/LINUX Client Browser?
http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html

Keywords

BASEJPI.HTM ; JPI_CLASSID ; FIREFOX ; RPM ; 

Help us improve our service. Please email us your comments for this document. .

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7865774/viewspace-615038/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 序列的回顾
请登录后发表评论 登录
全部评论

注册时间:2008-07-11

  • 博文量
    97
  • 访问量
    181526