Professional Documents
Culture Documents
Oracle 10g Forms & Reports Configuration Manual: Icons Settings
Oracle 10g Forms & Reports Configuration Manual: Icons Settings
Manual
First u install only oracle Development suit oracle cd 1 , 2
After installing
1. Start ocj4.
2. =====================================
ICONS SETTINGS
3. =====================================
DEV_SUITE\forms\java\oracle\forms\registry\registry.dat
Make an entry in
DEV_SUITE\forms\server\forms.conf
=====================================
LOV SETTINGS
=====================================
DEV_SUITE\forms\java\oracle\forms\registry\registry.dat
app.ui.lovButtons=true.
=====================================
=====================================
FORMS PATH SETTINGS
=====================================
(This is the most critical setting which will tell from where the forms will run)
4. Forms Path:
DEV_SUITE\forms\server\default.env
FORMS_PATH=DEV_SUITE\forms; D:\MyFolder;
Add new virtual form path other than dev_Suite/App_Server form path
Example
D:\MyFolder; (Note: The directory must be shared on Network)
After this
FORMS_RESTRICT_ENTER_QUERY=TRUE
=====================================
=====================================
FORMS CONFIGURATION
=====================================
Width and Height of explorer window which contains form ( Set these parameters
according to your standards)
DEV_SUITE\forms\server\formsweb.cfg
Icon Settings (To get icons from jar files) (Applicable for Application Server)
# Forms applet parameter
imageBase=codebase
Close.html text
<html>
<head>
<script language="javascript">
function closeit()
{
win = top;
win.opener = top;
win.close ();
}
</script>
</head>
<body onload="closeit()">
close window
</body>
</html>
To close explorer window put the close.html file into this location
DEV_SUITE\tools\web\html
Then at form level create a post-form trigger and edit the trigger with this command
Web.Show_Document('/forms/html/close.html','_self');
Changing Key Function
==================
DEV_SUITE\forms\fmrweb.res
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)
If you don’t find some of these files from DEV_SUITE installation directory or don’t have
DEV_SUITE installed these files can also be found under this document root directory
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 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.
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_CONFIG=/forms/server/webutil.cfg
<virtual-directory virtual-path="/webutil"
real-path="DEV_SUITE/forms/webutil" />
7) WebUtil needs a single virtual directory to be defined in order to operate. This virtual
directory is used to locate various operating system-specific files that WebUtil may need to
download.
DEV_SUITE/forms/server/forms.conf
[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).
12) Copy frmWebUtil.fmb to DEV_SUITE \forms\ folder from this documents directory open it
in the form builder then
Connect to webutil schema then webutil/webutil@connectstring
Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K). If any runtime error
occurs re-attach webutil.pll library then
Compile-All (Shift-Control-K).
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=<webutil/webutil@dbconnect> 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.
To run Orix Aplication from Intranet allow popup from intranet site.
In Internet Exporer
Open Tools>Popup-Blocker>Popup-Blocker Settings
Add entries
http://192.168.0.xx
http://192.168.0.xx
Troubleshooting After ORACLE 10g Patch 3 On
DEV_SUITE& AS
Subject: Webutil Fails After The Installation Of Forms 10.1.2.3 Into
Oracle AS : java.lang.NoSuchMethodError at
oracle.forms.webutil.common.VBeanCommon.init
OR
In this Document
Symptoms
Cause
Solution
References
Applies to:
Symptoms
After installing Forms version 10.1.2.3 into Oracle AS , the following error occurs when using
webutil
Error
java.lang.NoSuchMethodError
at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:255)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Cause
Solution
1. Ensure that you're using the frmwebutil.jar with modification date 24th January 2008, 04:46
AM which is the 10.1.2.3 version and which has been compiled against the 10.1.2.3 frmall.jar by
Oracle
To Get FRMWEBUTIL.JAR From IAS/IDS Patchset 10.1.2.x Kit for the exact steps to perform
are as follows:
In this Document
Goal
Solution
References
Applies to:
Goal
This document explains how to obtain FRMWEBUTIL.JAR file from the IAS/IDS Patchset kit
(10.1.2.x). This file is needed when you upgrade the IAS from 10.1.2.0.2 to 10.1.2.2/3 to fix the
Webutil issues described in the
Note 403568.1 - Webutil Fails To Show The Filechooser or Other Functions of Webutil Demo
After Applying 10.1.2.x on OAS
Patches applied to WebUtil are delivered as part of a complete iDS release. They can be obtained
from the latest iDS install. IDS 10.1.2 is released only for Windows, Linux and Solaris only on
these platforms 10.1.2.x will contain the new webutil.jar version.
http://www.oracle.com/technology/products/forms/htdocs/webutil/WebUtilFAQ.htm
http://www.oracle.com/technology/software/products/ids/index.html
Solution
0. Download patch 10.1.2.2 (Patch 4960210) or 10.1.2.3 (Patch 5983622) and install it.
Current signature for frmwebuil.jar from 10.1.2.3 patch expires on January 2009. You can get a
new frmwebuil.jar that is signed with a new certificate that is valid beyond January 2009 from
Patch 7384879 . Please pay attention to the version you download 10.1.2.2 or 10.1.2.3. Once you
get the patch and unzip it, you can skip to step 8 .
1. Unzip the patchfile to a folder (we will call this folder Patch1012x for example).
3. Ensure that the ORACLE_HOME environment variable is correctly pointing to your IAS
10.1.2 instance.
You can check this with the command :
On Linux/Unix:
echo $ORACLE_HOME
On Windows:
echo %ORACLE_HOME%
4. Add in the PATH environment variable the path to jdk\bin from your IAS installation:
For Linux/Unix:
export PATH=$PATH:$ORACLE_HOME/jdk/bin
For Windows:
export PATH=%PATH%;%ORACLE_HOME\jdk\bin
5. Go to folder
Patch1012x/Disk1/stage/Patches/oracle.developer.forms.builder/10.1.2.2.0/1/DataFiles/ (for
Linux/Unix)
OR
Patch1012x\Disk1\stage\Patches\oracle.developer.forms.builder\10.1.2.2.0\1\DataFiles\ (for
Windows)
OR
Patch1012x/Disk1/stage/Patches/oracle.developer.forms.builder/10.1.2.3.0/1/DataFiles/ (for
Linux/Unix)
OR
Patch1012x\Disk1\stage\Patches\oracle.developer.forms.builder\10.1.2.3.0\1\DataFiles\ (for
Windows)
6. Here you would have a file webutil.jar containing a file frmwebutil.jar (Linux/Unix) or a file
webutil.2.2.jar containing a file frmwebutil.jar0 (Windows) .
To check if the file is the right one run the following command and you should see the files in
the archive and the size of frmwebutil.jar (Linux/Unix) or frmwebutil.jar0 (Windows):
Linux/Unix:
will show:
Windows:
will show:
Linux/Unix:
Windows:
OR
Patch1012x/Disk1/stage/Patches/oracle.developer.forms.builder/10.1.2.3.0/1/DataFiles/
For Linux/Unix:
mv $ORACLE_HOME/forms/java/frmwebutil.jar $ORACLE_HOME/forms/java/frmwebutil.jar.old
For Windows:
ren %ORACLE_HOME%\forms\java\frmwebutil.jar %ORACLE_HOME%\forms\java\frmwebutil.jar.ol
d
For Linux/Unix:
mv frmwebutil.jar $ORACLE_HOME/forms/java/frmwebutil.jar
For Windows:
ren frmwebutil.jar0 %ORACLE_HOME%\forms\java\frmwebutil.jar
Attention
1.) Patchset 10.1.2.2 includes Webutil version 10.1.2.2 and patchset 10.1.2.3 includes Webutil
version 10.1.2.3
2.) For platforms where no Formsbuilder exists (e.g HP and AIX), you have to download
separately Linux/Windows/Sun Solaris patch and extract the same to get new frmwebutil.jar.
References
Note 403568.1 - Webutil Fails To Show The Filechooser or Other Functions of Webutil Demo
After Applying 10.1.2.x patchset on OAS
If u still found problems regarding webutil configuration follow the web_util.pdf document.
If you find any problem regarding this document feel free to contact me….