You are on page 1of 2

4/9/2014 Document Display

How To Get The Proper Environment Set To Run Adbldxml.pl When Upgrading To
11g/11gR2? (Doc ID 1310854.1)
Modified: 18-Mar-2014 Type: PROBLEM

In this Document

Symptoms
Changes
Cause
Solution
References

APPLIES TO:

Oracle Applications DBA - Version 11.5.10.2 to 12.1.3 [Release 11.5.10 to 12.1]


Oracle Applications Technology Stack - Version 11.5.10.2 to 12.1.3 [Release 11.5.10 to 12.1]
Information in this document applies to any platform.

SYMPTOMS

When following step 24 'Implement and run AutoConfig' of Note 881505.1 Oracle Applications Release 11i with Oracle
11g Release 2 ,
you are directed to implement autoconfig on the database tier by following Note 165195.1 Using AutoConfig to Manage
System Configurations with Oracle Applications 11i

In section 8.2 of Note 165195.1, the following is stated:


Execute the following commands to create your Database Context File:

* On UNIX
cd <RDBMS ORACLE_HOME>
. <CONTEXT_NAME>.env
cd <RDBMS ORACLE_HOME>/appsutil/bin
perl adbldxml.pl tier=db appsuser=<APPSuser> Where is the <CONTEXT_NAME>.env in order to run
adbldxml.pl when upgrading to 11gR2

When following step 24 'Implement and run AutoConfig' of Note 881505.1 'Oracle Applications Release 11i with Oracle
11g Release 2',
you are directed to implement autoconfig on the database tier by following Note 165195.1'Using AutoConfig to Manage
System Configurations with Oracle Applications 11i'

In section 8.2 of Note 165195.1, the following is stated:


Execute the following commands to create your Database Context File:

* On UNIX
cd <RDBMS ORACLE_HOME>
. <CONTEXT_NAME>.env
cd <RDBMS ORACLE_HOME>/appsutil/bin
perl adbldxml.pl tier=db appsuser=<APPSuser>

https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=57cqi33fw_4 1/2
4/9/2014 Document Display

CHANGES

Upgrading DataBase following 881505.1 Oracle Applications Release 11i with Oracle 11g Release 2

CAUSE

The <CONTEXT_NAME>.env does not yet exist when upgrading to 11gR2 database.

SOLUTION

Note: For Windows, setting ORACLE_SID will create issues, LOCAL= is how to set the ORACLE_SID on Windows.

The following environment variables must be set in order to run adbldxml.pl.

1) ORACLE_HOME

2) ORACLE_SID

3) PATH

export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$PATH

4) ORA_NLS10

export ORA_NLS10=$ORACLE_HOME/nls/data/9idata

5) LD_LIBRARY_PATH environment variable needs to include

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib

6) 'PERL5LIB' needs to be set according to Note 165195.1


On an 11i instance with 11gR2 Database, the perl version on the database tier is '5.10.0'.
So the variable 'PERL5LIB' on the 11gR2 database tier needs to be set as follows:

*<ORACLE_HOME>/perl/lib/5.10.0:<ORACLE_HOME>/perl/lib/site_perl/5.10.0:
<ORACLE_HOME>/appsutil/perl
* export PERL5LIB

7) The ORA_TZFILE should not be set according to Note 1187616.1'Autoconfig On Db Tier Fails With Error - SP2-1503:
Unable to initialize Oracle call interface'

REFERENCES

NOTE:1187616.1 - Autoconfig On Db Tier Fails With Error - SP2-1503: Unable to initialize Oracle call interface
NOTE:165195.1 - Using AutoConfig to Manage System Configurations with Oracle Applications 11i
NOTE:881505.1 - Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0)

https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=57cqi33fw_4 2/2

You might also like