Webutil Configuration: 1, Downloading Files
Webutil Configuration: 1, Downloading Files
Webutil Configuration: 1, Downloading Files
2. formsweb.cfg
WebUtilArchive=frmwebutil.jar,jacob.jar
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
WebUtilLogging=off
WebUtilLoggingDetail=Normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilMaxTransferSize=16384
WebUtilTrustInternal=TRUE
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
envFile=default.env
1
3. default.env
FORMS_PATH must include the directory where a copy of webutil.pll exists
You can either explicitly add the webutil\forms directory to this path
FORMS_PATH=ORACLE_HOME\forms;ORACLE_HOME\webutil\forms
Or you can copy the webutil.pll file to an existing directory that is mapped into the FORMS_PATH
or the ORACLE_PATH
FORMS_PATH=ORACLE_HOME\forms
WEBUTIL_CONFIG=ORACLE_HOME\forms\server\webutil.cfg
CLASSPATH=\ORACLE_HOME\forms\java\frmwebutil.jar;c:\ids9i\jdk\jre\lib\r
t.jar
PATH=ORACLE_HOME\jdk\jre\bin\client
4. webutil.cfg
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.read.1=c:\
transfer.appsrv.write.1=c:\
Means that only the allowed server drive to read and write files is the C drive.
Steps:
1. Since the batch file uses the jarsigner.exe and keytool.exe utilities, when running the batch file, the two utilities
must be accessible. To ensure that, do one of the following:
Check that the ORACLE_HOME\jdk\bin –where the utilities reside- path is at the PATH entry of the
"Environment Variables" and it's entered before the any java specific path.
Copy sign_webutil.bat file into the same directory where the utilities -jarsigner.exe and keytool.exe- reside,
ORACLE_HOME\jdk\bin.
2. Open the Command Prompt, cmd, and change the current path to the one where the sign_webutil.bat file
reside, either to ORACLE_HOME\jdk\bin directory or to ORACLE_HOME\forms\webutil
directory according to step one.
3. Issue sign_webutil.bat ORACLE_HOME\forms\java\frmwebutil.jar
4. Issue sign_webutil.bat ORACLE_HOME\forms\webutil\jacob.jar
2
5th, Installing webutil_db package
1. Run the create_webutil_db.sql script file located at the downloaded webutil_106.zip file, then either:
Start Æ Run Æ sqlplus <user>/<password>@db <create_webutil_db.sql path>
Connect using <user>/<password> then
@create_webutil_db.sql path
2. Create a Synonym for the created package
create public synonym webutil_db for <user>. webutil_db
3. Check that the package and the synonym were successfully installed
Connect as sys/<password> as sysdba
Select owner, object_type from dda_objects where object_name='webutil_db'
You should get something like that:
OWNER OBJECT_TYPE
-------------------------- --------------------------------
PUBLIC SYNONYM
<USER> PACKAGE
<USER> PACKAGE BODY