On deploy tries to recreate database link?

I have a problem when deploying a mapping.
I keep getting the error ORA-02011: duplicate database link name.
After I analyzed the Job Details of this deploy and the one of the mapping that is very similar to this one in the same location, I noticed that the one that gives problems tries to do Create of a location. The other one does a Replace of a location (database link). Both mappings are at the same location and the source and target locations are the same for both mappings.
Sounds familiar? What coud be the problem?

Hi!
Probably you can check the connector status. In Control Center, you can expand the connector status and see what you have.
Regards,
Sebastian

Similar Messages

  • Mapping Deployment Has Error:  Duplicate Database Link Exists

    Hi everyone,
    This is hopefully a simple question. I've been working with OWB 10GR2 for awhile now with no problems. My project finished and I moved on to another OWB environment, still 10GR2 and now my mapping deployments are having errors during the deployment. Each time I try to deploy the mapping, OWB also tries to create the database link, regardless of the fact that it already exists. It fails to deploy the database link but the mapping successfully deploys nonetheless. If I drop the database link and then deploy a mapping there is no error but then if I deploy a second mapping it comes back again (no real surprise here).
    I tried to deploy the connector by setting it to "replace" and hit deploy. That was fine, but according to, OWB,even though I just replaced the exisiting DB link, it still didn't see that it was created. OWB still considered this connector as "New".
    Does anyone know what I need to do to get OWB to stop trying to deploy the DB link with every mapping? How can I tell it that the DB link exists and is correct?
    Thanks!
    -Joe

    Hi there,
    I experienced same issue a few days ago ... I'll tell you how I solved it.
    I think the real problem is that the link gets never marked as deployed => so, it's deployed with every single mapping which is using it!
    You can even try to deploy it on its own, and deploying process ends with no errors, but it is not marked as deployed ...
    Why can't the link be marked as deployed? Where does the db_link come from?
    The link is pointing to a location where you dragged from a table (or any object) to your mapping.
    In my case, the location was first created and registered by another user before starting project development (with a new user).
    I unregistered the location with the original user and registered it again with my user, than I could deploy it and got it marked accordingly.
    It's never again apperead within my mapping deployments.
    Hope I've been clear enough ... and helpfull!
    Joan.

  • ORA-2020 when trying to verify database links

    I have a problem with verifying database links. I want to create a procedure for checking all database links. this is done like the following:
    declare
    xRefCursor sys_refcursor;
    cursor cDBLinks is
    select db_link
    from user_db_links;
    nDummy number;
    begin
    for rL in cDBLinks loop
    begin
    open xRefCursor for 'select 1 from dual@'||rL.db_link;
    fetch xRefCursor into nDummy;
    close xRefCursor;
    dbms_output.put_line(rL.db_link||' established');
    exception
    when others then
    if xRefCursor%isopen then
    close xRefCursor;
    end if;
    dbms_output.put_line(rL.db_link||' error '||sqlerrm);
    end;
    end loop;
    end;
    when running the procedure, I get a ORA-2020 : too many database links in use
    Cause: The current session has exceeded the INIT.ORA OPEN_LINKS maximum.
    Action: Increase the OPEN_LINKS limit, or free up some open links by committing or rolling back the transaction and canceling open cursors that reference remote databases
    exact after the count of database links specified in the OPEN_LINKS parameter. As you can see I don't issue any transaction, and also I close every cursor I open...so there should be just one db link active in time. note that increasing the OPEN_LINKS parameter will not be a good solution, as I can't tell how much links are existing for a user.
    any suggestions?
    regards
    Christian
    oh, forgot to mention: tried this with 9.2.0.6 and 10.2.0.3 on WINDOWS (so I believe this also occurs in 9.2.0.6 <= DBVersion <= 10.2.0.3)
    Message was edited by:
    W1zard

    As you can see I don't issue any transaction, and also I close every cursor I
    open...so there should be just one db link active in time.This is wrong assumption. The closing of the cursor does not mean DB link will be closed too. You have to close database link explicitly.
    See:
    Managing Database Link
    Rgds.

  • TNS-12666 error occures when using database link

    When I am trying to use database link
    defined in my database the following error occures:
    TNS-12666 Dedicated server: outbound transport protocol different from inbound.
    In documentation is stated to resolve such an error to
    specify the same protocol in the SQL*Net connect string or alias for the outbound connection as that used for the inbound connection.
    I have in tnsnames.ora defined network service name
    by which I can connect to such a database by SQL*Plus
    without any problems, why can I not do such a thing
    via database link?
    Thanks a lot for advise, ...

    Could you change the following entry in your 'sqlnet.ora' file and try?
    SQLNET.AUTHENTICATION_SERVICES = (NONE)

  • SQL Developer create wrong SQL for creation of Database link

    Hi,
    I tried to create Database link to another machine through SQL Developer. and I got error message saying "Sql not properly ended" or similar.
    I copy-paste the sql to sqlplus shell and I found that the problem came from password part of database link so the generated from SQL Plus is something like:
    SQL> CREATE DATABASE LINK mytest CONNECT TO anotherDB IDENTIFIED BY 1234 USING 'OtherServiceName';
    but it should be
    SQL> CREATE DATABASE LINK mytest CONNECT TO anotherDB IDENTIFIED BY "1234" USING 'OtherServiceName';
    so if I type in the password field
    "1234" which is ****** /6 chars/ the database link was created correctly.
    Could you check and fix this in next release of the SQL Developer?
    Otherwise the Application is very good and far ahead from TORA :)

    Thanks, I didn't notice that for passwords. So it's most definately my problem that the SQL Developer . :)
    Thank you for clarification!
    Offtopic: I am searching for DB Comparison tool which could compare 2 schemas and return me the differences and the sync script. Do you know any /free if possible/? There is such thing in TOAD but I am on Linux and I prefer to use something else. :)
    Thank you in advance

  • Database link to the same database

    I'm trying to create a database link to the same database.
    It doesn't seem to be working ...
    basically, the target system will have 2 separate database instances.
    I need to emulate this in a single instance database (actually, I don't want to try running 2 oracle instances on my laptop...).
    so I want to do select * from fred@MYOTHERDB
    when I try and create the alias it succeeds, but then selects don't work.
    Lets say my current logon / schema is JOHN (in ORCL) and the other SCHEMA (in ORCL) is JIM
    I tried
    create public database link MYOTHERDB connect to JIM identified by "Password";
    creation worked, couldn't access it.
    Thanks in advance
    Iain

    The machine with the database has tnsnames.ora as
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INVMAN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xplaptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xplaptop.mshome.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    and the local (TOAD) machine has
    # TNSNAMES.ORA Network Configuration File: S:\Oracle\product\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    INVMAN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = idc-server)(PORT = 1521))
    (CONNECT_DATA =
    (SID = INVMAN)
    INVMANLAP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xplaptop)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ORCL)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = idc-server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    Now I've tried this both from TOAD and from iSQL on the machine with the database.
    It's INVMANLAP which I'm using from the TOAD machine, of course!
    I appreciate your help. It has been the only bright spark in a DREADFUL day (among other things the IDC-SERVER mentioned above has a trashed system disk which has taken out email and my main oracle server). And I have to install this system tomorrow!
    Iain

  • Database link between Oracle 11g and MS Sql Server 2005 EE

    Hi everybody,
    I trying to create database link from Oracle 11g to MS Sql and I'm not succesful.
    I found tutorial for Oracle 10g, but it does't work.
    I created odbc data source, then I modified tnsnames.ora and listener.ora, then I created initkw.ora in HS directory and then I created dabase link, but it does't work.
    Can you help me please? Thanks for help ... ondra
    Tnsnames.ora:
    KW =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = tcp)(HOST = oracle_ip)(PORT = 1521))
    (CONNECT_DATA =
    (SID = KW)
    (HS = OK)
    listener.ora:
    (SID_DESC =
    (SID_NAME = KW)
    (ORACLE_HOME = C:\oracle\product\11.1.0\db_1)
    (PROGRAM = hsodbc)
    initkw.ora
    HS_FDS_CONNECT_INFO = kw
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_TRACE_FILE_NAME = kw.trc
    create public database link KW connect to "user" identified by "pass" using 'KW';
    Message was edited by:
    user598176

    Hi, I get two errors.
    ORA-28545 - NET8 mistake Unable to restrieve textof NEWTWORK/NCR message 65535
    and then ORA-02063
    zenda
    I resolved one of error, I have wrong ip.
    But now I have another error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source name
    not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    I have ODBC data source in system DSN
    PS: Our Oracle 11g database is 64 bit version
    Message was edited by:
    user598176

  • Database Link and domain suffix problem

    Hi
    I have two machines in the same workgroup with Oracle Server 8.1.6 and two instances, I don't have domain .When I create Database Link on one of them the name of the link appears with unknown suffix "US.ORACLE.COM" .The parameter DB_DOMAIN in the init file has no value.Is anybody know why Oracle adds this suffix every time when I'm trying to create database link?

    You have to check your SQLNET.ORA file. There is a parameter defined in that file called:
    NAMES.DEFAULT_DOMAIN = <default domain to use>
    You need to change this value according to your network settings.

  • OWB-OWF - Process Flow Deployment - Database Link

    Hello there,
    This post is basically related to my problem with Process Flow deployment.
    Could someone please shed some light on the following:
    When we create a Process Flow, during this process OWF creates a Database Link. For some reason, this link is not functional unless I remove the part after "." in that defines the "HOST" in the DB Link definition. How do I know it is not functional - I know because following query does not work:
    select * from [email protected]@WB_LK_WF_PKG
    Here is the link definition:
    ORIGINAL:
    create database link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG
    connect to RR
    identified by "<pwd>"
    using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CENTENNI-2077E4.CENTENNIALCOLLEGE.CA)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OWB92TRG)))'
    MODIFIED (it works - above query runs OK):
    create database link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG
    connect to RR
    identified by "<pwd>"
    using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CENTENNI-2077E4)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OWB92TRG)))'
    My second question is "using what userid/pwd should this link should have been created? Should it use "Runtime Repository Owner" or "OWB Repository Owner" or "Runtime Access User" or "OWF_MGR"?
    No matter what userid I use, it works when I run the query but I always get following error when I try to deploy the "Process Flows" in OWB:
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG2. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-04052: error occurred when looking up remote object [email protected]@WB_LK_WF_PKG2
    ORA-12545: Connect failed because target host or object does not exist
    I have already granted the "EXECUTE ANY PROCEDURE" to OWF_MGR. I am not sure, though, what is meant by the "and that the OWB Runtime is available" part of the error message above.
    I have also tried to fix this by running the "catrpc.sql" script but it did not help either.
    I am stuck on this step for past few days. I would highly appreciate help in fixing this problem. Here is the configuration I am using:
    o Source database : Oracle 9i (9.2) on my local PC
    o Target database : Oracle 9i (9.2) on my local PC
    o OWB 9i
    o OWF 2.6.2
    o OWB and OWF repositories are on the TARGET database
    I am able to successfully deploy and run my MAPPINGs.
    TIA,
    Amer

    Hello Oracle support,
    Should I open a TAR to get this problem resolved?
    Regards,
    Amer

  • Deploying a mapping creates a database link

    I have one mapping where everytime I deployed a mapping it always creates a database link. How do I remove this and how did this happen?

    Is the problem that you expect a local reference like SCOTT.EMP rather than SCOTT.EMP@DBLINK? Check the source and target locations for the tables in your mapping, check that the locations are defined identical in the host:port:service name? Did you define them with H:P:S? May be one has localhost the other a machine name or something.
    Cheers
    David

  • ORA-02081 error while trying to drop a database link

    Hello,
    I am trying to drop a database link but getting ORA-02081. How do you drop a database link if it is not open? Any help will be much appreciated.
    Mustafa

    Try this:
    COMMIT;
    alter session close database link dbl1;
    drop database link dbl1;
    Regards,

  • ORA-31600 when trying to view SQL DDL for a created public database link

    I created and committed a public database link and I can access the external database.
    When I try to view the DDL of the link, on the SQL tab, I'm getting following error:
    ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3900
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4048
    ORA-06512: at "SYS.DBMS_METADATA", line 836
    ORA-06512: at line 1
    and
    ORA-31600: invalid input value LONGNAME for parameter NAME in function SET_FILTER
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 1980
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3665
    ORA-06512: at "SYS.DBMS_METADATA", line 670
    ORA-06512: at "SYS.DBMS_METADATA", line 571
    ORA-06512: at "SYS.DBMS_METADATA", line 1221
    ORA-06512: at line 1
    Is this because of a bug in SqlDeveloper or because the db_link and host parameters have 33 characters?
    I'm using sql developer 1.5.3, build MAIN-5783
    tx,
    Roger Vermeir

    It's probably the length; really all sqldev does is calling:
    select DBMS_METADATA.get_ddl('DB_LINK',:NAME,:OWNER) FROM dual;So if you call it a bug, it's a database bug in the DBMS_METADATA package.
    But if you work with identifiers over 30 chars, I'd say that's a bug on it's own...
    FWIW, I can't reproduce this on our 10g DB; are you on 9i?
    Regards,
    K.

  • ORA -18808;Cannot find OUTLN schema using Database Link

    Hi,
    I have to access a database using a database link. When I try to do so I get the message:
    ORA -18808:cannot find OUTLN schema
    The OUTLN schema really does'nt exist at the target database, but I don't get the message when connecting with the same user outside the database link.
    I am trying to avoid to ask them to recreate the schema, since I am the only one that needs the database link working.
    Is there any way I can access the database with the database link without messing with the target database?
    Thanks in advance for any help.

    The error number returned by that error does not seem to be correct. Below is the correct error number:
    ORA-18008 cannot find OUTLN schema
    Cause: The database creation script that creates this schema must not have been executed.
    Action: Review the log files to see what happened when the database was created.
    How is the DB link defined to connect as?

  • Database Link in the OWB

    We are trying to deploy a map that needs to use a database link to access the source table in another server. We could create database link on OWB and import tables. When we deployed it we receive the first error "VLD-2771: System privileges may not allow extraction from source PROD_TAX_AVG" and after "table or view does not exists". The privileges was granted and we can test the access in SQLPLUS using the database link created.
    Anybody knows this issue ?
    Thanks,
    Ricardo

    Hi Ricardo,
    The message "VLD-2771: System privileges may not allow extraction from source PROD_TAX_AVG" is merely a warning, this can (generally) be ignored.
    After deploying your mapping check the PL/SQL code deployed and try to identify where the problem is.
    I have encountered the issue before where the schema name is configured for the mapping overriding the location defined parameters.
    To check this in the Design repository, right-click the mapping and click 'Configure'.
    Expand 'Sources and Targets' and check the schema name is not hard-coded.
    Cheers.

  • Persistent Layer Error Message: ORA-01729 database link name expected

    Hi,
    I've done a series of loads from DB2 into Oracle, initially importing the database objects from DB2 and Oracle, then creating the mappings, deploying and executing. It all worked and I had no problems. For some reason now whenever I tried to import a new Database Object (table) from the DB2 I enter the password, test it and it successfully connects but then I get the error message on a popup box:
    SQL Exception
    Persistent Layer Error: SQL Exception
    Class Name: CacheMediator
    Method Name: getSQLResult
    Persistent Layer Error Message: ORA-01729 database link name expected
    If I create a new location for the same database it works and I can import new objects. The only difference I can think from the initial imports is that I’ve moved the repository from one server to another. Might be the case where some information got corrupted in the metadata.
    Has anyone seen this kind of problem before? Can you please help me out with this issue?
    Thanks in advance for your help.
    Regards,
    Leo

    I found it.When I look at the db links there is something missing.When I correct it everything works fine.

Maybe you are looking for

  • TAX_REPORTING_SITE_FLAG is invalid

    Hi, We have requirement to fetch the existing data from po_vendor_sites_all table and modify the vendor_site_code, Distribution_set_name and Paygroup Lookup code, Then insert the same data into ap_supplier_sites_int table with status as "NEW". Here w

  • Ausus (window 8) black screen after log-in

    I have recently been having problems with my laptop. After I lo-gin, a black screen appears with only a white cursor. I had the problems after I installed a recent Window 8 updates. I watched many youtube videos and had no luck at all. I decided to d

  • CTI integration with SAP CRM system

    Hi guys, Is it possible to integrate a CTI solution of a no SAP Partner to SAP CRM 2007 Interaction Center? My company bought a IVR/CTI and that CTI does not have a native connection to SAP CRM 2007. I would like to know if is it possible to enhance

  • Key down event in background

    Is there a way to make the key down event in the wait event structure run in the background when labview is not the focus? Also what is the difference between the "key down? event" and the "key down event"? I couldn't find a good answer in the LabVIE

  • Error when we tried to increase limits for Property of type string

    hi, Actually initially we were getting error when we were trying to add content for property of type string of character length greater than 255. After that we increase size for that property in pointbase from 250 to 1000 and that works. But when we