WebUtil Implementation Guide PDF
WebUtil Implementation Guide PDF
Page 1 of 13
Contents
1 What is WebUtil? .............................................................................................................. 3 2 Installing WebUtil ................................................................................................................ 4
Page 2 of 13
1 What is WebUtil?
WebUtill provides way of transferring files between the Client PC and the Application/Database Server via Oracle Web Forms. The core features of WebUtil are :Text_IO o Read and write text files on the client machine Tool_Env o Read client side variables C API on the client o Interface with client side C. Host o OLE2 o Run Host commands on the client machine
Enhanced Host commands o Host command can now call back into Forms! Browser functions o Integrate with the browser. File transfer o Move from between the client, application server and database. File Manipulation o Manipulate client side files. Client machine information o Read information from the client machine READ/WRITE_IMAGE_FILE o Read and write client side images Get_File_Name o Use a file selection dialog on the client machine D2KWUtil features o Client side interface into the D2KWUtil package.
There is a great deal of documentation on WebUtil on the Oracle Website. The aim of this document is to provide a relatively simplistic approach to deloying WebUtil on the Application Server. http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
Page 3 of 13
2 Installing WebUtil
If you've selected the Complete installation option for installing Oracle Developer Suite 10g (10.1.2), WebUtil is installed and configured for you. If you've downloaded WebUtil to install into a previous version of Oracle Forms, or to upgrade an earlier version of WebUtil, read the Webutil Release Notes document that is part of this distribution. You can also read the Webutil Release Notes at
http://www.oracle.com/technology/products/forms/.
The current version of WebUtil is 1.0.6. It can be configured with Oracle AS 10g (9.0.4) as well as Oracle AS 10g (10.1.2).
Page 4 of 13
2.1 Prerequisites
In order to use WebUtil there are several version prerequisites: Oracle Forms Version: WebUtil is designed to run with Oracle Forms 10g (9.0.4) and Oracle Forms 10g (10.1.2). No testing has been done with previous versions. Client Java Virtual Machine (JVM): WebUtil requires either JInitiator 1.3.1.13 and higher, or the Sun Java Plug-in Version 1.4.2 or higher. WebUtil uses certain Java 1.3 features that are not available in earlier versions of the JVM. UNIX and Linux directory permissions: WebUtil downloads install.syslib libraries mentioned in webutil.cfg into the bin directory of the JRE or JVM. The client needs write permission in that particular directory. For more information about supported plug-ins, see the latest certification matrix, Oracle Forms 10g: Client Platform Support Statement of Direction at http://www.oracle.com/technology/products/forms/ . Oracle Application Server Java Virtual Machine For its Java operations on the middle tier, WebUtil needs a JVM of version 1.2.2 or higher. The JVMs supplied with Oracle Developer Suite 10g (10.1.2), Oracle Developer Suite 10g (9.0.4), Oracle Application Server 10g (10.1.2), and Oracle Application Server 10g (9.0.4) are ideal. Oracle Database Version The file transfer facilities within WebUtil that post and get files from the database need to be installed into a 9.0.1 database or higher. Using WebUtil against an older database will mean that this type of file transfer is not available to you.
Page 5 of 13
webutil_106.zip
Page 6 of 13
At runtime the primary components used for WebUtil are the frmwebutil.jar file and webutil.pll. Some features of WebUtil such as OLE integration also require extra operating system libraries, which will be downloaded to the client on demand such as the jacob.dll and jacob.jar files for OLE integration. These operating system-specific files are then stored in the forms/webutil and forms/java directories, respectively. The Jacob libraries are attached here and need to be unzipped into the following folders:-
Jacob_18.zip
Java
DLL
Page 7 of 13
sign_webutil.sh $ORACLE_HOME>\forms\java\jacob.jar.
Page 8 of 13
j2ee/DevSuite/application-deployments/forms/formsweb/webutil
which maps onto the ORACLE_HOME/forms/webutil directory in the Oracle Developer Suite and Oracle Application Server ORACLE_HOME directories. In Oracle Application Server, define the same virtual directory in the forms/server/forms.conf file:-
Page 9 of 13
webUtilArchive=frmwebutil.jar
You need to define the default HTML templates to use with JINIT/JRE :-
baseHTMLjinitiator=webutiljini.htm
You also need to define the location of the Jacob JAR file :-
webUtilArchive=jacob.jar
Please dont enable the commented out (#) options unless you really need to they will raise messages through the forms. These are particularily useful for debugging problems. You dont really need to enable the WebUtilLogging either unless you really want a trace of all connections etc.
Page 10 of 13
WEBUTIL_CONFIG=ORACLE_HOME\forms\server\webutil.cfg
CLASSPATH=\ORACLE_HOME\forms\java\frmwebutil.jar;c:\ids9i\jdk\jre\lib\rt.jar i.e.
Page 11 of 13
Page 12 of 13
Page 13 of 13