ORA-04052: error occurred when looking up remote obj in mapping execution

Hi,
While executing an OWB mapping, I am getting the following error:
============
Starting Execution UII_D_MAP_SPC_INSTALLATION_SIT
Starting Task UII_D_MAP_SPC_INSTALLATION_SIT
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-02019: connection description for remote database not found
ORA-02063: preceding 3 lines from BIP2S@BIPDRACONN
ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 73
ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 1672
ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 2353
ORA-06512: at "UII_ODS_OWNER.UII_D_MAP_SPC_INSTALLATION_SIT", line 6838
ORA-06512: at line 1
Completing Task UII_D_MAP_SPC_INSTALLATION_SIT
Completing Execution UII_D_MAP_SPC_INSTALLATION_SIT
============
Actually, here UII_ODS_OWNER itself is the target schema and <<UIIVS.DEVENV1.BT.CO.UK>> is the database in which this schema exists. And the mapping "UII_D_MAP_SPC_INSTALLATION_SIT" is being executed in the same target schema UII_ODS_OWNER.
I am not sure why this above error is coming because such a dblink 'UIIVS.DEVENV1.BT.CO.UK' does not exist in the OWB generated package code. And the 2nd dblink 'BIP2S@BIPDRACONN' does not exist in the code, intead it exists as "BIP2S.DEVENV1.BT.CO.UK@BIPDRACONN" in the package code which is correct (as per OWB configuration & database).
Same error also comes when I try to execute the same mapping from the OWB DEPLOYMENT MANAGER.
Thanks & Regards,
lenin

Good morning Lenin,
Have you checked the implementation of the connectors and are your locations well registered?
Has a similar setup ever worked well?
Can you access the source table using SQL (e.g. with SQL*Plus or TOAD)?
Regards, Patrick

Similar Messages

  • PL/SQL: ORA-04052: error occurred when looking up remote object.

    Hi All,
    I'm getting the following error message while executing a PL/SQL Block.
    PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03106: fatal two-task communication protocol error
    ORA-02063: preceding line from FTSStatement
    declare
    v_coun number;
    begin
    select count(*) into v_coun
    from updluser.filestatushistory@fts;
    end;Back ground of the situation as follows,
    My DataBase version 10.2.0.3 DB Name :DB1
    Table Owner : UPLDUSER
    Table Name : FILESTATUSHISTORY
    I have a report user on the same database and I have grant all on the above table to report user
    Report User : RPT_FTS
    SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
    Database version : 9.2.0.8
    DB Name : DB2
    User Name : RPT_REPORTS
    I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
    but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Now the strange about this is that I have Created a new table on DB1 db like below;
    SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
    To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
    SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
    Just wants To know what whould have been the cause for this .
    Cheers
    Kanchana

    Hi Kanchana,
    Perhaps following link of google search has answer to your query
    ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
    HTH!
    *009*

  • ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@..

    Hello,
    I'm trying to import data van 10XE version to new 11XE version over db_link.
    When using the method I run into following error:
    ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@<<db_link_name>>
    This seems to be a bug in 10.2.0.1 fixed in later 10.2 versions, according to the database general forum. "upgrade to newer version"
    But how do i fix this bug in 10XE? Or is the only way around to use the 'old-fashioned' way of exporting data from 10XE to a file, transfer the file and import it in 11XE?
    Best regards,
    Jan.

    No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
    That's the 'price' you have to pay for this free edition.
    Werner

  • ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT

    Hello everyone,
    When I tried to create a materialized view with refresh fast mode, I encountered following error message.
    The MV log has been created on my_table like this:
    create materialized view log on my_table
    tablespace data3
    with rowid, sequence
    including new values;
    The database link has been created like this:
    CREATE PUBLIC DATABASE LINK my_db
    CONNECT TO myname
    IDENTIFIED BY mypassword
    USING 'my_db';
    Could anybody please let me know why I can not create MV with refresh fast? What I did wrong?
    Thanks in advance!!!
    MYDB>select count(*) from my_table@my_db;
    COUNT(*)
    5
    Elapsed: 00:00:00.01
    MYDB>create materialized view my_mv
    2 tablespace data4
    3 build immediate
    4 refresh fast with rowid
    5 as
    6 select * from my_table@my_db
    select * from my_table@my_db
    ERROR at line 6:
    ORA-04052: error occurred when looking up remote object SYS.DBMS_SNAPSHOT@my_db
    ORA-00604: error occurred at recursive SQL level 2
    ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [55916]
    ORA-02063: preceding 2 lines from my_db
    Elapsed: 00:00:00.29
    MYDB>create materialized view my_mv
    2 tablespace data4
    3 build immediate
    4 as
    5 select * from my_table@my_db;
    Materialized view created.
    Elapsed: 00:00:00.20

    No, you cannot apply a patch to XE. Basically the XE internal code is the same as for any other edition. That means is there a bug, you have it in XE,too. To get patches you need a licence for metalink/My Oracle Support. But even you would have one, it wouldn't help you, because Oracle does not provide patches for XE.
    That's the 'price' you have to pay for this free edition.
    Werner

  • ORA-04052: error occurred when looking up remote object

    Hi, Basically I want to setup Replication between two servers, 'ZEN2K7' & 'DB' (Advanced master-to-master replication, Sync).
    This is what i had done so far.(Both server having ver 10.1.0.2.0)
    At Server 'ZEN2K7'
    CONNECT system/manager@ZEN2K7
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK DB USING 'DB';
    CONNECT repadmin/repadmin@ZEN2K7
    CREATE DATABASE LINK DB CONNECT TO repadmin IDENTIFIED BY repadmin;
    At Server 'DB'
    CONNECT system/manager@DB
    CREATE USER repadmin IDENTIFIED BY repadmin;
    ALTER USER repadmin DEFAULT TABLESPACE POOL_DATA;
    ALTER USER repadmin TEMPORARY TABLESPACE TEMP;
    GRANT connect, resource TO repadmin;
    EXECUTE dbms_repcat_admin.grant_admin_any_schema('repadmin');
    GRANT comment any table TO repadmin;
    GRANT lock any table TO repadmin;
    EXECUTE dbms_defer_sys.register_propagator('repadmin');
    GRANT execute any procedure TO repadmin;
    CREATE PUBLIC DATABASE LINK ZEN2K7 USING 'ZEN2K7';
    CONNECT repadmin/repadmin@DB
    CREATE DATABASE LINK ZEN2K7 CONNECT TO repadmin IDENTIFIED BY repadmin;
    After this, Create master replication group on ZEN2K7
    CONNECT repadmin/repadmin@ZEN2K7
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname => '"REPTEST"',
    qualifier => '',
    group_comment => '');
    END;
    Then at 'ZEN2K7', when i executing
    BEGIN
    DBMS_REPCAT.ADD_MASTER_DATABASE(
    gname => '"REPTEST"',
    master => 'DB',
    use_existing_objects => TRUE ,
    copy_rows => TRUE ,
    propagation_mode =>'SYNCHRONOUS');
    END;
    I got following error
    ORA-04052: error occurred when looking up remote object REPADMIN.SYS@DB
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4262
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 2
    I had already execute the 'catrpc.sql' on both server.
    I had already check the connection at 'ZEN2K7' side, means I can connect to 'DB' within SQL* Plus at 'ZEN2K7' side.
    What else need to do???
    Thanks.
    Gurpreet S. Gill

    ORA-12154: TNS:could not resolve the connect identifier specified
    This means that you server is unable to resolve DB alias.
    Check you SQL*Net settings.
    On ZEN2K7 try tnsping db. If tnsping return error that add db alias to tnsnames.ora if you use tnsnames as one of resolving mechanism (check sqlnet.ora for NAMES.DIRECTORY_PATH)

  • ORA-04052: error occurred when looking up remote object REPADMIN.SYS@CEL2.W

    Hi,
    on 10gR2 , on WIN 2003 server :
    C:\>sqlplus repadmin/***@CEL2.WORLD
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jun 22 09:54:18 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsAnd then :
    CONNECT repadmin/******@CEL1.WORLD
    BEGIN
       DBMS_REPCAT.ADD_MASTER_DATABASE (
          gname => 'REPG',
          master => 'CEL2.WORLD',
          use_existing_objects => TRUE,
          copy_rows => FALSE,
          propagation_mode => 'ASYNCHRONOUS');
    END;
    BEGIN
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 2
    ORA-12545: Connect failed because target host or object does not exist
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 4271
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2156
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 2Thank for help.

    Thank you. I think it is a problem with dB_LINK.
    SQL> select db_link from dba_db_links;
    DB_LINK
    CEL2.WORLD
    CEL2.WORLD
    SQL> select count(*) from [email protected];
    select count(*) from [email protected]
    ERROR at line 1:
    ORA-12505: TNS:listener does not currently know of SID given in connect
    descriptor
    SQL> select count(*) from SCOTT.EMP@CEL2;
    select count(*) from SCOTT.EMP@CEL2
    ERROR at line 1:
    ORA-02019: connection description for remote database not foundI can not see how to correct it ?
    Thanks.

  • ORA-04052: error occurred when looking up remote object STRMADMIN.DBMS_AQAD

    ORA-04052: error occurred when looking up remote object STRMADMIN.DBMS_AQADM@PROD
    ORA-00604: error occurred at recursive SQL level 4
    ORA-12170: TNS:Connect timeout occurred
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 1087
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 7616
    ORA-06512: at "SYS.DBMS_AQADM", line 631
    ORA-06512: at line 1
    my capture and apply proccess are enable.but the propagation gives the above error
    how could i sole this?

    Compliant to global_name ? Please browse a bit this forum, global name issue arise every 2 days.
    STRMADMIN.DBMS_AQADM@PROD

  • Simple Single-Source Replication(error occurred when looking up remote obj)

    Dears
    I am following the "Simple Single-Source Replication Example"
    (http://download.oracle.com/docs/cd/B19306_01/server.102/b14228/repsimpdemo.htm#g1033597)
    In Configure Capture, Propagation, and Apply for Changes to One Table; when I Set the Instantiation SCN for the hr.jobs Table at str2.net by following procedure
    SQL> DECLARE
    2 iscn NUMBER; -- Variable to hold instantiation SCN value
    3 BEGIN
    4 iscn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
    5 [email protected](
    6 source_object_name => 'scott.emp',
    7 source_database_name => 'str1.net',
    8 instantiation_scn => iscn);
    9 END;
    10 /
    DECLARE
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object
    [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02085: database link STR2.NET connects to
    ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
    Note also advise where should I have to execute above at (STR1.NET or STR2.NET)
    regards;

    Good morning Lenin,
    Have you checked the implementation of the connectors and are your locations well registered?
    Has a similar setup ever worked well?
    Can you access the source table using SQL (e.g. with SQL*Plus or TOAD)?
    Regards, Patrick

  • ORA-04052: Error occurs when execute the block

    I'm trying to run one block and his query definition uses an active public database link. When I ran the script to block I get the following message:
    ERROR in line 1:
    ORA-04052: error occurred when looking up remote object
    SQ_DSV.temp_tipo_contr@SQ_DSV tc
    ORA-00604: error occurred at recursive SQL level 1
    But when I execute his definition query all is ok, the query works fine.
    I mean, I'm using the following sentence to block:
    declare
    Cursor Tipo_Contr is
    Select tc.rec_id, tc.tipo_contr from SQ_DSV.temp_tipo_contr@SQ_DSV tc;
    begin
    For Reg_Tipo_Contr in Tipo_Contr Loop
    Begin
    Update recursos Set tpcontr_id = Reg_Tipo_Contr.tipo_contr
    where rec_id = Reg_Tipo_Contr.rec_id;
    exception when others then
    dbms_output.put_line(Reg_Tipo_Contr.rec_id || ' Not find');
    end;
    end loop;
    -- Commit;
    end;
    I checked for the GLOBAL_NAMES parameter and it is set to FALSE. Please help me, How can I fix this problem ?
    I'm using Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production running over Win XP for run block.
    Thanks you, Paulo.

    ORA-04052 error occurred when looking up remote object stringstringstringstringstring
    Cause: An error has occurred when trying to look up a remote object.
    Action: Fix the error. Make sure the remote database system has run KGLR.SQL to create necessary views used for querying/looking up objects stored in the database.
    Regards
    Marcio Paiva

  • Getting "error occurred when looking up remote object" During IMPDP

    Hi
    I am doing a migration from one server to another server. I am on testing period. I am working on this setup
    SALESDB - RHEL 5.2(64bit) and Oracle Database 10.2.0.4
    It has schemas: SALESMGR, TARGET, REPORT and FINANCE
    These schemas will be migration to another database with the same name (we will be shutting down SALESDB 10g after the migration)
    SALESDB - RHEL 5.5(64bit) and Oracle Database 11.2.0.2
    ====================================
    The EXPDP process of the schemas in 10g DB are good and no errors where encountered. But during the IMPDP process of the schemas in 11g DB, I got the follwing erorrs:
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "BEGINNING_BALANCE_PKG" COMPILE REUSE SETTINGS TIMESTAMP '200"*
    *"9-05-11:09:26:16'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_FAULT_CODES" COMPILE REUSE SETTINGS TIMESTAMP '2009-05-1"*
    *"0:02:49:13'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_IFACE_SALESPRD_DATA" COMPILE REUSE SETTINGS TIMESTAMP '20"*
    *"11-09-22:10:33:12'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESMGR@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_COPY_TC_RECPT_TO_ITEM_RECPT" COMPILE REUSE SETTINGS TIMESTAM"*
    *"P '2009-05-10:06:07:09'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_SALES_INVOICE_CREATE_XML_TR" COMPILE REUSE SETTINGS TIMESTAM"*
    *"P '2009-05-10:06:07:23'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_TR_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_SALES_INVOICE_CREATE_XML" COMPILE REUSE SETTINGS TIMESTAMP '"*
    *"2009-05-10:06:03:01'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    IMP-00017: following statement failed with ORACLE error 4052:
    *"ALTER PACKAGE "PKG_PARSE_GRAPHIC" COMPILE REUSE SETTINGS TIMESTAMP '2009-05"*
    *"-10:06:07:23'"*
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object SALESMGR.SALESPRD_DETAIL@SALESPRD_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve the connect identifier specified
    *. importing SALESMGR's objects into SALESMGR*
    *. importing SALESMGR's objects into SALESMGR*
    I have not created the complete TNS entries in the TNSNAMES.ORA file in the new Oracle 11g. We will be updating this on the actual migration process. Is this the root cause of the problem? I am sure that all database links are existing but upon validating it, it says "ORA-02019: connection description for remote database not found."
    Any ideas or feedback on this?
    Thanks!

    Hello,
    Yes, this is the root cause : Oracle can not compile your packages if it can not connect to remote tables.
    You have to create those entries in your tnsnames, but may be you can reference some test databases in your tnsnames instead of the real production databases, to avoid mistakes.
    Regards,
    Sylvie

  • An error occurred when executing a REMOTE FUNCTION CALL.

    Dear all,
    We have two syetms called DXD and GRD , we have a remote enabled function module in the DXD system , when i am trying to call this Function module from
    GRD system it is going for the short dump, and giving the follwing error,
    <b>Error analysis
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_NO_AUTHORITY"
        on the called page.</b>
    But i do have the access for the DXD system also, i am really struggling to solve this problem, if any lights are there to help me , i will be thank full for then,
    some body suggested for me that we need to maintain the Trusted system tables in the target system.
    Thanks & regards
    Satya.

    first u( user id ) have to get the Authorizations to use RFC ?
    object will be  like S_RFC or some thing like this.
    when u get this kind of error just call /NSU53 then u will come to know which Authorization Object is missing from ur User Profile.
    Regards
    Prabhu

  • ORA-25228 error occurs when Foreign JMS Server connecting to the Oracle AQ

    Hi,
    I configure of a Foreign JMS Server that uses the Oracle JDBC Driver to connect to the AQ Topic. I use OSB messaging proxy service as a JMS client to connect the Foreign JMS Server. After the launch, I get the following error:
    ####<Jan 30, 2013 4:51:49 AM MSK> <Error> <EJB> <EPRUSARW0520> <osb_server1> <RequestEJB7826682746890400115XX35047bed.13c85602eea.X7f53> <<anonymous>> <> <0000Jm8w2Es6qI_5xRh8iW1H1sMk0001sD> <1359507109078> <BEA-010079> <An error occurred while attempting to receive a message from JMS for processing by a message-driven bean: oracle.jms.AQjmsException: JMS-120: Dequeue failed
    Nested exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 11
    ORA-25228: timeout or end-of-fetch during message dequeue from MDM.ALL_NSI
    The exception is : oracle.jms.AQjmsException: JMS-120: Dequeue failed
         at oracle.jms.AQjmsError.throwEx(AQjmsError.java:315)
         at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1620)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:1035)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:960)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:938)
         at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:790)
         at weblogic.deployment.jms.WrappedMessageConsumer.receive(WrappedMessageConsumer.java:201)
         at weblogic.ejb.container.internal.JMSMessagePoller$1.run(JMSMessagePoller.java:262)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.ejb.container.internal.JMSConnectionPoller.doPrivilegedJMSAction(JMSConnectionPoller.java:2752)
         at weblogic.ejb.container.internal.JMSMessagePoller.processOneMessage(JMSMessagePoller.java:257)
         at weblogic.ejb.container.internal.JMSMessagePoller.pollContinuously(JMSMessagePoller.java:351)
         at weblogic.ejb.container.internal.JMSMessagePoller.pollForParent(JMSMessagePoller.java:483)
         at weblogic.ejb.container.internal.JMSMessagePoller.run(JMSMessagePoller.java:499)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 11
    ORA-25228: timeout or end-of-fetch during message dequeue from MDM.ALL_NSI
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
         at oracle.jdbc.driver.T4Caqdq.processError(T4Caqdq.java:497)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
         at oracle.jdbc.driver.T4Caqdq.doOAQDQ(T4Caqdq.java:183)
         at oracle.jdbc.driver.T4CConnection.doDequeue(T4CConnection.java:4704)
         at oracle.jdbc.driver.PhysicalConnection.dequeue(PhysicalConnection.java:17863)
         at oracle.jdbc.driver.PhysicalConnection.dequeue(PhysicalConnection.java:17949)
         at oracle.jdbc.OracleConnectionWrapper.dequeue(OracleConnectionWrapper.java:1624)
         at weblogic.jdbc.wrapper.XAConnection_oracle_jdbc_driver_LogicalConnection.dequeue(Unknown Source)
         at weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection.dequeue(Unknown Source)
         at oracle.jms.AQjmsConsumer.jdbcConnectionDequeueCheck25242(AQjmsConsumer.java:1713)
         at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1295)
         ... 13 moreHowever, when I put message to AQ topic, the OSB proxy receives and processes it. But SQLException occurs every five seconds and pollute logs.
    Request help to resolve this.
    Thanks in advance.
    Regards
    Alexander.

    Maybe this can help: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:4018285967344

  • ORA-03113 error occurs when trying to insert record using procedure

    I have a Database Block whose DML Data Target Type is Procedure. I have given the Insert Procedure Name, Insert Procedure Arguments and Insert Procedure ResultSet Columns. The procedure which is used to insert record into the table, resides in the database. The procedure for insert takes Table of records as argument. I am getting FRM-40735: INSERT-PROCEDURE trigger raised unhandled exception ORA-03113).
    This exception does not occur if the Procedure is place under Program Units. But, I want the procedure to be under Database Block. I am working on Oracle Forms 6i.
    Please help me out in resolving this.

    Hello,
    I think you should call the support for this kind of error.
    Francois

  • ORA:03113 Error occuring when trying to recompile a Trigger

    Hi ,
    I am facing ORA-03113 end-of-file on communication channel Error.
    My V$version ouput is as follows
    BANNER
    Oracle9i Enterprise Edition Release 9.0.1.5.0 - Production
    PL/SQL Release 9.0.1.5.0 - Production
    CORE 9.0.1.2.0 Production
    TNS for Linux: Version 9.0.1.4.0 - Production
    NLSRTL Version 9.0.1.5.0 - Production
    I searched in google and in all actions to be performed is to submit a request to Oracle Support.
    Is there any another way to resolve this problem?
    Please guide me.
    Thanks & Regards
    Salih KM

    Hi APC,
    I am posting the lines from alert log file and trace files.
    Alert Log Entries
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:46:35 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_9368.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Mon Sep 18 17:47:27 2006
    Errors in file /mnt1/oraclepaws/admin/paws/udump/ora_10718.trc:
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Trace File
    (10718)
    *** 2006-09-18 17:47:26.998
    *** SESSION ID:(28.39) 2006-09-18 17:47:26.998
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x8, PC: [0x94c245f, ptmak()+111]
    *** 2006-09-18 17:47:27.060
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:47:27.197
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:47:27.344
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Trace File (9368)
    Oracle9i Enterprise Edition Release 9.0.1.5.0 - Production
    With the Partitioning option
    JServer Release 9.0.1.4.0 - Production
    ORACLE_HOME = /mnt1/oracle/orainfra
    System name:     Linux
    Release:     2.4.9-e.25
    Version:     #1 Wed Sep 1 12:40:42 EEST 2004
    Machine:     i686
    Instance name: paws
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 9368, image: [email protected] (TNS V1-V3)
    *** 2006-09-18 17:46:34.557
    *** SESSION ID:(21.124) 2006-09-18 17:46:34.552
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x8, PC: [0x94c245f, ptmak()+111]
    *** 2006-09-18 17:46:35.515
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:46:35.814
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x405490a0, strcpy()+64]
    *** 2006-09-18 17:46:35.968
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [strcpy()+64] [SIGSEGV] [Address not mapped to object] [0x0] [] []
    ORA-07445: exception encountered: core dump [ptmak()+111] [SIGSEGV] [Address not mapped to object] [0x8] [] []
    Current SQL statement for this session:
    CREATE OR REPLACE TRIGGER Das.TEST_TABLE_TRG
    AFTER INSERT
    ON Das.TEST_TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    NAME: TEST_TABLE_TRG
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 9/18/2006 1. Created this trigger.
    NOTES:
    Automatically available Auto Replace Keywords:
    Object Name: TEST_TABLE_TRG
    Sysdate: 9/18/2006
    Date and Time: 9/18/2006, 6:01:02 PM, and 9/18/2006 6:01:02 PM
    Username: (set in TOAD Options, Proc Templates)
    Table Name: TEST_TABLE (set in the "New PL/SQL Object" dialog)
    Trigger Options: (set in the "New PL/SQL Object" dialog)
    BEGIN
    IF :NEW.COL1 ='TEST' THEN
    RAISE_APPLICATION_ERROR(-20001,'Testing error');
    END IF;
    END TEST_TABLE_TRG;
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    Please guide me in this issue.
    I'm also studying the link given by oradba
    Thanks & Regards
    Salih KM
    Message was edited by:
    kmsalih

  • Why am I getting an ORA-04052 error when I try to compile a Procedure?

    Hi,
    The following procedure I'm getting an ORA-04052 error when I try to compile the following procedure.
    CREATE OR REPLACE PROCEDURE APPS.Find_String (
    pin_referenced_name IN dba_dependencies.referenced_name%TYPE)
    IS
    cursor cur_get_dependancy
    is
    SELECT distinct owner, name, type
      FROM [email protected]        -- prod.world
    WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
       AND referenced_type <> 'SYNONYM'
       AND owner <> 'SYS'
    order by name;
    v_owner  varchar2(40);
    v_name   varchar2(50);
    v_type   varchar2(40);
        BEGIN
           dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
           dbms_output.put_line(' ');
           dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
           dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
            FOR i IN cur_get_dependancy
            LOOP
                v_owner := RPAD(i.owner, 30, ' ');
                v_name  := RPAD(i.name, 45, ' ');
                v_type  := RPAD(i.type, 30, ' ');
                dbms_output.put_line(v_owner ||v_name|| v_type);
            END LOOP;
    END find_string;I'm using the link [email protected]. The procedure compiles for other database links used in the cursor including the one commented to the right of the code 'prod.world'.
    What's even stranger is that I took the SELECT statement
    SELECT distinct owner, name, type
      FROM [email protected]        -- prod.world
    WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
       AND referenced_type <> 'SYNONYM'
       AND owner <> 'SYS'
    order by name;out of the procedure and ran it on the command line using the @pinp.world link, the SQL statement ran just fine. But when I tried to compile the above procedure with that exact same SQL statement with the exact same link I get the following string of errors.
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02068: following severe error from PINP
    ORA-03113: end-of-file on communication channelHow can the link work just fine in a regular SQL statement but then cause an error when its compiled in code that otherwise compile just fine when using any other link or even just a plain database. Does anyone have any suggestions?

    OK Justin,
    Here's the query by itself run in another database using the @pinp.world link and querying the dba_dependencies table in the pinp.world database. As you can see the query using this link works just fine returning the requested rows. I can't figure out why the compiler is having an issue with essentially this same query when I try to compile it in a cursor in TOAD. Also this is the database (dev1.world) that I'm trying to compile this Procedure in.
    By the way I'm in an Oracle 9.2.0.6 database and TOAD v9.2.
    SQL> conn apps/apps1@dev1
    Connected.
    SQL> SELECT distinct owner, name, type
      2    FROM [email protected]
      3   WHERE lower(referenced_name) = lower('ALL_USERS')
      4     AND referenced_type <> 'SYNONYM'
      5     AND owner <> 'SYS'
      6   order by name;
    OWNER                          NAME                           TYPE
    PUBLIC                         ALL_USERS                      SYNONYM
    XDB                            DBMS_XDBUTIL_INT               PACKAGE BODY
    XDB                            DBMS_XDBZ0                     PACKAGE BODY
    SYSTEM                         MVIEW_EVALUATIONS              VIEW
    SYSTEM                         MVIEW_EXCEPTIONS               VIEW
    SYSTEM                         MVIEW_FILTER                   VIEW
    SYSTEM                         MVIEW_LOG                      VIEW
    SYSTEM                         MVIEW_RECOMMENDATIONS          VIEW
    SYSTEM                         MVIEW_WORKLOAD                 VIEW
    ORASSO                         WWCTX_API                      PACKAGE BODY
    PORTAL                         WWCTX_API                      PACKAGE BODY
    ORASSO                         WWEXP_UTL                      PACKAGE BODY
    PORTAL                         WWEXP_UTL                      PACKAGE BODY
    PORTAL                         WWPOB_API_PAGE                 PACKAGE BODY
    PORTAL                         WWPOF                          PACKAGE BODY
    ORASSO                         WWPRO_PROVIDER_VALIDATION      PACKAGE BODY
    PORTAL                         WWPRO_PROVIDER_VALIDATION      PACKAGE BODY
    PORTAL                         WWSBR_EDIT_ATTRIBUTE           PACKAGE BODY
    PORTAL                         WWSBR_FOLDER_PORTLET           PACKAGE BODY
    PORTAL                         WWSBR_USER_PAGES_PORTLET       PACKAGE BODY
    ORASSO                         WWUTL_API_PARSE                PACKAGE BODY
    OWNER                          NAME                           TYPE
    PORTAL                         WWUTL_API_PARSE                PACKAGE BODY
    PORTAL                         WWUTL_EXPORT_IMPORT_LOV        PACKAGE BODY
    ORASSO                         WWUTL_LOV                      PACKAGE BODY
    PORTAL                         WWUTL_LOV                      PACKAGE BODY
    PORTAL                         WWV_CONTEXT                    PACKAGE BODY
    PORTAL                         WWV_CONTEXT_UTIL               PACKAGE BODY
    PORTAL                         WWV_DDL                        PACKAGE BODY
    PORTAL                         WWV_GENERATE_UTL               PACKAGE BODY
    PORTAL                         WWV_GLOBAL                     PACKAGE
    PORTAL                         WWV_MONITOR_DATABASE           PACKAGE BODY
    PORTAL                         WWV_PARSE_AS_SPECIFIC_USER     PACKAGE BODY
    PORTAL                         WWV_PARSE_AS_USER              PACKAGE BODY
    PORTAL                         WWV_SYS_DML                    PACKAGE BODY
    PORTAL                         WWV_SYS_RENDER_HIERARCHY       PACKAGE BODY
    PORTAL                         WWV_THINGSAVE                  PACKAGE BODY
    PORTAL                         WWV_UTIL                       PACKAGE BODY
    PORTAL                         WWV_UTLVALID                   PACKAGE BODY
    38 rows selected.
    SQL>Let me know what you think.
    Thanks again.

Maybe you are looking for