webutil的使用

Subject:Webutil functionalities fail with error like: "Oracle.forms.webutil.host.Host bean not found. WeBUTIL_HOST.Execute will not work"
 Doc ID:469183.1Type: PROBLEM
 Modified Date: 22-APR-2009Status: PUBLISHED

In this Document
  Symptoms
  Cause
  Solution
  References


Applies to:

Oracle Forms - Version: 10.1.2.0.2
Linux x86
Intel Based Server LINUX
This problem can occur on any Unix-like platform.

Symptoms

> After installing Webutil based on the instructions in:
Note 374128.1  - How To Install Webutil 1.0.6 on OAS under Linux/Unix

 
It is possible to run the demo form. WU_TEST_106.FMB, but trying to access any Webutil function in the form. fail and the following error is being thrown:
Oracle.forms.webutil.xxx bean not found. WeBUTIL_xxx will not work
For example:
"oracle.forms.webutil.clientinfo.GetClientInfo bean not found. WEBUTIL_CLIENTINFO.GET_SYSTEM_PROPERTY will not work".
"oracle.forms.webutil.file.FileFunctions bean not found. CLIENT_TEXT_IO.fopen will not work."
"oracle.forms.webutil.host.Host bean not found. WeBUTIL_HOST.Execute will not work"

> The Java console also will contain the following:
..
java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
..
java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
..
java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
..
java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
..

Cause

During the installation of Webutil, some required files might be transferred to a wrong location or transferred in wrong way to the Linux machine by mistake.

or

This error can also occur if you are not using the webutil html files to run your form. i.e. webutiljini.htm...

Solution

In order to make sure that all the files required for Webutil installation are obtained and transferred correctly to the Linux machine, please do the following:

1. Download the following three folders (zip files) needed for Webutil configuration from the Internet to any Windows machine:
> Webutil_demo.zip:
URL: http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
Click on link: WebUtil Demo
> webutil_106.zip:
URL: http://www.oracle.com/technology/software/products/forms/index.html
Click on link: Oracle Forms 10g WebUtil
> jacob_18.zip:
URL: http://www.oracle.com/technology/products/forms/htdocs/webutil/readme.html
Click on link: http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip.

2. Extract the 3 zip files to have the folders (jacob_18, webutil_106 and Webutil_demo) in your windows machine.

3. Transfer the following files from your windows machine (from the 3 folders) to the Linux machine as below:
a)
- File: frmwebutil.jar
- From folder: webutil_106\webutil_106\java
- To: $ORACLE_HOME/forms/java
- Transfer mode: must be Binary
b)
- File: jacob.jar
- From folder: jacob_18
- To: $ORACLE_HOME/forms/java
- Transfer mode: must be Binary
c)
- File: d2kwut60.dll, JNIsharedstubs.dll
- From folder: webutil_106\webutil_106\webutil
- To: $ORACLE_HOME/forms/webutil
- Transfer mode: must be Binary
d)
- File: jacob.dll
- From folder: jacob_18
- To: $ORACLE_HOME/forms/webutil
- Transfer mode: must be Binary
e)
- File: forms_base_ie.js, forms_ie.js
- From folder: webutil_106\webutil_106\java
- To: $ORACLE_HOME/forms/java
- Transfer mode: must be Binary
f)
- File: webutil.olb, webutil.pll and create_webutil_db.sql
- From folder: webutil_106\webutil_106
- To: $ORACLE_HOME/forms
- Transfer mode: must be Binary
g)
- File: WU_TEST_106.fmb
- From folder: Webutil_demo\Webutil_demo
- To: $ORACLE_HOME/forms
- Transfer mode: must be Binary
h)
- File: webutilbase.htm, webutiljini.htm, webutiljpi.htm and webutil.cfg
- From folder: webutil_106\webutil_106\server
- To: $ORACLE_HOME/forms/server
- Transfer mode: must be TEXT/ASCII
i)
- File: sign_webutil.sh
- From folder: webutil_106\webutil_106\webutil
- To: $ORACLE_HOME/forms/webutil
- Transfer mode: must be TEXT/ASCII

References

Note 374128.1 - How To Install Webutil on OAS under Linux/Unix

Keywords

FRMWEBUTIL.JAR ; JAVA.LANG.CLASSNOTFOUNDEXCEPTION ; 

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

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

转载于:http://blog.itpub.net/7865774/viewspace-618235/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值