WebUtil is necessary for uploading documents in Smart Materials.
-
Open a Command Prompt window.
-
Navigate to $ORACLE_HOME/forms folder.
-
Launch a SQL*Plus session, connect to your Smart Materials database as SYS or SYSTEM.
Ensure that you connect to the Smart Materials database, do not connect to the repository database.
-
Execute the following commands:
-
@create_webutil_db.sql
This executes a script that creates the WEBUTIL_DB package.
-
create or replace public synonym webutil_db for webutil_db;
-
grant execute on webutil_db to m_sys,m_project_role,m_approve;
-
-
Exit SQL*Plus
-
Open
C:\iAS_12c\user_projects\domains\base_domain\config\fmwconfig\components\FORMS\instances\forms1\server
-
Open webutil.cfg in an editor.
-
Set Transfer.database.enabled=TRUE.
-
Set Transfer.appsrv.enabled=TRUE.
-
Set Transfer.appsrv.accessControl=TRUE.
-
Create a separate record for each directory that will be read or written via WebUtil.
For example:
transfer.appsrv.read.2=c:\SMat\other_dir2
transfer.appsrv.read.3=c:\SMat\other_dir3
transfer.appsrv.write.2=c:\SMat\other_dir2
transfer.appsrv.write.3=c:\SMat\other_dir3
-
Save and close webutil.cfg.
If you face any problems with the signature of the jar-file, please raise an SR via Smart Support.