Note that there are some explanatory texts on larger screens.

plurals
  1. POAmazon s3 services integration with Oracle 11g
    primarykey
    data
    text
    <p>I am trying to integrate our s3 services with Oracle Apex application. After following this link : <a href="http://www.oracle.com/technetwork/developer-tools/apex/application-express/integration-086636.html#S3" rel="nofollow">http://www.oracle.com/technetwork/developer-tools/apex/application-express/integration-086636.html#S3</a></p> <p>I build app which suppose to connect Amazon service and should return content of the buckets.</p> <p>Additionally I added ACL rule to allow communication with amazon service following this extremely helpful article:</p> <p><a href="http://blog.whitehorses.nl/2010/03/17/oracle-11g-access-control-list-and-ora-24247/" rel="nofollow">http://blog.whitehorses.nl/2010/03/17/oracle-11g-access-control-list-and-ora-24247/</a></p> <p>I created following exception:</p> <pre><code>begin dbms_network_acl_admin.create_acl ( acl =&gt; 'utl_http.xml', description =&gt; 'HTTP Access', principal =&gt; 'my_user', is_grant =&gt; TRUE, privilege =&gt; 'connect', start_date =&gt; null, end_date =&gt; null ); dbms_network_acl_admin.add_privilege ( acl =&gt; 'utl_http.xml', principal =&gt; 'my_user', is_grant =&gt; TRUE, privilege =&gt; 'resolve', start_date =&gt; null, end_date =&gt; null ); dbms_network_acl_admin.assign_acl ( acl =&gt; 'utl_http.xml', host =&gt; ' *.amazonaws.com’, lower_port =&gt; 80, upper_port =&gt; 80 ); commit; end; </code></pre> <p>I also granted execute on utl_http for my user. Regardless, whenever I run app I get this error message:</p> <pre><code>ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-24247: network access denied by access control list (ACL) Technical Info (only visible for developers) is_internal_error: false ora_sqlcode: -29273 ora_sqlerrm: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-24247: network access denied by access control list (ACL) component.type: APEX_APPLICATION_PAGE_PROCESS component.id: 5598811807578444 component.name: Web Service Request error_backtrace: ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 550 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 1171 ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 397 </code></pre> <p>Oracle 11g, Apex 4.2</p> <p>Any help greatly appreciated. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload