How to: |
Once you have reviewed the prerequisites, you can begin the iWay Oracle API wrapper installation.
Note: It is recommended that all scripts are run using SQL*PLUS.
To install the iWay Oracle wrapper:
iWaySMHome\etc\setup
where:
Is the location where iWay 7.0 SM is installed.
If this directory is not available, you can copy the files to any other custom directory in the Oracle E-Business Suite environment.
SQL> SPOOL IWAY_DECL_TABLE_INSTALL_LOG.txt SQL> @create_iway_tables.sql SQL> spool off
Note: This script drops existing tables with the target name "iway_api_parameters", "iway_declarations", and "iway_output_strings", creates the tables, and grants access to apps. If this is a new install, the first part of the script will fail (drops the object) but the table creation and the grant should succeed. This is expected behavior.
Log into SQL*Plus as APPS user.
Note: If APPS user does not exist in non-Oracle application environments, you must create a user called APPS with a DBA role and privileges to create, alter, delete, drop, grant, update tables, synonyms, and procedures.
Verify the following:
select num, name, value from v$parameter where name = 'utl_file_dir';
If the result of the query is not '/usr/tmp', then change the following declaration line in the file IWAY_ORA_API_WRAPPER.pks to point to a valid directory as shown in the value column from the above query result, and save the file.
gv_log_file_dir VARCHAR2 (100) := '/usr/tmp';
The current value '/usr/tmp' can be left unchanged if the directory path is configured in the utl_file_directory database parameter. This is the location where the debug file will be created if debugging is enabled.
If the utl_file_dir parameter is not configured on the database system, run the following command:
alter system set utl_file_dir=value scope=spfile;
where:
Is the full path you want to configure (for example, D:\oracle\visdb\).
This command configures the utl_file_dir parameter, which is what you need to enter in the gv_log_file_dir parameter. This is where the wrapper log will be written.
If you are installing in a database where the Oracle E-Business Suite (for example, Oracle Apps) is installed, run the following command:
SQL> start IWAY_ORA_API_WRAPPER.pkb
If you are installing in a database where the Oracle E-Business Suite (for example, Oracle Apps) is not installed, then run the following command:
SQL> start IWAY_ORA_API_WRAPPER_NO_APPS.pkb
Troubleshooting Notes: All of the scripts should complete successfully. If the scripts fail, ensure that the files are copied into the correct directory and they are available in your current working directory. If there are compilation issues, contact iWay Software Customer Support Services and provide the spool file, IWAY_WRAPPER_INSTALL_LOG.txt, that is generated during the installation for troubleshooting.
Note: This will fail if the synonym does not exist. This is the expected behavior.
SQL> set heading off SQL> set echo off SQL> set termout off SQL> spool drop_decl.sql SQL> SELECT 'DROP PACKAGE ' || OBJECT_NAME || ';' FROM DBA_OBJECTS WHERE OBJECT_NAME LIKE 'IWAY2%'; SQL> spool off SQL> @drop_decl.sql
iWay Software |