Friday, 22 August 2025

Find Application URL From Database and Context File in Oracle App R12.1/R12.2

We can find Oracle apps URL from following three options

Database Level:-

Option:-1

SELECT home_url FROM icx_parameters;

[oracle@erptstdb01 ~]$ sqlplus apps/password
SQL*Plus: Release 11.2.0.4.0 Production on Fri Aug 22 10:14:01 2025
Copyright (c) 1982, 2013, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> SELECT home_url FROM icx_parameters;

HOME_URL
--------------------------------------------------------------------
http://erptstapp01.abc.in:8015/OA_HTML/AppsLogin

Option:-2

SELECT profile_option_value FROM fnd_profile_option_values
WHERE profile_option_id = (SELECT profile_option_id FROM fnd_profile_options WHERE profile_option_name = 'APPS_FRAMEWORK_AGENT')
AND level_value = 0;

[oracle@erptstdb01 ~]$ sqlplus apps/password
SQL*Plus: Release 11.2.0.4.0 Production on Fri Aug 22 10:14:01 2025
Copyright (c) 1982, 2013, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> SELECT profile_option_value FROM fnd_profile_option_values
WHERE profile_option_id = (SELECT profile_option_id
FROM fnd_profile_options WHERE profile_option_name = 'APPS_FRAMEWORK_AGENT')
AND level_value = 0; 

PROFILE_OPTION_VALUE
--------------------------------------------------------------------------------
http://erptstapp01.abc.in:8015

Application Level:-

We can find Oracle apps URL from Context File

Option:-3

[applmgr@erptstapp01 ~]$ cat $CONTEXT_FILE | grep external
<externURL oa_var="s_external_url">http://erptstapp01.nicsi.in:8015</externURL>

[applmgr@erptstapp01 ~]$ grep login $CONTEXT_FILE
<login_page oa_var="s_login_page">http://erptstapp01.nicsi.in:8015/OA_HTML/AppsLogin</login_page>