|
|
Re: oracle.forms.webutil.file.filefunctions bean not found.webutil_file [message #622976 is a reply to message #622967] |
Tue, 02 September 2014 20:39   |
 |
onetalomila
Messages: 14 Registered: September 2014 Location: Viet Nam
|
Junior Member |
|
|
First, Thank you about your care !
Then, my steps config on webutil
Copy
File frmwebutil.jar
From folder: webutil_106\webutil_106\java To: $ORACLE_HOME/forms/java
File: jacob.jar
From folder: jacob_18 To: $ORACLE_HOME/forms/java
File: d2kwut60.dll, JNIsharedstubs.dll
From folder: webutil_106\webutil_106\webutil To: $ORACLE_HOME/forms/webutil
File: jacob.dll
From folder: jacob_18 To: $ORACLE_HOME/forms/webutil
File: forms_base_ie.js, forms_ie.js
- From folder: webutil_106\webutil_106\java To: $ORACLE_HOME/forms/java
File: webutil.olb, webutil.pll and create_webutil_db.sql
From folder: webutil_106\webutil_106 To: $ORACLE_HOME/forms
File: webutilbase.htm, webutiljini.htm, webutiljpi.htm and webutil.cfg
- From folder: webutil_106\webutil_106\server To: $ORACLE_HOME/forms/server
File: sign_webutil.bat
- From folder: webutil_106\webutil_106\webutil To: $ORACLE_HOME/forms/webutil
. In $ORACLE_HOME/forms/server/formsweb.cfg file
Change the following entries
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
if you use JRE plugin then this line also required
archive=frmall_jinit.jar,frmwebutil.jar,jacob.jar
[webutil]
WebUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
. In $ORACLE_HOME/forms/server/default.env file change the following entries
FORMS_PATH=C:\YourOracle_Home\forms;C:\YourOracle_home\forms\webutil
# webutil config file path
WEBUTIL_CONFIG=C:\YourOracle_Home\forms\server\webutil.cfg
Add frmwebutil.jar, jacob.jar into Classpath
What do I need anymore?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: oracle.forms.webutil.file.filefunctions bean not found.webutil_file [message #623495 is a reply to message #623494] |
Wed, 10 September 2014 14:01   |
 |
thelearner
Messages: 133 Registered: April 2013 Location: INDIA
|
Senior Member |
|
|
Quote:The form containing Webutil functions is being called from an inappropriate trigger. For example,
PRE-FORM, WHEN-NEW-FORM-INSTANCE ,WHEN-NEW-BLOCK-INSTANCE and POST-FORM
Also: Webutil_clientinfo.get_host_name , Webutil_clientinfo.get_ip_address , Webutil_clientinfo.get_user_name, WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT,
CLIENT_TEXT_IO.fopen.
Failing, because it is placed in triggers that are firing before Forms instantiates.
When calling a form from a Menu or another Form, ensure that the Form is not called from any of these triggers:
PRE-FORM,
WHEN-NEW-FORM-INSTANCE
WHEN-NEW-BLOCK-INSTANCE
POST-FORM
You generally want to avoid triggers in the categories of PRE, POST, and WHEN type triggers.
Recommend calling the Form from other triggers such as WHEN-BUTTON-PRESSED.
NOTE: Although not recommended by Oracle nor guaranteed to always work, there are certain situations where this issue can be avoided with the use of timers. One can create a non-repeating timer with a short expiration time in the WHEN-NEW-FORM-INSTANCE trigger and then place the webutil code in the WHEN-TIMER-EXPIRED trigger.
|
|
|
|
|
|
|
|
|