Beruflich Dokumente
Kultur Dokumente
TCS Internal
Etihad Airways Response to RFP for <Name of the Proposal>
Confidentiality Statement
This is a controlled document. Unauthorized access, copying, replication or usage for a purpose other than for
which it is intended, are prohibited.
All trademarks that appear in the document have been used for identification purposes only and belong to their
respective companies.
TCS Internal
Etihad Airways Response to RFP for <Name of the Proposal>
Contents
1. OVERVIEW ........................................................................................................ 4
2. PRE-REQUISITES ................................................................................................ 4
3. FORMS MIGRATION ............................................................................................. 5
3.1 Upgrading Forms 5 to Forms 6i ........................................................................... 5
3.2 Upgrading Forms 6i to Oracle Forms 10g .............................................................. 8
3.3 Steps to generate compilation logs .....................................................................13
3.4 Compiling Libraries ...........................................................................................14
3.5 Deployment of Forms in Weblogic 11g ................................................................14
3.6 Deploying Icons in Forms 10g ............................................................................15
3.7 Deploying Icons in Weblogic 11g ........................................................................16
3.8 Windows API - Browse for Folder ........................................................................16
4. UPGRADING REPORTS ..........................................................................................18
4.1 Conversion of Reports 6 to Reports 10g ..............................................................18
4.2 Deployment of Reports in Weblogic 11g ..............................................................18
4.3 Steps to generate REP ......................................................................................19
4.4 Running Reports using rwservlet ........................................................................20
5. DISCOVERER MIGRATION ......................................................................................21
5.1 Upgrade from Discoverer Release 3i to Discoverer Release 4 .................................21
5.2 Upgrade from Discoverer Release 4 to Discoverer Version 10g ...............................25
5.3 Oracle Discoverer User Edition ...........................................................................28
6. MIGRATION ISSUES AND RESOLUTION .....................................................................31
7. LIST OF ABBREVIATIONS .......................................................................................35
TCS Internal
Etihad Airways Response to RFP for <Name of the Proposal>
1. OVERVIEW
This document highlights the strategy successfully implemented in a project. This strategy can
be used for migrating the applications which were originally designed in Oracle Forms 5 and
Oracle Reports 6 with client server architecture to Web based 3 tier Oracle fusion middleware
and Weblogic 11g Application server. This document also illustrates the migration of Discoverer
Release 3.1 to Discoverer Release10g.
2. PRE-REQUISITES
The pre-requisites for Oracle Forms and Reports Migration are as follows:
Oracle Forms 6i
Oracle Reports 6i
Internet Explorer 7
Discoverer 3.1
TCS Internal 4
Etihad Airways Response to RFP for <Name of the Proposal>
Discoverer 4.1
Discoverer 10g
3. FORMS MIGRATION
The following steps should be followed for migrating Forms 5 to Forms 6i:
1) Place all required Version 5 files like FMB, MMB, OLB, PLL and BMPs in the same folder.
Control panel ->Systems -> Advanced tab -> Environment variables -> User
variables -> Add.
Or
setpath FORMS60_PATH = specify the path where the files are placed.
In Object Navigator, highlight Object Libraries, File -> Open -> Choose OLB
TCS Internal 5
Etihad Airways Response to RFP for <Name of the Proposal>
5) Open the FMB file. File -> Open -> Choose FMB
6) PLLs should be attached while opening the form. If not, attach the required PLL for the
Form
Goto Navigator -> Create -> Browse -> Choose the PLL -> Attach.
TCS Internal 6
Etihad Airways Response to RFP for <Name of the Proposal>
8) PLLs should be attached while opening the menu. If not, attach the
Goto Navigator -> Create -> Browse -> Choose the PLL -> Attach
To create MMX, highlight the required menu, File -> Administration -> Compile
file. Compiled menu will be created in the forms path.
TCS Internal 7
Etihad Airways Response to RFP for <Name of the Proposal>
Open Forms Runtime -> Choose the FMX file -> Connect to the database and
Click OK.
14) Once compilation and execution is successful, save the form and menu in a different
path. Highlight -> File -> Save As.
This is the upgraded input for the next step i.e. Upgrading Forms 6i to Oracle Forms 10g.
There are 2 steps in upgrading Forms 6i to Forms 10g. First, migrate the modules using
Migration Assistant tool and then compile them in Forms 10g.
o Raise warnings for obsolete functionality and triggers defined at incorrect levels.
o Raise a warning in the Form module's log if V2-style triggers are found.
o Raise a warning in the Form module's log if Built-ins related to obsolete object types are
found.
TCS Internal 8
Etihad Airways Response to RFP for <Name of the Proposal>
The search_replace.properties file contains the strings that the Oracle Forms Migration
Assistant will search for and replace. It also contains a list of obsolete Built-ins that will
generate warnings. This file can be edited to add more search and replace strings and to add
more Built-in warnings.
Migration options such as logfile name, destype, desformat, desname etc can be changed by
editing the converter.properties file.
The following steps should be followed for migrating Forms 6i to Forms 10g using Migration
Assistant:
1) Set the FORMS_PATH environment variable to the path where all the 6i modules
including libraries are placed.
4) Set the log path. Migration Assistant provides options for both single log file and
multiple log files.
TCS Internal 9
Etihad Airways Response to RFP for <Name of the Proposal>
5) Click Finish
6) Check the log to see the errors which require manual intervention.
7) Open the forms in Forms Builder and make the necessary changes. Compile and Save.
Note:
For PLLs, before adding PLLs in Migration assistant, right click on the PLL and uncheck Read
Only -> Apply. This will prevent the not writable error. PLDs will be created.
This is the upgraded input for the next step i.e. Compiling in Oracle Forms 10g.
After upgrading Forms 6i to Oracle Forms 10g using Forms Migration Assistant, manually
compile the forms in Oracle Forms 10g to check for any compilation errors.
TCS Internal 10
Etihad Airways Response to RFP for <Name of the Proposal>
In Object Navigator, highlight Object Libraries. File -> Open ->Choose .OLB file
5) Open the FMB file. File -> Open -> Choose .FMB file.
6) PLL files should be attached while opening the form. If not, attach the required PLL
Goto Edit -> Create -> Browse -> Choose the PLL -> Attach
This step is not required if the MMX is available in the forms path.
8) PLL files should be attached while opening the menu. If not, attach the required PLL.
Goto Navigator -> Create -> Browse -> Choose the PLL -> Attach
To create MMX, highlight the required menu, Program -> Compile Module.
Compiled menu will be created in the forms path.
12) Specify Application server URL in Edit -> Preferences-> Runtime tab in Oracle Form.
Default URL is http://127.0.0.1:8889/forms/frmservlet
TCS Internal 11
Etihad Airways Response to RFP for <Name of the Proposal>
13) Start Menu -> Programs -> Oracle Developer Suite - 10G -> Forms Developer -> Start
OC4J Instance
15) Once compilation and execution is successful, save the form and menu in a different
path, Highlight -> File -> Save As.
TCS Internal 12
Etihad Airways Response to RFP for <Name of the Proposal>
Logon to Database
TCS Internal 13
Etihad Airways Response to RFP for <Name of the Proposal>
1) Remove the path of the PL/SQL Libraries associated with a form module in Forms 10g.
2) Open the Humming bird exceed X window along with the weblogic VT session.
3) Create a local profile (.env) to set all the environment variables: DISPLAY (IP: 0.0),
ORACLE_INSTANCE, ORACLE_HOME, TNS_ADMIN, WEBUTIL_CONFIG, FORMS_PATH.
E.g.
export ORACLE_HOME=<<path>>
export ORACLE_INSTANCE=<<path>>
export TNS_ADMIN=<<path>>
export WEBUTIL_CONFIG=<<path>>
export FORMS_PATH=<<path>>
4) FTP the Forms, Menus, and PL/SQL Libraries to the folder set as the Forms path in the
Oracle Weblogic 11g server.
5) Change the permissions of the forms (fmbs), menus (mmbs), libraries (plls) to 777 using
CHMOD command.
TCS Internal 14
Etihad Airways Response to RFP for <Name of the Proposal>
6) Compile all Forms, Menus, PL/SQL libraries using the frmcmp.sh in the scripts folder by
specifying the folder path containing Forms, Menus, PL/SQL libraries, the module name,
the database credentials and the module type as FORM, MENU or LIBRARY.
7) Once the Forms, Reports and Menus are compiled successfully, the respective fmx, plx
and mmx are generated.
8) Ensure that all the Forms and Menus compiled versions (fmxs, mmxs, plxs) are present
in the Forms path.
Note: Setting the environment variables is session-specific. When a new session is started we
need to set all the environment variables again.
The following steps should be followed for deploying Icons in Forms 10g:
1) In \DevSuiteHome_1_10g\forms\java, create a folder icons and place all .JPG and .GIF
files.
2) Make the following changes in Registry.dat file located in the directory
\DevSuiteHome_1_10g\forms\java\Oracle\forms\registry:
default.icons.iconpath=http://127.0.0.1:8889/forms/java/icons
default.icons.iconextension=gif (or JPG) (case sensitive)
3) The case used in the icon Filename property in Forms must be the same as shown in
the image name.
TCS Internal 15
Etihad Airways Response to RFP for <Name of the Proposal>
The following steps should be followed for deploying Icons in Weblogic 11g:
imageBase=codeBase
3) Make the following changes in Registry.dat file in the Weblogic 11g server
default.icons.iconpath=
default.icons.iconextension=gif
4) Go to icons folder in java and create directory and extract all the icons in a
particular folder using the command jar -xvf <<created jar file name>>.jar *.gif.
Note: Bouncing of Weblogic 11g server is required once changes in the registry.dat and
formsweb.cfg are made.
This API displays the standard Windows Folder Browse Dialog which allows the user to select a
directory/file.
The following steps should be followed for Forms which have Browse for Folder Windows API:
TCS Internal 16
Etihad Airways Response to RFP for <Name of the Proposal>
sign_webutil.bat jacob.jar
4) Attach the webutil.pll ,webutil.olb to the form( which has Browse API)
6) In Object Library drag the webutil object to the object class of the form. Select copy
option .Do not subclass the object
http://127.0.0.1:8889/forms/frmservlet?config=webutil&form=xxx.fmx
TCS Internal 17
Etihad Airways Response to RFP for <Name of the Proposal>
4. UPGRADING REPORTS
The following steps should be followed for migration of Client/Server Reports 6 to Web-Enabled
GUI Reports 10g:
1) Run the source application in Reports 6 to check the proper functioning of the report.
2) Archive the generated reports for validation by comparison to new reports generated in
Reports 10g.
5) Attach the library again (if any library is linked to the report).
TCS Internal 18
Etihad Airways Response to RFP for <Name of the Proposal>
TCS Internal 19
Etihad Airways Response to RFP for <Name of the Proposal>
Reports runtime user interface is obsolete in 10g. For command rwrun, DESTYPE values of
SCREEN and PREVIEW are no longer valid.
E.g.
v_host_line:='/reports/rwservlet?report='||v_directory||:local_rep_id||'.rep'||'+userid='||:ctr
l1.username||'/'||:ctrl1.password||'@'||:ctrl1.connect_string||'+destype=Cache+paramform
=yes';
Web.show_document (v_host_line,'_blank');
E.g.
v_host_line:='/reports/rwservlet?report='||v_directory||:parameter.report_name||'.rep+'||'u
serid='||:ctrl1.username||'/'||:ctrl1.password||'@'||:ctrl1.connect_string||'+paramform=no'
||'+destype=Cache'||'+p_job_id='||:global.out_job_queue;
Web.show_document (v_host_line,'_blank');
TCS Internal 20
Etihad Airways Response to RFP for <Name of the Proposal>
5. DISCOVERER MIGRATION
There is no direct upgrade path from Discoverer Release 3i to Discoverer Version 10g. Instead,
use the following upgrade path:
Before Upgrading take a backup of all EUL tables using the following command in command
prompt.
1) Open the discoverer Administration Release 3.1 and it will prompt the below window to
enter the EUL user details.
TCS Internal 21
Etihad Airways Response to RFP for <Name of the Proposal>
TCS Internal 22
Etihad Airways Response to RFP for <Name of the Proposal>
4) The business area will be exported. After exporting the EUL, open the same EUL user in
discoverer 4i administrator.
It automatically prompts to upgrade the EUL from version 3i to version 4 as shown below
6) After upgrading the EUL, the below prompt will appear for deleting the EUL 3i.
TCS Internal 23
Etihad Airways Response to RFP for <Name of the Proposal>
7) After clicking OK button the following prompt will appear for refreshing the summaries.
8) Once you have upgraded your users to Discoverer Release 4 and they are successfully
connecting to the database through your Release 4 EUL, remove the Release 3i EUL. This
is done through a SQL script, which will remove the Release 3i EUL and all associated
tables, including Managed Summary Folders.
From the Program Group, Oracle for Windows95/NT, run SQL Plus 8.0.
Log in as the EUL owner with the EUL password and connect string.
Run the SQL script as described below:
SQL>@<ORACLE_HOME>\Discvr4\sql\eul31del.sql
The Discoverer End User Layer Database Tables deinstallation script appears. This script
removes a Release 3i EUL and any associated database objects, including Summary
Tables.
TCS Internal 24
Etihad Airways Response to RFP for <Name of the Proposal>
1) Open the discoverer 4i and Follow the same steps for exporting the Business areas in
discoverer 3i as shown below,
2) After exporting the eex file, open Discoverer 10g administrator with same user.
TCS Internal 25
Etihad Airways Response to RFP for <Name of the Proposal>
3) Click on Continue, which will again prompt below mentioned window to proceed
with the upgradation.
4) Then select the radio button Yes and click Proceed with Upgrade
5) Once the EUL have been successfully upgraded, the following window will appear for
deleting the older version EUL (EUL 4i).
6) After clicking on OK button the log details will appear as shown below.
TCS Internal 26
Etihad Airways Response to RFP for <Name of the Proposal>
7) Once you have upgraded your users to Discoverer Release 10g and they are successfully
connecting to the database through your Release 10g EUL, remove the Release 4 EUL.
This is done through a SQL script, which will remove the Release 4 EUL and all
associated tables, including Managed Summary Folders.
From the Program Group, Oracle for Windows95/NT, run SQL Plus 8.0.
Log in as the EUL owner with the EUL password and connect string.
Run the SQL script as described below:
SQL>@<ORACLE_HOME>\discoverer\util\eul4del. sql
The Discoverer End User Layer Database Tables deinstallation script appears. This script
removes a Release 4 EUL and any associated database objects, including Summary Tables.
TCS Internal 27
Etihad Airways Response to RFP for <Name of the Proposal>
TCS Internal 28
Etihad Airways Response to RFP for <Name of the Proposal>
TCS Internal 29
Etihad Airways Response to RFP for <Name of the Proposal>
TCS Internal 30
Etihad Airways Response to RFP for <Name of the Proposal>
Following are some of the issues faced and the resolutions provided during forms migration:
default.icons.iconextension=gif
archive=frmall.jar,nssi_icons.jar
imageBase=codebase
TCS Internal 31
Etihad Airways Response to RFP for <Name of the Proposal>
Form is not displayed Increase the window width and height in property palette. Or
8.
completely in Web Increase width and height dimensions in formsweb.cfg file.
Include
9. Applet is not maximized Set_window_property(forms_mdi_window,window_state,maximize)
in When_new_form_instance trigger
On Save, FRM-40222:Disabled
11. Change Required property to No in Property Palette of the item.
Item failed validation error
TCS Internal 32
Etihad Airways Response to RFP for <Name of the Proposal>
FRM-40735 . trigger
17. raised unhandled exception Recompile packages in database
ORA -04063
FRM-40831- Truncation
18. Increase Max Length of the field in property palette
occurred
Some icons are not deployed Icon name in form should be in same case as that of icon in the JAR
20.
in 11g file
While compiling in 11g Ensure the pll path is removed in the forms having plls attached
22.
compilation errors .Also ensure the plls are in upper case.
FRM-30049: Unable to build Go to Property Palette of the LOV Change the column mapping
26.
column mappings properties
TCS Internal 33
Etihad Airways Response to RFP for <Name of the Proposal>
TCS Internal 34
Etihad Airways Response to RFP for <Name of the Proposal>
7. LIST OF ABBREVIATIONS
Abbreviation Expansion
TRG Trigger
TCS Internal 35