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.

Similar Messages

  • Error during propagation process in streaming

    I am getting following error during propagation
         ORA-12170: TNS:Connect timeout occurred ORA-12170: TNS:Connect timeout occurred
    In order to resolve this i add following lines in sqlnet.ora on both nodes, but problem is still there....
    SQLNET.SEND_TIMEOUT=300
    SQLNET.RECV_TIMEOUT=300
    SQLNET.INBOUND_CONNECT_TIMEOUT=300
    SQLNET.DEFAULT_SDU_SIZE=32767
    SQLNET.RECV_BUFF_SIZE=655336
    SQLNET.SEND_BUF_SIZE=65536Need your help in resolving this issue........

    Hi,
    What is Resp. Resolver Name and Decision Type in your Process Level Definition? Did you create custom agent BADI implementation?
    Regards,
    Masa

  • 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

  • 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

  • Propogation error - (ora-02019)

    Hi All
    In our AQ setup the subscriber is a queue on a different db(user = aquser)
    I can see all the tables of my subscriber's(aquser) schema in db2
    using the dblink(i.e db link is working fine).
    select * from [email protected]
    But in AQ set up propogation fails. when i queried the dba_queue_schedules table the LAST_ERROR_MSG shows
    the error
    ORA-02019: connection description for remote database not found.
    What could be the cause of this error
    Regards
    Sushant

    Hi All
    In our AQ setup the subscriber is a queue on a different db(user = aquser)
    I can see all the tables of my subscriber's(aquser) schema in db2
    using the dblink(i.e db link is working fine).
    select * from [email protected]
    But in AQ set up propogation fails. when i queried the dba_queue_schedules table the LAST_ERROR_MSG shows
    the error
    ORA-02019: connection description for remote database not found.
    What could be the cause of this error
    Regards
    Sushant

  • ORA-02019 Error

    The following query works in PL/SQL Developer (When loggen in to the prod db):
    select trim(cont_id) cont_id, trim(desc1) desc1 from smgr.t_cont where cont_id not in (select cont_id from smgr.t_cont@dev) order by cont_id
    However, when run throu ODP.NET I get the Error ORA-02019: connection description for remote database not found. What is the syntax for a query that inclides a table on a remote databse?
    Thanks

    The following query works in PL/SQL Developer (When loggen in to the prod db):
    select trim(cont_id) cont_id, trim(desc1) desc1 from smgr.t_cont where cont_id not in (select cont_id from smgr.t_cont@dev) order by cont_id
    However, when run throu ODP.NET I get the Error ORA-02019: connection description for remote database not found. What is the syntax for a query that inclides a table on a remote databse?
    Thanks

  • 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

  • How to remove error from propagation and verify replication is ok?

    Have a one-way schema level streams setup and the target DB is 3-node RAC (named PDAMLPR1). I run a large insert at source DB (35million rows). After committing on source, I made a failure test on the target DB by shutting down the entire database. The streams seems stopped as the heartbeat table sequence (it inserts a row each min) on target is still reflecting last night. We get the error in the dba_propagation:
    ORA-02068: following severe error from PDAMLPR1
    ORA-01033: ORACLE initialization or shutdown in progress
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 1087
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 7639
    ORA-06512: at "SYS.DBMS_AQADM", line 631
    ORA-06512: at line 1
    08-FEB-10
    while capture, propagation, and apply are all in enabled status. I restarted capture and propagation at source DB. But still see the error message above. My questions are:
    1. How to delete the error from dba_propagation?
    2. How to verify the streams is still running fine?
    In normal test, during such large insert, the heartbeat table added a row in an hour. Very slow.
    thanks for advice.

    Well, if I can give you my point of view: I think that 35 millions LCR is totally unreasonnable. Did you really post a huge insert of 35 millions then committed that single utterly huge transaction? Don't be surprised it's going to work very very hard for a while!
    With a default setup, Oracle recommends to commit every 1000 LCR (row change).
    There are ways to tune Streams for large transaction but I have not done so personnaly. Look on Metalink, you will find information about that (mostly documents id 335516.1, 365648.1 and 730036.1).
    One more thing: you mentionned about a failure test. Your target database is RAC. Did you read about queue ownership? queue_to_queue propagation? You might have an issue related to that.
    How did you setup your environment? Did you give enough streams_pool_size? You can watch V$STREAMS_POOL_ADVICE to check what Oracle think is good for your workload.
    If you want to skip the transaction, you can remove the table rule or use the IGNORETRANSACTION apply parameter.
    Hope it helps
    Regards,

  • 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');

  • 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.

  • 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.

  • 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

  • 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.

  • REP-1401 'beforereport' Fatal PL/SQL error occurred. ORA 00000 normal.

    Hi,
    I am running the report Journals - General (132 char)- file name GLRGNJ.rdf from
    Oracle Report Builder 6.0.8.11.3.
    I have commented all the (srw.user_exit) in the Before Report trigger but i still
    get the message:
    REP-1401 'beforereport' Fatal PL/SQL error occurred. ORA 00000 normal,
    successful completion.
    Can anyone suggest a solution please?
    Thanks,
    Faris

    Dear sir, i am created one formula column in Reports6i and the following error has come. Could u please find out a solution. Thanks in advance.
    my function is below
    function CF_Branch_NameFormula return Char is
    lc_branch_name varchar2(100);
    begin
    SELECT rtrim(substr(FVT.DESCRIPTION
    ,instr(FVT.DESCRIPTION,'-',1)+1
    ,100)) INTO lc_branch_name
    FROM FND_FLEX_VALUES FFV, FND_FLEX_VALUES_TL FVT
    WHERE FFV.flex_value_Set_id = 1007956
    AND FFV.FLEX_VALUE_ID = FVT.FLEX_VALUE_ID
    AND FFV.FLEX_VALUE = FVT.FLEX_VALUE_MEANING
    AND FVT.DESCRIPTION <> 'xxx'
    and rownum<=1
    AND SUBSTR(FVT.FLEX_VALUE_MEANING,3,2) = :P_BRANCH;
    return (lc_branch_name);
    end;

  • REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found

    Hi guys,
    I am getting error 'REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found ' when run the report
    and i m also use formula column in my report.
    can any body help me why it's coming.
    following code is used in formula column plz check and verify:
    function CF_3Formula return Char is
    T1 VARCHAR2(100);
    begin
    SELECT
         VAT_REG_NO INTO T1
    FROM
         JA_IN_HR_ORGANIZATION_UNITS JIHOU,
         HR_LOCATIONS HL--,
         --MTL_TXN_REQUEST_HEADERS MTLH
    WHERE
    JIHOU.ORGANIZATION_ID=HL.INVENTORY_ORGANIZATION_ID AND
    JIHOU.LOCATION_ID=HL.LOCATION_ID AND
    --Jihou.ORGANIZATION_ID = Mtlh.Organization_Id AND
    -- Hl.INVENTORY_ORGANIZATION_ID =Mtlh.Organization_Id AND
    -- MTLH.ATTRIBUTE10=SUBSTR(HL.LOCATION_CODE,1,3) AND
    SUBSTR(HL.LOCATION_CODE,1,3)= :TO_ORG1 ;
    RETURN (T1);
    end;
    plz help me out.

    Hi;
    What is EBS version? Is it custom report or not?
    See below which is mention similar errors
    Autoinvoice Error: ORA-1403: no data found [ID 1209403.1]
    APXIIMPT - Payable Open Interface Import Fails on "REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred. ORA-01403: no data found" [ID 222058.1]
    Regard
    Helios

Maybe you are looking for

  • PF contribution

    Hi, For an employee the employee and employer contribution is coming same .Employer PF  pension contribution is not coming. when i am trying to the change the 587 IT it is giving error that change before the earliest retro date in control record. In

  • Why can I not make purchases from this computer?

    When I try to make an I tunes purchase from this computer I get a notice that I can not and referring me to this site. This computer is authorized and my account is up to date and I have no problem from my other computers. I would sure like to speak

  • Connect a Guitar to my MacPro

    Yesterday I bought an electro-acustic Guitar and I would like to connect it to my MacPro and use it with Garage Band. It is possible to connect it directly to the computer? Do I need some extra hardware (like an interface)? Any help well be very appr

  • The Walking Dead Multi-Pass

    Im getting a 32gb 4th gen next month.  If i buy the multi pass for the walking dead now will i still have the pass when i download it next month?

  • Pritning of delivery notes from VT06

    Hi All, We are actually facing a problem with the order of printing. We launch multiple shipment from VT06 to print all the associated delviery notes. Our problem is that , when printed the delivery notes they are not being regrouped by shipment. we