Some versions of a procedure throw ORA-02019

Sorry for this newbie question but Google wasn't able to find me the answer. I've got a procedure inside a package that looks like this:
procedure get_session(p_db_server disco_db_server.server_name%type,
p_disco_server disco_server.server_name%type default null,
p_username session_record.username%type default null,
p_full_name session_record.full_name%type default null,
p_status session_record.status%type default null,
p_sid session_record.sid%type default null,
p_ref_cursor out ref_cursor) is
When I try to call like this, everything works just fine:
pkg_session.get_session('SERVER_1',null,null,null,null,null,v_ref_cursor);
But when I try it this way, I get the ORA-02019 error:
pkg_session.get_session('SERVER_1','DISCO_3',null,null,null,null,v_ref_cursor);
I can't for the life of my figure out why the second version fails. It's simply replacing one of the default nulls with a real parameter, yet I get the "ORA-02019: connection description for remote database not found" error.
Any help greatly appreciated. Thanks.
--- Rex "Oracle newbie"

Ah, thank you. That wasn't the exact problem but it got me down the right path. The query was spitting values out in all-caps so I had assumed the parameters should be all-caps. When I made that second parameter lower-case it worked. Or at least, it did not throw an exception.
Still not getting data back but now I think it's a problem in the stored proc, since I'm able to connect and run it.

Similar Messages

  • Procedure throwing ORA-01002: fetch out of sequence error

    Hello ..
    I am not using any commits inside cursors with for update statements. This was running for the last 48 hrs and suddenly started throwing errors. Can anyone help me why it has problems sporadically. Code is enclosed here.
    Is Sys_refcursor a dynamic cursor?.. I have my transaction_cursor as a sys_refcursor? Is that the problem here. If so, Do I need to remove commit inside the opening and closing of this cursor. The commit is executed for every 10000 rows..
    Thanks in Advance
    Kris
    PROCEDURE PROCESS_EXECUTOR AS
    cursor jobs_cursor is
    select job_id from (
    SELECT DISTINCT
    job_id
    FROM table_x )
    ORDER BY job_id ) where ROWNUM <= 10;
    transaction_cursor SYS_REFCURSOR;
    tran tran_type;
    sql_code varchar2(1024);
    err_msg varchar2(1024);
    cmt_counter number := 0;
    BEGIN -- Process_Executor Start
    for r_csr in jobs_cursor loop
    OPEN transaction_cursor FOR SELECT * FROM table_y a
    WHERE a.job_id = r_csr.job_id
    order by create_timestamp, task_id;
    LOOP
    FETCH transaction_cursor BULK COLLECT INTO tran LIMIT 10;
    EXIT WHEN tran.COUNT = 0;
    FOR i IN 1..tran.COUNT LOOP
    begin
    if cmt_counter = 0 then
    savepoint last_transaction;
    end if;
    cmt_counter := cmt_counter + 1;
    exec_process1(tran(i));
    if (cmt_counter = 10000 ) then
    commit;
    cmt_counter := 0;
    end if;
    exception
    when others then
    rollback to last_transaction;
    end;
    END LOOP;
    END LOOP;
    CLOSE transaction_cursor;
    end loop;
    commit;
    END PROCESS_EXECUTOR;

    I'm always trying to avoid loops at all cost.
    Anyway your jobs_cursor contains one open* and two close brackets* (see added comments)
    I don't have a database available but as usually order by is the last sql clause maybe close bracket 1 should be commented out
    PROCEDURE PROCESS_EXECUTOR AS
      cursor jobs_cursor is select job_id
                              from (SELECT DISTINCT job_id  -- OPEN BRACKET 1
                                      FROM table_x
                                   )                        -- CLOSE BRACKET 1   
                                     ORDER BY job_id
                                   )                        -- CLOSE BRACKET 2
                             where ROWNUM <= 10;
      transaction_cursor SYS_REFCURSOR;
      tran               tran_type;
      sql_code           varchar2(1024);
      err_msg            varchar2(1024);
      cmt_counter        number := 0;
    BEGIN -- Process_Executor Start
      for r_csr in jobs_cursor loop
        OPEN transaction_cursor FOR SELECT * FROM table_y a
                                     WHERE a.job_id = r_csr.job_id
                                     order by create_timestamp, task_id;
        LOOP
          FETCH transaction_cursor BULK COLLECT INTO tran LIMIT 10;
          EXIT WHEN tran.COUNT = 0;
          FOR i IN 1..tran.COUNT LOOP
            begin
              if cmt_counter = 0 then
                savepoint last_transaction;
              end if;
              cmt_counter := cmt_counter + 1;
              exec_process1(tran(i));
              if (cmt_counter = 10000 ) then
                commit;
                cmt_counter := 0;
              end if;
            exception
              when others then
                rollback to last_transaction;
            end;
          END LOOP;
        END LOOP;
        CLOSE transaction_cursor;
      end loop;
      commit;
    END PROCESS_EXECUTOR;Regards
    Etbin

  • DBA_QUEUE_SCHEDULES - ORA-02019:

    I have a propagation Issue with my Async Hotlog Change Data Capure implementation. (Source 10g Destination 11g)
    I have tracked the problem down to the change source configuration and in the table DBA_QUEUE_SCHEDULES I get the error message
    "ORA-02019: connection description for remote database not found" along with SCHEDULE_DISABLED = 'Y'. I found some on-line documentation that suggested dropping the database link in question and then re-enabling the propagation schedule.
    dbms_aqadm.enable_propagation_schedule('CDC$Q_SECFIN_CHG_SRC',
    'CDC$C_SECFIN_CHG_SRC.LOCAL');
    The schedule re-enables for around 30 seconds and then disables itself again with the same message. Can anyone guide me as to how to rectify this issue?
    Regards

    Hi,
    Versions;
    Source DB - Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    Destination DB - Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    Entry from alert log;
    Tue Mar 30 17:09:27 2010
    Propagation Schedule for (SECFIN.CDC$Q_SECFIN_CHG_SRC, CDC$C_SECFIN_CHG_SRC.LOCAL) encountered following error:
    ORA-02019: connection description for remote database not found
    Propagation Schedule for (SECFIN.CDC$Q_SECFIN_CHG_SRC, CDC$C_SECFIN_CHG_SRC.LOCAL) disabled due to 16 consecutive errors.
    The database links seem to be fine. I can query data from source to destination and vice versa using the respective database links. GLOBAL_NAMES is equal to TRUE on both databases. The setup has worked Ok up until a week ago.
    Regards

  • AQ Connection Pool throwing ORA-03113

    I am using the AQ Servlet that ships with the rdbms. The connection is established and defined with java code such as:
    AQxmlDataSource db_drv = null;
    String sid = "vndbtest";
    String port = "1521";
    String host = "dfin04";
    db_drv = new AQxmlDataSource("scott", "tiger", sid, host, port);
    return db_drv;
    I have noticed that when the database gets rebooted, I start getting ORA-03113 from the pooled connections. The only way to get things working again is to restart the AQ Servlet.
    Is there a way to set the pool so that if a connection has been closed by the database, the next servlet request will simply attempt to open a new one instead of throwing ORA-03113.
    Thanks,
    Yves

    hi,
    yes ur right. there r some problems with Aq servlet in oracle 9.2.0.x . i had same problems then i stop working with AQ servlet . use directly pl/sql interface. try to use that as procedure & then call from ur java code

  • Database Link and error ORA-02019

    Oracle 9.2.0.6 on Windows 2003
    Has anybody encountered this before and been able to resolve.
    SQL> connect SchemaA/password@NSN1
    SQL> create database link MyLink1
    2 connect to REMDB identified okm135
    3 using 'STAF'
    4 /
    Database link created.
    SQL> create or replace VIEW rem_mydocs as
    2 (select * from mydocs@MyLink1)
    3 /
    View created.
    SQL> grant select on rem_mydocs to UserA ;
    Grant succeeded
    SQL> Create or replace function fn_rem_mydocs
    2 return Sys_RefCursor
    3 IS
    4 v_rc Sys_RefCursor;
    5 begin
    6  open v_rc for
    7       select * from rem_mydocs ;
    8  return (v_rc);
    9 end;
    10 /
    Function created.
    SQL> grant execute on fn_rem_mydocs to UserA;
    Grant succeeded
    SQL> connect UserA/test975@NSN1
    Connected.
    SQL> create or replace synonym rem_mydocs for SchemaA.rem_mydocs;
    Synonym created.
    SQL> create or replace synonym fn_rem_mydocs for SchemaA.sp_rem_mydocs ;
    Synonym created.
    SQL> select count(*) from rem_mydocs ;
    COUNT(*)
          324
    SQL> var g_ref refcursor
    SQL> begin :g_ref := fn_rem_mydocs; end;
    2 /
    SQL> print g_ref
    ERROR:
    ORA-02019: connection description for remote database not found                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Metalink Note:262881.1
    The information in this article applies to:
    Oracle Server - Enterprise Edition - Version: 8.0.x to 9.2.0.x
    This problem can occur on any platform.
    Errors
    ORA 2019 connection description for
    Symptoms
    Describe on a Synonym which is based on a database link may issue error:
    ORA-2019 connection description for remote database not found
    Select from the synonym works successfully.
    Cause
    Based on the Bug 3071468 this issue happens when the local
    and the remote database have different domain name in the GLOBAL_NAME.
    For example if:
    select * from global_name;
    gives from local database:
    PROD.UK.ORACLE.COM
    and the remote database has:
    TEST.US.ORACLE.COM
    then we have different domains for the global_name.
    This does not reproduce when the domain is the same for both global_names.
    Fix
    This issue is fixed in 10.1.0.2.
    For previous versions we have the following 2 workarounds:
    1. Use View in the place of the synonym. This works.
    2. Alter one of the databases global_name , so that the 2 global_names to have the same domain.
    For example in the above example chenge the TEST database as:
    sql> alter database rename global_name to test.uk.oracle.com;
    Then you would have to drop and recreate the database link.
    References
    Bug 3071468 - Ora-2019 May Occur When Describing An Synonym Using A Database Link
    Regards,
    Reza
    Message was edited by:
    Reza

  • Fetch cross commit doens't throw ora-1555 in 10.2.0.3

    in this link, Ktye put an example of fetch across commit which will throw ora-1555.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:546822742166
    But I can't reproduce it in oracle 10.2.0.3. Anything changed for undo in 10g? I set inmemory_undo to false, but can't reproduce the ora-1555.
    SQL> drop table t;
    Table dropped.
    SQL> create table t as select * from all_objects;
    Table created.
    SQL> create index t_idx on t(object_id);
    Index created.
    SQL>
    SQL> create rollback segment rbs_small storage (initial 1k next 1k maxextents 2) tablespace system;
    Rollback segment created.
    SQL> alter rollback segment rbs_small online;
    Rollback segment altered.
    SQL>
    SQL> begin
      2          for x in ( select * from t where object_id > 0 )
      3          loop
      4                  dbms_transaction.use_rollback_segment( 'rbs_small' );
      5                  update t set object_name = lower(object_name)
      6                    where object_id = x.object_id;
      7                  commit;
      8          end loop;
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select count(*) from t;
      COUNT(*)
         16627
    SQL>

    Thanks everyone for the suggestion
    Adding the hint as /*+ index(t t_idx) */ or increase the undo tablespace to 400k doesn't help.
    I found it used lots of in memory undo (65216004) in the first run, so before the second run, I tuned off the in memory undo, but still can't reproduce ora-01555
    First run
    SQL> create undo tablespace UNDOTBS2 datafile 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS2.DBF' size 400k reuse;
    Tablespace created
    SQL> alter system set undo_tablespace=UNDOTBS2;
    System altered
    SQL> alter system flush BUFFER_CACHE;
    System altered
    SQL> alter session set plsql_optimize_level=0;
    Session altered
    SQL> select b.NAME,a.VALUE from v$mystat a , v$statname b where a.STATISTIC#=b.STATISTIC# and b.NAME like '%undo%size%';
    NAME                                                                  VALUE
    undo change vector size                                               47680
    IMU undo allocation size                                                104
    SQL> begin
      2          for x in ( select /*+ index(t t_idx) */ * from t where object_id > 0 )
      3          loop
      4                  update t set object_name = lower(object_name)
      5                    where object_id = x.object_id and rownum=1;
      6                  commit;
      7          end loop;
      8  end;
      9  /
    PL/SQL procedure successfully completed
    SQL> select b.NAME,a.VALUE from v$mystat a , v$statname b where a.STATISTIC#=b.STATISTIC# and b.NAME like '%undo%size%';
    NAME                                                                  VALUE
    undo change vector size                                            17403772
    IMU undo allocation size                                           65216004
    SQL> select count(*) from t;
      COUNT(*)
         50249
    SQL> alter system set "_in_memory_undo"=false;
    System alteredAfter tune off the in memory undo, the second run
    SQL> alter system set undo_tablespace=UNDOTBS2;
    System altered
    SQL> alter system flush BUFFER_CACHE;
    System altered
    SQL> alter session set plsql_optimize_level=0;
    Session altered
    SQL> select b.NAME,a.VALUE from v$mystat a , v$statname b where a.STATISTIC#=b.STATISTIC# and b.NAME like '%undo%size%';
    NAME                                                                  VALUE
    undo change vector size                                            17445460
    IMU undo allocation size                                           65216004
    SQL> begin
      2          for x in ( select /*+ index(t t_idx) */ * from t where object_id > 0 )
      3          loop
      4                  update t set object_name = lower(object_name)
      5                    where object_id = x.object_id and rownum=1;
      6                  commit;
      7          end loop;
      8  end;
      9  /
    PL/SQL procedure successfully completed
    SQL> select b.NAME,a.VALUE from v$mystat a , v$statname b where a.STATISTIC#=b.STATISTIC# and b.NAME like '%undo%size%';
    NAME                                                                  VALUE
    undo change vector size                                            34730428
    IMU undo allocation size                                           65216004
    SQL> select count(*) from t;
      COUNT(*)
         50249

  • Datasource: ORA-02019: connection description for remote database not found

    Hi,
    I recently made the datasource to point to a new host, and using the EM console tested the connectivity to the datasource to be successful.
    Java code that refers to the DS is also the same as before that was working as only the connection string has been changed, but now trying to access the web-application shows the following error in the logs:
    ==============
    Exception::java.sql.SQLException: ORA-02019: connection description for remote database not found
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)
    oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:431)
    oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1029)
    oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1126)
    oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1274)
    oracle_jdbc_driver_T4CStatement_Proxy.executeQuery()=====================================
    What could be the reason? Is there any other app server datasource related setting that needs to be done or is it some other issue - as I said 'testing the connection from EM console connects successfully'.
    Thanks,
    Rommel.

    The issue is resolved now.
    One of the queries used a db link that was missing on the new database and therefore the error from the java code.
    Since testing for connectivity using DS through EM console does not check for any db link (using the default query it executes) connectivity was successful.
    Thank a lot,
    Rommel.

  • Error in propagation -- ORA-02019

    Hi All,
    i have setup streams replications at db level and it is wroked fine for 1 day after that it has stopped working and when i checked in dba_propatation i am getting error like this
    SQL> select propagation_name, destination_dblink, status, error_date, error_message from dba_propagation;
    PROPAGATION_NAME DESTINATION_DBLINK STATUS ERROR_MESSAGE
    STRMADMIN_PROP SABLINE1 ENABLED ORA-02019: connection description for remote database not found
    AND MY DB LINKS ARE
    SQL>select db_link,owner from dba_db_links;
    DB_LINK OWNER
    SABLINE1 PUBLIC
    SABLINE1 STRMADMIN
    and TNS ENTRIES IS
    [oracle@dataguard2 admin]$ more tnsnames.ora
    sabline=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SID = sabline)
    SABLINE1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = VM-VJ-TEST-002.infotechdev.dev)(PORT =
    1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sabline1)
    can you please guide me what is the reason for getting the above error

    Streams requires the usage of GLOBAL_NAME=TRUE. You must create a tns entry with the db_name + domain name and your dblink name must have the same global name for the target DB.
    Source db_name = SRC.domain.com
    target db_name = TRG.domain.com
    DB link name created by strmadmin and used by strmadmin on SRC:
    create database link TRG.domain.com connect to STRMADMIN identified by STRMADMIN using 'TRG.domain.com'
    And in your tnsnames.ora you must have:
    TRG, TRG.domain.com = ....
    In your setup, obviously the global_name is not used.

  • Issue while running a custom package:ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o

    Hi Guys,
    We have created a custom package where in we are trying to call the standard API's of Oracle projects i.e PA_PROJECT_PUB.When we are trying to call these APIs we are facing the below issue.
    We have tried testing in two instances ,Initially it worked in both instances.
    Using the same API's multiple times we tested the same data set in these instances.
    For the first few runs it works fine.But when we go on using the same API's again and again for our testing we face now and then the below issue.
    Standard API's
    =========
    add_task
    update_project
    change_structure_status
    create_draft_plan
    Error:
    ORA-20100: File o2670336.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log. in Package PA_OPPORTUNITY_MGT_PVT Procedure modify_project_attributes ORA-20100: File o2670336.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log. in Package PA_PROJECT_PUB Procedure update_project:ORA-0000: normal, successful completionError while publishing the task
    Please let us know if anyone of has come across the same situation.
    Regards,
    Vijay

    But have issue only with validating invoice batch. I followed metalink ID's 605542.1, 167990.1,261693.1,1088553.1,749491.1, 461271.1 and few more.Was this working before? If yes, any changes have been done recently?
    Please see if these docs help.
    APXAPRVL: Invoice Validation Errors With MSG-00001 and REP-1419 [ID 333305.1]
    Invoice Validation Errors When Others:101505:Non-Oracle Exception Rep-1419 [ID 464125.1]
    Invoice Validation Fails with REP-1419 Error in Ap_approval_matched_pkg.Execute_matched_checks [ID 293425.1]
    Invoice Validation Failing On Fnd_file Could Not Write To File L0202306.Tmp [ID 461520.1]
    Invoice Validation (APPRVL) Errors ORA-20001 APP-SQLAP-10000 PSA_FUNDS_CONTROL_PKG.glxfck [ID 463184.1]
    Validate Invoice Error With ORA-20001: APP-SQLAP-10000: AP_FUNDS_CONTROL_PKG.Calc_QV [ID 432702.1]
    Invoice Validation Program Is Erroring Out [ID 382844.1]
    Error On Validation Of Invoices From Previous Periods [ID 412814.1]
    Thanks,
    Hussein

  • Who can help me to review the question? -"ORA-02019: connection description

    Log error was found in Alert.log file in a DB in our production. It shows "ORA-02019: connection description for remote database not found". I check it and find the RECO process prompt this error message.
    I did the following steps to check the issue:
    1) connect system
    2) SQL> select local_tran_id,global_tran_id,state,mixed,advice,retry_time,os_user,host,db_user from dba_2pc_pending;
    LOCAL_TRAN_ID GLOBAL_TRAN_ID STATE MIX RETRY_TIM OS_USER HOST DB_USER
    8.2.7545 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 oracle DB1 EPORT
    a.8.2.7545
    7.35.9404 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 administrator SZITOWN\SZITOWN-016 EPORT
    a.7.35.9404
    3.47.10637 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 administrator SZITOWN\SZITOWN-016 EPORT
    a.3.47.10637
    1.0.20850 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 administrator SZITOWN\SZITOWN-016 EPORT
    a.1.0.20850
    1.47.21806 ITOWN01M.US.ORACLE.COM.9ed5378 collecting no 27-SEP-04 Administrator WORKGROUP\SZITOWN-013 EPORT
    a.1.47.21806
    3) SQL> select local_tran_id,in_out,database,dbuser_owner,interface,dbid,sess#,branch from dba_2pc_neighbors;
    LOCAL_TRAN_ID IN_ DATABASE DBUSER_OWN I DBID SESS# BRANCH
    8.2.7545 in EPORT N 1 0000
    7.35.9404 in EPORT N 1 0000
    3.47.10637 in EPORT N 1 0000
    1.0.20850 in EPORT N 1 0000
    1.47.21806 in EPORT N 1 0000
    8.2.7545 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    7.35.9404 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    3.47.10637 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    1.0.20850 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    1.47.21806 out CIQUSR_HG.US.ORACLE.COM EPORT N 234c63b2 1 4
    4) I try to commit them by FORCE.
    SQL> commit force '8.2.7545';
    commit force '8.2.7545'
    ERROR at line 1:
    ORA-02058: no prepared transaction found with ID 8.2.7545
    5) It seems no such entry, so I want to purge it.
    SQL> exec dbms_transaction.purge_lost_db_entry('8.2.7545');
    BEGIN dbms_transaction.purge_lost_db_entry('8.2.7545'); END;
    ERROR at line 1:
    ORA-30019: Illegal rollback Segment operation in Automatic Undo mode
    ORA-06512: at "SYS.DBMS_TRANSACTION", line 65
    ORA-06512: at "SYS.DBMS_TRANSACTION", line 85
    ORA-06512: at line 1
    What should I do at the point?? Although the issue do not get any bad effect to current Production, I really hope eveything would be OK.
    Any help from you would be appreciated!!
    Robin

    Hello,
    you have to fix the basic problem,ORA-02019 means your remote database cannot be reached because of an invalid connect string. So it's also impossible to do a COMMIT FORCE,same reason.
    ORA-30019 is due to a bug, document 274321.1 in metalink describes what to do. Here's an extract:
    If you get the following errors while purging transactions using "dbms_transaction.purge_lost_db_entry"
    SQL> EXECUTE DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('5.23.2386');
    BEGIN DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('5.23.2386'); END;
    ERROR at line 1:
    ORA-30019: Illegal rollback Segment operation in Automatic Undo mode
    ORA-06512: at "SYS.DBMS_TRANSACTION", line 65
    ORA-06512: at "SYS.DBMS_TRANSACTION", line 85
    ORA-06512: at line 1
    Fix:
    ===
    This problem is logged as
    Bug.2191458 (unpublished) UNABLE TO EXEC DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY WITH AUTO UNDO MANAGEMENT and is worked by development.
    Use the following workaround:
    You have to use local_tran_id.....
    Issue commit before alter system set "_smu_debug_mode" = 4;
    Follow the steps,
    SQL>commit;
    SQL> alter session set "_smu_debug_mode" = 4;
    SQL>execute DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('local_tran_id');

  • Error  ORA-02019: while selecting table from oracle10g to SQL Server 2005

    Hi all,
    our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
    1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
    2)copy the existing entry and paste it in listener.ora file and edit it as below
    LISTENERMYSQLSERVERDSN =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_ =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME= mysqlserver)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM=hsodbc)
    $lsnrctl status LISTENERMYSQLSERVERDSN
    It is working fine
    3) configure TNAMES.ora
    mysqlserver =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 100.100.50.5)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = mysqlserver)
    (HS = OK)
    c:>tnsping mysqlserver
    it is workin fine
    4)copy inithsodbc.ora and make it initmysqlserver.ora
    HS_FDS_CONNECT_INFO = mysqlserver
    HS_FDS_TRACE_LEVEL = off
    4)create the database link
    sql>create database link mysqlserver
    connect to "sa" identified by "nsp@123" using 'mysqlserver';
    when i selecting SQL Server object from oracle i got below error
    SQL> select * from NSP_products@mysqlserver;
    select * from NSP_products@mysqlserver
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    pLease help me its very urgent.
    BEST REGARD

    Hi all,
    our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
    1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
    2)copy the existing entry and paste it in listener.ora file and edit it as below
    LISTENERMYSQLSERVERDSN =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_ =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME= mysqlserver)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM=hsodbc)
    $lsnrctl status LISTENERMYSQLSERVERDSN
    It is working fine
    3) configure TNAMES.ora
    mysqlserver =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 100.100.50.5)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = mysqlserver)
    (HS = OK)
    c:>tnsping mysqlserver
    it is workin fine
    4)copy inithsodbc.ora and make it initmysqlserver.ora
    HS_FDS_CONNECT_INFO = mysqlserver
    HS_FDS_TRACE_LEVEL = off
    4)create the database link
    sql>create database link mysqlserver
    connect to "sa" identified by "nsp@123" using 'mysqlserver';
    when i selecting SQL Server object from oracle i got below error
    SQL> select * from NSP_products@mysqlserver;
    select * from NSP_products@mysqlserver
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    pLease help me its very urgent.
    BEST REGARD

  • ORA-02019 while using DBMS_FILE_TRANSFER Package.

    Hi,
    I am trying to transfer the datafiles from 10.2.0.3 database residing on File-system to 11gR2 database residing on ASM. Both the DBs are on Different machines across datacenters.
    I am trying to use Transportable Tablespace to move the data. As a part of it, I am trying to use DBMS_FILE_TRANSFER package to move the 10gR2 files to 11gR2 ASM.
    I am getting the below issue while doing so:
    SQL> exec sys.DBMS_FILE_TRANSFER.GET_FILE('sdir','data01.dbf','tdir','data01.dbf','RECDB');
    BEGIN sys.DBMS_FILE_TRANSFER.GET_FILE('sdir','data01.dbf','tdir','data01.dbf','RECDB'); END;
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    ORA-06512: at "SYS.DBMS_FILE_TRANSFER", line 37
    ORA-06512: at "SYS.DBMS_FILE_TRANSFER", line 132
    ORA-06512: at line 1
    Above SQL was executed from Target Host (11gR2) to GET file from 10gR2. The above directory objects point to correct locations on respective hosts.
    RECDB - it is the DB link which is owned by SYSTEM user and will connect to 10gR2 DB as SYSTEM user.
    Strange thing is when i am querying the source 10gR2 DB from Target DB using Db link, IT is WORKING fine
    SQL> select name from v$database@RECDB ;
    NAME
    POCREC01
    Elapsed: 00:00:00.15
    SQL> select * from dual@RECDB;
    D
    X
    Elapsed: 00:00:00.12
    I also have TNS entry in target tnsnames.ora as:
    POCREC01 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pocserver.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pocrec01)
    SQL> create database link RECDB connect to system identified by <password> using 'POCREC01';
    Database link created.
    SQL> select * from all_db_links;
    OWNER
    DB_LINK
    USERNAME
    HOST
    CREATED
    SYSTEM
    RECDB
    SYSTEM
    POCREC01
    05-JAN-11
    So, I want help on whether above issue is a BUG with Package (checked in Metalink and cannot find anything) OR am I doing something wrong??
    Thanks

    Can you please use "create public database link " to create the db link as a PUBLIC link and retry.

  • Copperplate Gothic font not working in some versions of Firefox

    Copperplate Gothic font not properly working in some versions of Firefox. whereas perfectly working in remaining browsers. when I follow the instruction and Restart Firefox in Safe Mode, the problem does not happen in Safe Mode. According to instruction for Troubleshoot and diagnose Firefox problems, If problem not occur in Safe Mode, it is most likely because of hardware acceleration. when I Turn off hardware acceleration, the problem is no longer happening, then hardware acceleration is likely the cause of this issue. How i can fix this issue for Firefox on deployed site without changing font.

    Does Firefox use another font instead?
    If this is the case then which font?
    You can use this extension to see which fonts are used for selected text.
    *fontinfo: https://addons.mozilla.org/firefox/addon/fontinfo/

  • ORA-02019

    Hi
    I got a problem with a DLL using Pro*C to connect to Oracle. The Oracle is release 9.2.0.4 on the client and the server. The server is running windows.
    The Dll and the application which use the dll is written in C and compiled by Microsoft Visual Studio .Net 2003 as native console projects.
    The connect statement below works just fine.
    EXEC SQL CONNECT :szUSER IDENTIFIED BY :szPASSWORD AT :DBALIAS USING :szHOST;
    After the connect I make a statement like:
    EXEC SQL AT :DBALIAS ALTER SESSION SET NLS_DATE_FORMAT = '….
    This statement also executes without any problem.
    Now later in the program I try to declare a cursor like:
    EXEC SQL AT :DBALIAS DECLARE c1 CURSOR FOR SELECT ….
    The value of DBALIAS is the same as in the connect and the alter session statements.
    However, the DECLARE CURSOR statement fails with an ORA-02019 error:
    ORA-02019: connection description for remote database not found.
    I run the proc command with these options:
    proc ireclen=4096 iname=file code=ansi_c mode=oracle maxopencursors=20
    Does anybody have an idea to a solution? Any suggestions will be appreciated.
    Best wishes
    Ruben

    Is the dblink public or private? If private, this error could occur if the link is used by a user other than the one that created the link. If this is the case, re-create it as a PUBLIC link.
    Russ

  • How to create production version & Explain with procedure

    how to create production version & Explain with procedure
    Madan

    Hi Madan,
    Production Versions are used to describe the production process to be used for planned / production order.
    Why is it required?
    Suppose you have 2/3 production lines and 2/3 alternative BOMs to produce one Finished Goods.
    How system will come to know which BOM and Routing to be used. This is done thru Prod.Version.
    In production version we maintain the combination of BOM and routing.
    Also it can be designed with lot size or validity period.
    Go to MM02--->MRP4 / Work scheduling view -
    > Prod.Version.
    Enter the validity period and lot size. and the production version should be unlocked.
    After entering the reqd. routing no. and BOM alternative , carry a check.
    After getting the Green signals ,Continue.
    Thus you have saved the prod. version.
    Mass processing TCode- C223.
    Hope it would clarify you the basic of production version.

Maybe you are looking for

  • An issue using the COM components supplied with SAP GUI 6.2 or 6.4

    We are having an issue using the COM components supplied with SAP GUI 6.2 or 6.4.  We used to have SAP 4.6c and now we have 5.0.  When we were on 4.6c, we used these COM components to logon and execute RFC calls and we had much success.  Now that we

  • Connecting Mac to Windows

    I don't know if I am posting this in the right forum, so if I am not direct me to the right forum so I can get some help. I go to boarding school, and have a Macbook. At home I have a windows computer with XP Home Edition. Since it has Home Edition,

  • Sad iPod

    My iPod Mini seems to be having a lot of issues. The sad iPod screen appears shortly after I turn it on, first going from the Apple logo to that screen, and then shutting off. I tried to reset the iPod as the website suggested, but it did not respond

  • Finder, Column View Expand

    With Snow Loepard, one could double-click below the scroll bar arrows to expand the column to autofit the various file names. Has anyone discovered a comparable Lion technique to accomplish the same thing? I really miss this capability.

  • Monitering Multiple Sockets in one thread

    Hi all i have a problem.....i want to create and moniter multiple sockets BUT Due to resourse problems i cannot create as many threads. I want to use multiple sockets in one thread. Cani do something where i can have array of sockets and poll for dat