Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error ORA-20001 at Import of an APEX Application

Martin1Dec 16 2011 — edited Dec 19 2011
Hi,

when i import an APEX application into the production environment i get the following error:

Error GET_BLOCK Error.
ORA-20001: Execution of the statement was unsuccessful. ORA-02047: cannot join the distributed transaction in progress <pre>begin execute immediate 'begin dbms_session.set_nls( param =&gt; ''NLS_NUMERIC_CHARACTERS'', value =&gt; '''''''' || replace(wwv_flow_api.g_nls_numeric_chars,'''''''','''''''''''') || ''''''''); end;'; end; </pre>

The application was before exported from the develepment environment.

Both environments has the APEX version 4.1.0.00.32.

When i drop the following PL/SQL statement at the end of the export file the import works - what's wrong?

begin
execute immediate 'begin dbms_session.set_nls( param => ''NLS_NUMERIC_CHARACTERS'', value => '''''''' || replace(wwv_flow_api.g_nls_numeric_chars,'''''''','''''''''''') || ''''''''); end;';
end;
/

Has anybody an idea?

Best Regards,
Martin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2012
Added on Dec 16 2011
11 comments
3,841 views