My Oracle Support Banner

ORA-24247 Calling UTL_SMTP or UTL_HTTP or UTL_TCP in a Stored Procedure when ACL Assigned to a Role (Doc ID 754909.1)

Last updated on JULY 03, 2023

Applies to:

PL/SQL - Version 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms

In 11.1.0.6 or higher database version, executing a stored PL/SQL unit which tries to connect to an external network service by calling any of the below mentioned packages fails with ORA-24247 when the Access Control List (ACL) is granted through the role.

  • UTL_SMTP
  • UTL_MAIL
  • UTL_HTTP
  • UTL_TCP

The error looks like:

Changes

None.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.