Resolving Oracle Error "ORA-06508: PL/SQL: could not find program unit being called" in Boomi Processes


Issue Overview

When executing a Boomi process that interacts with an Oracle Database (such as Oracle EBS), the process intermittently fails with the following error in Process Reporting:

ORA-06508: PL/SQL: could not find program unit being called

Root Cause

The ORA-06508 error originates directly from the Oracle Database. It occurs when a PL/SQL program unit (stored procedure, function, or package) referenced by the application becomes invalid or has been recompiled on the database side.

When using Connection Pooling (e.g., in the Oracle EBS DB connector), active pooled connections retain references to the compiled state of database packages. If an Oracle DBA or automated deployment task modifies or recompiles a package while these pooled connections are active:

1. Oracle invalidates existing session states.
2. Subsequent calls over stale pooled connections fail with ORA-06508.
3. The issue persists until the stale connections in the pool are closed and refreshed.

This behavior is standard across JDBC connection pools and is not caused by the Boomi runtime platform itself.

 


 

Resolution

Immediate Remediation

To immediately clear stale database references and restore processing:

 


 

Best Practices & Preventive Recommendations

To prevent this issue during database maintenance or package updates:

1. Flush/Reset Connection Pools After DB Maintenance:

2. Avoid Global Package Variables (Stateful Packages):

3. Check Oracle EBS Known Issues:

 


 

Additional References