Subject: | Webutil functionalities fail with error like: "Oracle.forms.webutil.host.Host bean not found. WeBUTIL_HOST.Execute will not work" | |||
Doc ID: | 469183.1 | Type: | PROBLEM | |
Modified Date: | 22-APR-2009 | Status: | PUBLISHED |
In this Document
Symptoms
Cause
Solution
References
> 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
..
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...
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
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7865774/viewspace-618235/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7865774/viewspace-618235/