Applies to:
Oracle Forms - Version: 10.1.2MS Windows
Microsoft Windows
Goal
How to install WebUtil on 10.1.2.x OAS on Windows ?Solution
1)- Download Webutil files from the following link:
- Webutil version 1.0.6
( With Oracle developersuite 10.1.2.2 or higher , webutil 10.1.2.2.x will be automatically installed !)
It is not recommented to use with Forms 10.1.2.2 or higher webutil version 1.0.6 !
- The JACOB libraries version 1.8
2)- Create folder “webutil” under
3)- Copy the following files into %ORACLE_HOME%\forms\webutil :
(b) ffisamp.dll ---> included in Webutil_demo.zip
(c) d2kwut60.dll ---> included in webutil_106.zip, under webutil subfolder
(d) JNIsharedstubs.dll ---> included in webutil_106.zip, under webutil subfolder
(e) sign_webutil.bat ---> included in webutil_106.zip, under webutil subfolder
4)- Copy the following files to %ORACLE_HOME%\forms\java :
webutil_106\java \forms_ie.js
webutil_106\java \frmwebutil.jar
jacob_18\jacob.jar
5)-Sign the "jacob.jar"as follows:
- cd %ORACLE_HOME%\forms\java
- set PATH=%ORACLE_HOME%\jdk\bin;%PATH%
- %ORACLE_HOME%\forms\webutil\sign_webutil.bat %ORACLE_HOME%\forms\java\jacob.jar
6)- Sign the "frmwebutil.jar"as follows:
a)-For Forms 10.1.2.0.2:
- start the command prompt
- cd %ORACLE_HOME%\forms\java
- set PATH=%ORACLE_HOME%\jdk\bin;%PATH%
- %ORACLE_HOME%\forms\webutil\sign_webutil.bat %ORACLE_HOME%\forms\java\frmwebutil.jarb)-For Forms 10.1.2.2 or higher:
1)-Get frmwebutil.jar from an Oracle Developer Suite installation which has the same version as the OAS and then ,copy it to“%ORACLE_HOME%\forms\java”.
OR
Get the frmwebutil.jar file from the Patchset 10.1.2.x kit as described in the following note and then ,copy it to “%ORACLE_HOME%\forms\java” :
Note 421930.1 - How to get FRMWEBUTIL.JAR from IAS/IDS Patchset 10.1.2.x Kit2)-Then, sign the frmwebutil.jar using the same steps as (6-a) .
frmwebutil.jar 1.0.6 is available for use with Forms versions 9.0.4 and 10.1.2.0.2. However,starting with Forms 10.1.2.2,the version of frmwebutil.jar has to be the same as the running Forms version .
frmwebutil.jar 10.1.2.2 or higer is included with Patchset 10.1.2.x, which is the base release (10.1.2.0.2) plus a Patchset applied. This frmwebutil.jar version gets installed on Oracle Developer Suite Home when the Patchset is applied but not with Oracle AS Home .
6)-Copy the following files from webutil_106\server to %ORACLE_HOME%\forms\server
- webutil.cfg
- webutilbase.htm
- webutiljini.htm
- webutiljpi.htm
7)- The following variable must be defined in %ORACLE_HOME%\forms\server\default.env:
8). The following jars must be included in the CLASSPATH in forms/server/default.env:
9)- The configuration file formsweb.cfg should have the following section :
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
10)- The following virtual path must be defined in the %ORACLE_HOME%\forms\server\forms.conf file:
11)- Open webutil.cfg file and add the following line
install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
below :
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
12)- In the webutil.cfg file ensure you have the lines
transfer.appsrv.accessControl=FALSE
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
13)- Create a database user "Webutil" .
14)- Run the script. "create_webutil_db.sql" (included in webutil_106.zip file).
15)- Create a file called d:\temp\downloaded_from_as.txt. Ensure you add text to this file.This is a test file
which will be used to demonstrate loading files from the application server to the client.The Download test
expects this file to exist in this location on the Application Server.
16)- Open forms builder and connect as "Webutil" user .Compile ALL" (shift-Control-K) form. WU_TEST_106.fmb and webutil.pll ,then generate the fmx and plx using (Control-T).
17)-Move the following files to %ORACLE_HOME%\forms :
WU_TEST_106.fmx
webutil plx
webutil.olb
(c) Run the Demo form. WU_TEST_106 as the following to make sure that the installation went fine:
http://host:port/forms/frmservlet?config=webutil&form=WU_TEST_106&userid=webutil/webutil@db
(d) For more information ,go through the webutil documentation (specially "Runtime Setup Checklist" and
"WebUtil Installation Steps").You will also find more describtion about the various webutil program units :
Webutil Documentation
18)-You may also run the diagnostic test form. described in the following note for furthur checking on the Webutil configuration :
Note :553849.1Webutil Diagnostic Test Form. For Checking Webutil Configuration
References
NOTE:333385.1 - Kickstarting WebUtil 1.06 in Developer Suite 10.1.2.0.2 on WindowsNOTE:374128.1 - How To Install Webutil on OAS under Linux/Unix
NOTE:421930.1 - How To Get FRMWEBUTIL.JAR From IAS/IDS Patchset 10.1.2.x Kit
NOTE:553849.1 - Webutil Diagnostic Test Form. For Checking Webutil Configuration
http://java.sun.com/javase/downloads/index.jsp
Products
|
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7865774/viewspace-619539/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7865774/viewspace-619539/