Setting Up and Using the Integration Repository Parser

Setting Up and Using the Integration Repository Parser
Installing Perl Modules on all UNIX platforms

Perform the
following steps to install Perl modules on all UNIX platforms mentioned above:

1.    Establish the Oracle
E-Business Suite application environment.
From the Oracle E-Business Suite APPS_BASE, establish the run
file system APPL_TOP environment by running the EBSapps.env script.
2.    In both the run and
patch file systems, locate the Perl configuration files that need to be
modified and back up these files.
For example, on OEL 6 the Config.pm is located in the
following directory:
find . -name Config.pm -print
/FMW_Home/webtier/perl/lib/5.10.0/x86_64-linux-thread-multi/Config.pm
Before Backup the config.pm and then do the changes:
cp -rp ./FMW_Home/webtier/perl/lib/5.10.0/x86_64-linux-thread-multi/Config.pm
/tmp/
$FMW_HOME/webtier/perl/lib/5.10.0/x86_64-linux-thread-multi/Config.pm
3. In both the run and
patch file systems, modify the Perl configuration file Config.pm to point to
the Perl directory in $FMW_HOME/webtier.
For example, on Oracle Solaris, these are the statements that
need to be modified with the absolute path of $FMW_HOME/webtier/perl:
Note: <FMW_HOME> is the value of $FMW_HOME.
archlibexp
=>relocate_inc(‘<FMW_HOME>/webtier/perl/lib/5.10.0/x86_64-linux-thread-multi
‘)
privlibexp
=>relocate_inc(‘<FMW_HOME>/webtier/perl/lib/5.10.0’)
sitearchexp
=>relocate_inc(‘<FMW_HOME>/webtier/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi
‘)
sitelibexp =>relocate_inc(‘<FMW_HOME>/webtier/perl/lib/site_perl/5.10.0’)
Ex:
# tie returns the object, so the value returned to require will
be true.
tie %Config, ‘Config’, {
    archlibexp =>
relocate_inc(‘/u01/install/APPS/fs1/FMW_Home/webtier/perl/lib/5.10.0/x86_64-linux-thread-multi’),
    archname => ‘x86_64-linux-thread-multi’,
    cc => ‘cc’,
    d_readlink =>
‘define’,
    d_symlink =>
‘define’,
    dlsrc =>
‘dl_dlopen.xs’,
    dont_use_nlink =>
undef,
    exe_ext => ”,
    inc_version_list =>
‘ ‘,
    intsize => ‘4’,
    ldlibpthname =>
‘LD_LIBRARY_PATH’,
    libpth =>
‘/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64’,
    osname => ‘linux’,
    osvers =>
‘2.6.9-34.0.1.0.11.elsmp’,
    path_sep => ‘:’,
    privlibexp =>
relocate_inc(‘/u01/install/APPS/fs1/FMW_Home/webtier/perl/lib/5.10.0’),
    scriptdir =>
‘/u01/install/APPS/fs1/FMW_Home/webtier/perl/bin’,
    sitearchexp =>
relocate_inc(‘/u01/install/APPS/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi’),
    sitelibexp =>
relocate_inc(‘/u01/install/APPS/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0’),
    useithreads =>
‘define’,
    usevendorprefix =>
undef,
    version =>
‘5.10.0’,
};
4. Create a directory ‘perl’ in $APPL_TOP_NE where the new Perl
modules will be installed. For example,
mkdir $APPL_TOP_NE/perl
chmod 755 $APPL_TOP_NE/perl
In
the run file system, set the following environment variables in APPL_TOP
environment:
  1. Prepend PATH with the path to
    the C compiler installed as a requirement of the Integration Repository
    Parser.
  2. Prepend PERL5LIB with $FND_TOP/perl
    and $APPL_TOP_NE/perl in that order.
For example, export
PERL5LIB=$FND_TOP/perl:$APPL_TOP_NE/perl:$PERL5LIB.
  1. Add $FMW_HOME/webtier/lib to
    LIBPATH if it is not present.
For example, export LIBPATH=$LIBPATH:$FMW_HOME/webtier/lib.
  1. Set $FMW_HOME/webtier as
    ORACLE_HOME.
For example, export ORACLE_HOME=$FMW_HOME/webtier.
  1. Prepend LD_LIBRARY_PATH with
    $ORACLE_HOME/lib32 and $ORACLE_HOME/lib.
For example, export
LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$LD_LIBRARY_PATH.
  1. Set JAVA_HOME to the JDK top
    directory.
Obtain the path returned by ‘which java’ and set JAVA_HOME to
the current JDK top directory.
For example, on Oracle Linux:
which
java
          /u01/install/APPS/fs1/EBSapps/comn/util/jdk32/jre/bin/java
export
JAVA_HOME=/prod/EBS122/fs1/FMW_Home/jdk

  • March 21, 2018 | 19 views
  • Comments