Error of the ACLs in Oracle Apex 5 after schema change

Hi all

I'm creating an application using Oracle Apex 5.

I have a button call Send Mail and mail is worked.

Now, I imported my request in a different schema and configured acl as below.

I use apex_mail.send to send mail and created the acl as

BEGIN

() DBMS_NETWORK_ACL_ADMIN.drop_acl

ACL = > 'open_apex.xml');

(DBMS_NETWORK_ACL_ADMIN). CREATE_ACL

ACL = > "open_apex.xml"

Description = > "a test of the ACL feature."

main = > 'RMSR. "

IS_GRANT = > TRUE,

privilege = > 'connection ',.

start_date = > SYSTIMESTAMP,

End_date = > NULL);

(DBMS_NETWORK_ACL_ADMIN). ASSIGN_ACL

ACL = > "open_apex.xml"

Home = > ' *',

lower_port = > 20,

upper_port = > 9999);

COMMIT;

end;

BEGIN

(DBMS_NETWORK_ACL_ADMIN). ADD_PRIVILEGE

ACL = > "open_apex.xml"

main = > 'RMSR. "

IS_GRANT = > TRUE,

privilege = > 'connection ',.

position = > NULL,

start_date = > NULL,

End_date = > NULL);

COMMIT;

END;

It throws error as

ORA-24247: network access denied by access control list (ACL)

Is there a problem in my setup?

Thanks in advance,

Su.GI

Hi Su.gi,

Su.GI wrote:

I'm creating an application using Oracle Apex 5.

I have a button call Send Mail and mail is worked.

Now, I imported my request in a different schema and configured acl as below.

It throws error as

ORA-24247: network access denied by access control list (ACL)

Is there a problem in my setup?

You have granted the ACL to the RMSR of your database schema, so it is necessary for the APEX_050000 scheme when you use the APEX_MAIL package.

This is why the ACL must be granted at the APEX 5 Schema: https://docs.oracle.com/cd/E59726_01/install.50/e39144/listener.htm#HTMIG29161

Here's how the ACL must be granted for APEX 5 Schema: https://docs.oracle.com/cd/E59726_01/install.50/e39144/listener.htm#HTMIG29162

NOTE:

  • Create the ACL by logging into the user with SYSDBA SYS privileges.
  • Don't forget to validate after execution of the anonymous block for the creation of ACL.

Kind regards

Kiran

Tags: Database

Similar Questions

  • How to change the oracle APEX application after the Oracel APEX 3.2 to 4 upgrade

    I have already installed Oracle APEX 3.2 and Oracle database 11.2 in the linux machine. I want to improve Oracle APEX of 3.2 to 4.1. I just want to know that the application developed in Oracle APEX 3.2 will be automatically upgraded or I have to do this manually after the upgrade to Oracle APEX 4.1.

    Published by: 908266 on January 16, 2012 01:49

    you mean the usefulness of "Request for upgrade"?
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/bldr_app_rpt.htm#CHDJJJAA

  • I try to copy a CD but get an error in the column State of Rip. Has not changed any option, as I just ripped a CD yesterday. HELP PLEASE!

    I have NEED of HELP PLEASE I am trying to copy a CD but get an error in the column State of Rip. Has not changed any option, as I just ripped a CD yesterday.  HELP PLEASE!

    Hello

    1. What is the exact error message?

    2. is the issue specific to this particular CD/DVD?

    3 did you changes to the computer, before the show?

    Method 1:

    Run the Windows Media Player settings troubleshooter.

    Open the troubleshooting Windows Media Player settings Troubleshooter

    Method 2:

    Change the settings for the extraction of music and the audit.

    Change settings for ripping

  • Execution of the procedure of Oracle APEX

    Hello

    I've written a procedure ' create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2); " et I want to execute this procedure to Oracle Apex.


    PROCEDURE:

    create or replace PROCEDURE process_csvfile(p_filename IN VARCHAR2)
    AS
    statement1 varchar2(1000);
    statement2 varchar2(1000);
    statement3 varchar2(1000);
    
    begin
    dbms_output.put_Line(p_filename );
    statement1:= 'alter table adb.external_bcc_test location ( '  ||chr(39)|| p_filename||chr(39)|| ')' ;
    dbms_output.put_line(statement1);
    EXECUTE immediate statement1;
    dbms_output.put_line('statement1-> completed');
    EXECUTE immediate 'truncate table ADB.ADB_BCC_TEST';
    dbms_output.put_line('statement2-> completed');
    statement3:='insert /*+ append */ into ADB.ADB_BCC_TEST(BCC_ID,BCC_ADD,"NO_OF_BCC(GEO)") select * from adb.external_BCC_test';
    dbms_output.put_line(statement3);
    EXECUTE immediate statement3;
    dbms_output.put_line('statement3 insert-> completed');
    
    EXCEPTION
    WHEN OTHERS
    then
    raise;
    END;
    
    

    I created the button and the action as a dynamic Action where I wrote below PL/SQ as dynamic Action to perform this procedure


    BEGIN
    
    process_csvfile;
    END;
    
    


    But I get an error" " " ORA-06550: line 4, column 3: PLS-00306: wrong number or types of arguments in the call to 'PROCESS_CSVFILE' ORA-06550: line 4, column 3: PL/SQL: statement ignored (go to error) "

    Oracle Apex Version: 4.2.1

    Thank you

    BO.

    BO123 wrote:

    I've written a procedure ' create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2); " and I want to run this procedure from Oracle Apex.

    1. create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2)
    2. AS
    3. statement1 varchar2 (1000);
    4. statement2 varchar2 (1000);
    5. statement3 varchar2 (1000);
    6. Start
    7. dbms_output.put_Line (p_filename);
    8. statement1: = ' change the location of the table adb.external_bcc_test (' |) Chr (39) | p_filename | Chr (39) | ')' ;
    9. dbms_output.put_line (statement1);
    10. EXECUTE immediate statement1;
    11. dbms_output.put_line ('end statement1->');
    12. EXECUTE immediate ' truncate table ADB. ADB_BCC_TEST';
    13. dbms_output.put_line ('end of reporting2->');
    14. statement3: = "insert / * + append * / into ADB." ADB_BCC_TEST (BCC_ID, BCC_ADD, ' NO_OF_BCC (GEO) ') select * from adb.external_BCC_test';
    15. dbms_output.put_line (statement3);
    16. EXECUTE immediate statement3;
    17. dbms_output.put_line ('end statement3 insertion->');
    18. EXCEPTION
    19. WHILE OTHERS
    20. then
    21. lift;
    22. END;

    The treatment is an external table. How to get the source file in the specified location?

    dbms_output.put_linethe instrumentation is unnecessary in an environment of APEX (unless the apex_debug.log_dbms_output method has been called). Use apex_debug API methods instead so that information is available in debug mode.

    There is no reason to use dynamic SQL statements in lines 15-17.

    Creating a column named "NO_OF_BCC (GEO)" is not a good idea and is in conflict with the recommendation of the Oracle do not use identifiers in quotes for the names of database objects. This objects will only cause problems and confusion.

    Lines 20 to 23 are a bug. It doesn't hide where any exception occurred in fact. If there is no specific exception that must be handled in this procedure, it should not contain an exception block.

  • Problem of ScrollBar in the sidebar region Oracle Apex

    Hi all

    I'm developing an application using Oracle Apex 4.2.5.

    Application properties:

    Themes request theme 26 productivity =

    Model = a level with left sidebar tab

    I created menu Tree in the sidebar left.

    I used the code below in the region attribute

    STYLE = "overflow-x: scroll;" overflow - y: scroll; height: 500px; "width: 220px".


    If I develop the tree node overflow - y: scroll works fine, but overflow-x: scrolling does not work.

    My problem is overflow-x: scrolling does not work.

    How to solve this problem?

    Thank you

    Su.GI

    She's.

    I have power to change anything else. You can include height too, if you need, however, is fine.

    (Please check the answer correct or useful, if you think that it helped you)

    Thank you

    Sunil Bhatia

  • Alignment of the table in Oracle Apex

    Hi all

    I use Oracle Apex 4.2.5 for application development. I used 26 theme.

    In my page I used the Template of the Page as a level with the sidebar tab left. Graphic design and report on this Page.

    I created a button to hide / show the sidebar.

    When I hide the sidebar, then more space white bar inside the graph. (chart appear somewhere not in the Center)

    My requirement is necessary reduce the white space (or center the graph) when the sidebar is leather.

    Here is my sample application to apex.oracle.com.

    Application name: chart

    Application ID: 36667

    Sugi_demo = workspace

    Username = my_demo

    password = my_demo

    Thank you

    Su.GI

    Hi Su.gi,

    Please check the application now.

    I removed the width fixed 530px and centered on the chart.

    I have used Inline CSS in the page attributes:

    object {
      margin: 0 auto !important;
    }
    

    I hope this helps!

    Kind regards

    Kiran

  • How to color line specific "BOLD" / inactive in the classic report (oracle apex).

    I have the classic report in oracle apex

    with query below

    Select EMPNO, ENAME, HIREDATE, ADDRESS of emp COMM;

    If the ENAME = "John".

    so, I want to do any "BOLD" line and readonly/inactive. (set of rank who name John)

    Thanks in advance...

    Simple answer: see this blog: reports APEX: color line based on column value

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Errors in the /u01/app/oracle/diag/rdbms/xe/XE/trace/XE_j002_31317.trc file:

    Hello

    SQL > select * from V version $;

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production

    PL/SQL Release 11.2.0.2.0 - Production

    CORE Production 11.2.0.2.0

    AMT for Linux: Version 11.2.0.2.0 - Production

    NLSRTL Version 11.2.0.2.0 - Production

    -bash-4: $1 cat/etc / *-release

    CentOS version 6.5 (Final)

    LSB_VERSION=base-4.0-AMD64:base-4.0-noarch:core-4.0-AMD64:core-4.0-noarch

    CentOS version 6.5 (Final)

    CentOS version 6.5 (Final)

    A script runs on our server which sends an email when there is an error in the comic book. Currently, I received the following error message. It is the second time in a week:

    Reported by Script: dbalarm.sh


    Sun may 25 02:00:02 2014

    Errors in the file/u01/app/oracle/diag/rdbms/xe / XE/trace/XE_j002_31317.trc:

    ORA-12012: error on auto work "SYS." "" BSLN_MAINTAIN_STATS_JOB "

    ORA-06550: line 1, column 807:

    PLS-00201: identifier ' DBSNMP. BSLN_INTERNAL' must be declared

    ORA-06550: line 1, column 807:

    PL/SQL: Statement ignored

    Please notify

    Thank you in anticipation

    Difficulty for it's a drop and recreate the user dbsnmp. On any * nix db host, with a connect sysdba, drop/create/and a grant:

    @? / rdbms/admin/catnsnmp

    ...

    @? / rdbms/admin/catsnmp

    ...

    Grant execute on sys.dbms_job to dbsnmp.

    If you are using grid OEM or Cloud control dbsnmp 12 c is one of "used" connection credentials. Or if the grid is not in use on your site and can probably stop right after the catnsnmp and let dbsnmp user out of the instance. If someone wants to 'snoop' around dbsnmp is generally quite high on the list of "things to try" to see it as "lies" in the instance.

  • Errors during the Installation of Oracle 9i

    Hello

    I write on this forum as a last resort to solve a problem (after trying for 6-8 hours now). After the first installation, the optional Oracle Configuration tools that run automatically, does not (2 of 4 processes), so I had to put an end to the installation. During its installation, they failed again, but the installation was completed and a database has been created.

    Operating system: Windows XP SP3
    Oracle software: Oracle 9i

    Now, I can not connect to the server. These are the errors I get when I try to connect to:

    Thanks to the command prompt:

    C:\ > sqlplus scott/tiger
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter the user name:


    Through SQL more GUI: (scott/tiger and using string host = < my Global Database Name >)

    ORA-12154: TNS: could not resolve service name


    TNSNAMES.ora
    # TNSNAMES. ORA Network Configuration file: D:\oracle\ora90\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    #EOF

    As required, TNSNAMES is an argument sqlnet.ora. In addition, I can't uninstall Oracle 9i as Oracle Universal Installer just freezes when I click on remove components. What can I do to uninstall completely?

    Please guide me to solve the problem. Thank you for your time.

    The OracleServicePRATHAM is running (Pratham is my DRM) as well as many other services as Agent, etc. of the listener.

    On top of your Oracle service is PRATHAM

    I tried your version of the tnanames.ora. I also updated the ORACLE_ID "ORCL". I always get an error-

    Then why you set ORACLE_SID ORCL?

    I guess PRATHAM

    Set ORACLE_SID = PRATHAM

  • Error in the installation of Oracle 10 g RDBMS on linux installed on Vmware

    Hello


    I try to install the software of RDBMS Oracle 10 g. I created all the required users and groups, creates directories and updaates the sysctl.conf file.
    When I run the installation program. / runInstaller it gives the following error.



    [data oracle@aasim] $. / runInstaller
    From Oracle Universal Installer...

    Checking Installer requirements...

    Checking the operating system version: must be redhat-3, 9-SuSE, redhat-4, UnitedLinux - 1.0, asianux-1 or asianux-2
    Past


    Met the requirements of the installation program.

    Preparations for the launch of Oracle Universal Installer from/tmp/OraInstall2011-02-26_11-48-44 PM. Please wait... [data oracle@aasim] $ Xlib: connection to ": 0.0" refused by server
    Xlib: No protocol specified

    Exception in thread "main" java.lang.InternalError: can't connect to X 11 window server using ': 0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay (Native Method)
    to sun.awt.X11GraphicsEnvironment. < clinit >(Unknown Source)
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName (unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment (unknown Source)
    at java.awt.Window.init (unknown Source)
    java.awt.Window. < init >(Unknown Source)
    in java.awt.Frame. < init >(Unknown Source)
    to oracle.ewt.popup.PopupFrame. < init >(Unknown Source)
    to oracle.ewt.lwAWT.BufferedFrame. < init >(Unknown Source)
    to oracle.sysman.oio.oioc.OiocOneClickInstaller. < init > (OiocOneClickInstaller.java:378)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)


    Can someone tell me why I get this error and how to solve it.


    Thank you
    Isabelle

    Salvation;

    If you do install on machine wmware than as root cause is

    xhost +.

    If you are installing on via puty you will need to use a program like vncviwer, xming etc.

    Please check my previous post

    http://KR.forums.Oracle.com/forums/thread.jspa?threadID=1630832

    Respect of
    HELIOS

  • Error during the Installation of Oracle

    Got this error message when you install oracle using dbca

    ORA-00600: internal error Code, arguments, [Keltnfy-Idmlnit],
    [46],[1],[],[]..

    can anyone help

    user553638 wrote:
    Got this error message when you install oracle using dbca

    ORA-00600: internal error Code, arguments, [Keltnfy-Idmlnit],
    [46],[1],[],[]..

    can anyone help

    ORA-0600 = use the tool search of ora - 600 on MetaLink. If this does not resolve your problem, open a SR.

    We really can't tell you more because you have not provided any useful information beyond the error message. I know it probably seems unimportant, but things like your OS and exactly what you have leading to the reported error could actually be useful.

  • Find data of select statement - Oracle 11 g after having changed the connection?

    IAM very very new to Oracle. Only yesterday I installed Oracle 11 G and created database - JafferDB

    Oracle SQL Developer, I created a named connection - JafferCon and also given SID... and the role is - SYSDBA
    And I excute the Sub statement

    insert into MyTable1 Values ('AAA1', 'BBB1', "CCC1")
    insert into MyTable1 Values ("AAA2", 'BBB2', "CCC2")

    Then I checked by a Select statement, it showed the values... No problem...
    But, as a test, I removed the connection and created a new tio of connection to the same database with a different name

    and when I checked by the Select statement..., it has not shown the values...?
    Made mistakes...?
    Thanks for the directions...

    After insert, update, or delete data in the database you must use the statement "commit" or "dismantling". If you want to 'save' the changes or cancellation, if you do not have to commit.
    Other users cannot see what new changes until you do the "commit".

  • deletion line causes the error after clicking on the button Delete: oracle Apex 5.0

    helloo...

    Use: Under shape whenever I checked and click on Remove button works fine.

    According to the need on my project, I took a default editable TEXT FIELD. Now, I did this TEXT FIELD on the SCREEN only.

    so now if click the button Delete after checking the check box I get below error.

    Session state protection violation:

    This can be caused by manually editing the protected element p11_total.

    Thank you

    Pranav shah

    Hi Dominique,.

    Pranav.Shah wrote:

    helloo...

    Use: Under shape whenever I checked and click on Remove button works fine.

    According to the need on my project, I took a default editable TEXT FIELD. Now, I did this TEXT FIELD on the SCREEN only.

    so now if click the button Delete after checking the check box I get below error.

    Session state protection violation:

    This can be caused by manually editing the protected element p11_total.

    Thank you

    Pranav shah

    Change your display-only item and do save the State of session No.

    or create the sample on apex.oracle.com and share credentials with us.

    Kind regards

    Jitendra

  • Error of the ACL

    I get the following error:
    ORA-24247: network access denied by access control list (ACL)

    I read and followed the oracle configuration of ACL doc, but... it does not work

    Take a look at this note:
    ORA-29861 trying to create ACLs for the [560202.1 ID] UTL_HTTP package
    Maybe it's your case...

  • Perform the procedure on oracle apex online

    Hi all


    CREATE OR REPLACE PROCEDURE TEST_PROC
    AS
    V_FNAME EMPLOYEES. FIRST_NAME % TYPE;
    BEGIN
    SELECT FIRST_NAME FROM V_FNAME OF EMPLOYEES
    WHERE NAME = 'JOHN ';
    DBMS_OUT. PUT_LINE (V_FNAME);
    END;
    I did this procedure on the http://apex.oracle.com/ sql worksheet on my account.

    When I gave TEST_PROC RUN; and CALL TEST_PROC; order for providing this procedure I get ORA-00900 following error: invalid SQL statement.

    Please tell how I can perform this procedure.

    Thanks in advance.

    concerning

    Neeraj

    Calls to PL/SQL must be made using anonymous PL/SQL code blocks. For example

    begin
      Test_Proc;
    end;
    

    There is no server EXECUTE command (some customer support this as a sales order, wraps the content to run in an anonymous PL/SQL block and then use it to call the database).

Maybe you are looking for

  • Webcam Logitech B910 work 6.14 to 6.18

    [The update by the moderator topic title should be more descriptive. [Original topic title was: 'Webcam does not work'] Hello Like many others my webcam does not work with Skype. It works well with other applications, but it does not detect Skype. In

  • NSG - MR1 / compatibility BNG - MR1

    A BNG - MR1 will run my NSX-46GT1? Why are there 2 listed NSG - MR1 controllers, 1 is $107.95 and the other is $ 19.95. Of course, the cheap option is out of stock, so the BNG - MR1 is in the Middle at $59,95 and available. Will it work?

  • IE9 is compatible with XP?

    IE9 is compatible with XP? or is IE8 IE9 with option for improving MSN and Bing for XP.

  • Vista system does not see the files that are on a CD of HP, Intuit and others

    CD allows you to install different products does not work on my Vista Ultimate system when the CD has been made by the manufacturer to support Windows and Mac OS.  These CD work in an XP system and a Windows 7 system. I have two optical drives on the

  • deletion of e-mail contacts

    Cannot delete a contact from my contact list. Contact situation changed so created a new contact record. The news is the only one that appears in the list of contacts.  However, when sending an e-mail and entering into the only first letter of the na