Sie sind auf Seite 1von 1

Webutil setup for oracle developer forms 10.1.2.0.

2
Requirement:
Jacob 1.8 (Do not attempt to use 1.7 or 1.9.)
Nls language in the registry should be English only one time till we compile the
webutil.pll libaray once it compile you can change to any nls language.

Setps to follow:
1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
   and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
And also download webuitl 1.6 and extract to temporary staging area.
2) copy Jacob.jar and Jacob.dll to [ora_home]\forms\java\. and
[ora_home]\forms\webutil\.
Replace frmwebutil.jar with [ora_home]\forms\java\frmwebutil.jar
Which was extracted from nw webuitl.zip file
3)Set the path for jdk
Open a DOS command prompt.
   Add [OraHome]\jdk\bin to the PATH:
   c:\set PATH=d:\10g\jdk\bin;%PATH%

3) From the command prompt Sign the files, and check the output for success:
     [ora_home]\forms\webutil\sign_webutil.bat
[ora_home]\forms\java\frmwebutil.jar
     [ora_home]\forms\webutil\sign_webutil.bat [ora_home]\forms\java\jacob.jar

4) Modify d:\10g\\forms\server\default.env, and append [ora_home]\jdk\jre\lib\rt.jar


   to the CLASSPATH entry.

6) Start the OC4J instance

7) Start Forms Builder and connect to any schema.


   Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX
(Control-T).

8) ) Create a new FMB.


   Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
   There is no need to Subclass the WebutilConfig object.
   Attach the Webutil.pll Library, and remove the path.
   Add an ON-LOGON trigger with the code
          NULL;

   Create a new button on a new canvas or any existing canvas but not in webutil
canvas, with the code
          show_webutil_information (TRUE);
   in a WHEN-BUTTON-PRESSED trigger.

     Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).

9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default"


if
   the "Application Server URL" is empty.
   Then append       http://server:port/forms/frmservlet?config=webutil

10) Run your form.

Das könnte Ihnen auch gefallen