Professional Documents
Culture Documents
Note: DEV_SUITE is used as an alias for your real Oracle 10g installation
directory
Feel free to copy this note to a text editor, and do a global find/replace on
DEV_SUITE with your actual value (no trailing slash). Then it is easy to
copy/paste actual commands to be executed from the note copy.
DEV_SUITE is used as an alias for your real Oracle 10g Developer Suite
installation directory.
-------------------------------------------------------------------------------------
---------------------------------
PRE-REQUISITE FOR APPLICATION SERVER (Usually Webutil is not installed
with ORACLE 10G Application Server)
Webutil Configuration
How to get up and running with WebUtil included with Oracle Developer
Suite 10.1.2.0.2 on a win32 platform, I also tested it on Linux and it works
well (after of course taking care of the differences in PATH format)
Solution
Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
here are steps to get a small test form running
Download JACOB_!8.zip
and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
4) If you already have a schema in your RDBMS which contains the WebUtil
stored code,
you may skip this step. Otherwise,
Create a schema to hold the WebUtil stored code, and privileges needed to
connect and create a stored package. Schema name "WEBUTIL" is
recommended
for no reason other than consistency over the user base.
Open DEV_SUITE\forms\create_webutil_db.sql in a text editor, and delete or
comment
out the EXIT statement, to be able to see whether the objects were created
witout
errors.
CONNECT webutil/webutil@rcci
@DEV_SUITE \forms\create_webutil_db.sql
-- Inspect SQL*Plus output for errors, and then
CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
/
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
#baseHTMLjinitiator=webutiljini.htm (UnMark this to use JINITIATOR instead
of JRE)
baseHTMLjinitiator=webutiljpi.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=frmall_jinit.jar,icons.jar (For Jinitiator)
archive=frmall.jar,icons.jar (For JRE)
lookAndFeel=oracle
9) DEV_SUITE\forms\server\webutil.cfg
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
11) Start Forms Builder and connect to a schema in the RDBMS used in step
(4).
Note: For Oracle Application Server, on all platforms, you must regenerate
webutil.pll before using it; otherwise you’ll encounter error
ORA-06508 when running a form with the attached library. To recompile,
use the following command:
frmcmp module=ORACLE_HOME\forms\webutil.pll
userid= module_type=library compile_all=yes
DEV_SUITE\forms\server\formsweb.cfg
One more thing you cannot use webutil functions/procedure in pre-form and
when-new-form-instance. Because library/java beans need to loaded before
using. It can be accomplished by running timer until the bean loaded and
calling the functions/procedure when timer expired.
In Internet Exporer
Open Tools>Popup-Blocker>Popup-Blocker Settings
Add Both entries
http://192.168.0.1 (Application Server IP)
http://192.168.0.2 (DEV_Suite Developer IP)