Applies to:
Oracle Forms - Version: 10.1.2.0.2
Linux x86
Goal
How to Install Webutil on Oracle AS 10.1.2.0.2 under Linux/Unix ?
Solution
INSTALLATION
--------------------------
0. Linux and version 10.1.2.0.2
1. Create directory webutil in ORACLE_HOME/forms
2. Transfer in binary mode the following files in the directory $ORACLE_HOME/forms/webutil
d2kwut60.dll
jacob.dll
JNIsharedstubs.dll
3. The following alias was created in the file ORACLE_HOME/forms/server/forms.conf:
AliasMatch ^/forms/webutil/(..*) "ORACLCE_HOME/forms/webutil/$1"
4.The file webutil.cfg was created in the ORACLE_HOME/forms/server and he is looking like:
logging.file=
logging.enabled=FALSE
logging.errorsonly=FALSE
logging.connections=FALSE
install.syslib.location=/webutil
install.syslib.0.7.1=jacob.dll|94208|1.0|true
install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
5. Copy/sign jar files in the following directory ORACLE_HOME/forms/java:
frmwebutil.jar
jacob.jar
6.If you already have a schema in your RDBMS which contains the WebUtil stored code,
you may skip this step. Otherwise have a look at note:333385.1 , step 4
7.Copy from webutil_106\java to ORACLE_HOME/forms/java the following two javascript. files:
forms_base_ie.js
forms_ie.js
8. Transfer in binary mode the following files :
webutil.olb
webutil.pll
WU_TEST_106.fmb
in the ORACLE_HOME/forms directory
9. Transfer the following files :
webutilbase.htm
webutiljini.htm
webutiljpi.htm
in the directory ORACLE_HOME/forms/server
10. In formsweb.cfg create the following config section
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=generic
11. Compile the webutil.pll library:
frmcmp.sh MODULE=$ORACLE_HOME/forms/webutil.pll USERID=webutil/webutil@orcl MODULE_TYPE=LIBRARY
OUTPUT_FILE=$ORACLE_HOME/forms/webutil.plx
- no compilation errors
12. Bounce the OC4J_BI_Forms container on the application server middle tier
13. Compile WU_TEST_106.fmb file
frmcmp.sh MODULE=$ORACLE_HOME/forms/WU_TEST_106.fmb USERID=webutil/webutil@orcl MODULE_TYPE=FORM.
OUTPUT_FILE=$ORACLE_HOME/forms/WU_TEST_106.fmx
- no compilation errors
14.Launch the forms demo module:
http://host:port/forms/frmservlet?config=webutil&form=WU_TEST_106.fmx&userid=webutil/webutil@orcl
15.1.Demo module appear on browser.
15.2. Click on the button "Get Client Info" and check if the client info are shown correctly.
Remark: For 9.0.4 installation :
-> use f90genm.sh instead of frmcmp.sh
-> all Paths which point to /forms should be changed to /forms90
-> FORMS_PATH to FORMS90_PATH
References
NOTE:308900.1 - Form. Hangs When Using TEXT_IO On Red Hat Enterprise Linux 3
Related
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7865774/viewspace-619538/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7865774/viewspace-619538/