Search Results map_dad




Overview

SYS.DBMS_EPG is the server-side PL/SQL interface to the Embedded PL/SQL Gateway (EPG), which runs inside the XML DB HTTP Server in the Oracle database. In Oracle E-Business Suite releases 12.1.1 and 12.2.2, the EPG provides the core functionality of mod_plsql — allowing a web browser to invoke PL/SQL stored procedures through an HTTP listener — without requiring the Oracle HTTP Server powered by Apache. The package is declared AUTHID CURRENT_USER and resides in the SYS schema; configuration changes through its API require the XDBADMIN role, and unauthorized modification attempts raise an "access denied" exception.

Within EBS the package is primarily an infrastructure and administration API. It defines Database Access Descriptors (DADs) that map incoming URLs to PL/SQL applications, sets global and per-DAD attributes that govern gateway behavior (including logging thresholds such as LOG_EMERG through LOG_DEBUG), and authorizes or deauthorizes DADs for use. In the context of the search term "ecc propagation" — E-Business Suite's ECC (XML publisher/reporting integration) propagation of concurrent request output — DBMS_EPG governs the HTTP-facing layer through which web-based upload and retrieval requests reach PL/SQL logic; it does not itself perform ECC data propagation, but it controls the DADs and gateway attributes upon which any HTTP-delivered EBS web service depends.

Key Procedures and Functions

The documented API comprises sixteen procedures grouped into configuration and DAD management functions.

Canonical exceptions are declared for invalid DAD names, missing DADs, and unknown attributes (error numbers -24240, -24231, and -24232), allowing callers to trap configuration errors precisely.

Tables Accessed

DBMS_EPG operates against the XML DB configuration repository rather than ordinary application tables. The documented references are DBMS_XDB and DBMS_XMLDOM (accessible via APPS synonyms), which underpin storage and manipulation of the gateway's DAD definitions and attribute settings. No EBS application tables — including ECC-related tables — are directly read or written by this package. Its persistent state lives in the XDB configuration and, where EBS employs the EPG, in the corresponding database access descriptor definitions used by the XML DB HTTP Server.

Usage Notes

DBMS_EPG is invoked administratively, typically from SQL*Plus or a privileged session holding the XDBADMIN role, not from EBS forms or concurrent programs. Typical EBS 12.1.1 and 12.2.2 scenarios include verifying or repairing the DAD used by browser-based EBS functionality and setting global attributes such as log level during diagnosis of HTTP-delivered PL/SQL requests. It may be referenced by custom code only in DBA/setup scripts; application packages generally do not call it at runtime. Because the package is owned by SYS and is AUTHID CURRENT_USER, changes take effect for the invoking user's privileges, and any modification performed without XDBADMIN fails with an access-denied exception. The package is referenced by zero other packages, confirming its role as a foundational, administrator-facing configuration API rather than a dependency of EBS business logic.