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.

Similar Messages

  • 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 the databases with the same name

    Hi,
    I need to establish a db link between two databases that are named the same way on two different servers.
    server 1 has a database dev1 and server2 has a database dev1. The tnsnames on server2:
    DEV1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DEV1)
    DEV1_server1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dev1)
    Can anyone let me know a way to create a database link between the two above?
    Thanks.

    Hi,
    Am not sure what problem you are facing in creating a db link
    create database link dev1_server1 connect to x identified by x using "dev1_server1"
    create database link dev1_server2 connect to x identified by x using "dev1_server2"where dev1_server1 and dev2_server2 are the tns entry in tnsnames.ora file of server2 and server1 respectively.
    Regards
    Anurag

  • Not able to create a database link using the database gateway of oracle 11g

    HI,
    While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    These are the steps i have followed for setting up:
    1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
    2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
    LISTENER_SQL_FCD =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
    SID_LIST_LISTENER_SQL_FCD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=dg4msql)
    (ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
    (PROGRAM=dg4msql)
    3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
    dg4msql=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
    HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    5. Created the database link :
    create database link dblink
    connect to "sa" identified by "<pswd>"
    using 'dg4msql'
    On running :select * from test1@dblink i get the following error:
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    Is there any issue with the set or definition that I get the above error?

    What is the version of the Oracle database in which you have specified/and use the database link?
    If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
    Regards,
    Ed

  • Database link with the alias and full description in the connect string

    Hi,
    i have created database link with alias in tnsentry and full description
    and suppose i have removed the tnsnames.ora file what will be the impact on the database link that is whether database link will work or not i am sure db link created with alias won't work and how about db link created with full description and which one you prefer
    Thanks

    # Parameter file initora for Database prd
    ### Global database name is db_name.db_domain
    global_names = TRUE
    db_name = prd
    db_domain = world
    # TNSNAMES.ORA for prd ###############################
    prd.world = (DESCRIPTION = (ADDRESS = (COMMUNITY = tcp.world)
    (PROTOCOL = TCP) (Host = 100.10.100.1) (Port = 1521))
    (CONNECT_DATA = (SID = prd) (GLOBAL_NAME = prd.world)
    (SERVER = DEDICATED)))
    Our database link points from the local database test to the remote database prd. Therefore we need the global database name for prd. Ask the remote database administrator for these information or connect to prd and execute the following query on prd:
    SQL> select GLOBAL_NAME from GLOBAL_NAME;
    GLOBAL_NAME
    prd.WORLD
    CREATE DATABASE LINK prd
    CONNECT TO system IDENTIFIED BY system_passwd
    USING 'prd';--- alias
    so the connection description will be ---select ename from [email protected]
    useful link
    http://www.akadia.com/services/ora_dblinks.html

  • OWB can not create database link

    Hello!
    We use OWB 10.1. We are unable to create database link in the owb as a source for metadata information. The database user we use to connect to the owb have got the right to create database links and the same user can create database links outside the owb. we get the error message
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    the database user is not the owner of the repository. if we use the repository owner to create the database link it works.
    it is also impossible to use a database link, that is created outside the owb, if we use an user that is not the repository owner.
    the error message is:
    java.sql.SQLException: ORA-02019: connection description for remote database not found
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:158) ....
    with the owner everything works fine.
    Regards Alex

    hi,
    If public dblink is a problem then u can create the table with PUBLIC SYNONYM and create a synonym of the table in ur DB so that u can access the table in ur DB and still make I/U/D in the table in the other DB. We just have to grant previlege for the synonym created for DML statements.
    Regards
    Bharath

  • Change of a database link in OWB

    I have a good suggestion to change a a database link when a server is moved to another location (in that case the database link of the source module has to be changed)
    In OWB 9.0.2 it's not impossible to delete a database link in OWB, so you have to do it manually
    (in 9.0.4 it should be possible, but this version is also not easy to use).
    - Start SQL Plus and log in as the schema on which the OWB repository is created (e.g. OWB).
    - Drop the database link ('drop database link <dblink name>')
    - Create a new database link in the same schema with the new parameters, e.g:
    CREATE DATABASE LINK "<dblink name>"
    CONNECT TO "<...>" IDENTIFIED BY "<...>"
    USING '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = <hostname>) (PORT = 1521))) (CONNECT_DATA = (SID = <sid> )))'
    Done!
    No stupid errors in OWB when you create the database link in OWB itself.
    Regards,
    Maurice
    ;

    SQL> create view test_view as select dummy from [email protected]
    2 ;
    View created.
    SQL> select dummy from test_view;
    D
    X
    Execution Plan
    0 SELECT STATEMENT (REMOTE) Optimizer=CHOOSE
    1 0 TABLE ACCESS (FULL) OF 'DUAL' FIRST9.XXXX.COM
    Statistics
    7 recursive calls
    4 db block gets
    2 consistent gets
    0 physical reads
    212 redo size
    363 bytes sent via SQL*Net to client
    425 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    NOW WE PULL OUT THE NETWORK CABLE connecting the two servers.
    SQL> select dummy from test_view;
    select dummy from test_view
    ERROR at line 1:
    ORA-02068: following severe error from FIRST9.XXXX.COM
    ORA-03113: end-of-file on communication channel
    So all you have to do is to test for the communications error.

  • Passing plsql parm to a sql statement in the procedure  database link name

    Would like to pass a parm that is the database link name to a stored procedure.  I defined this as below. var1 is the name of the db link that I would like to pass
    create or replace procedure   proc1  (var1 in varchar2) as
    cursor c1 is
    select num,name,city from emp@var1;
    However, this is getting a plsql error in the above code   as bad bind variable, db link name expected.
    Is there a method to pass a variable within a stored proc into a SQL statement that has a cursor ..
    thanks

    Hi,
    Database links have to be hard-coded.  If you really need to specify the database link at run-time, then you need Dyanmic SQL.
    Why do you need to do this?   How many databases are involved?  Do you have new database links all the time?  The more you can say about your business requirements, the more helpful we can be.
    Are there only a couple of possible database links?  If so,  you might consider hard-coding each of them, and branching to the appropriate one in your code.
    is the real variable here the environment (Development, Test, Production) that you're in?  For example, do you need to use one database link in Development, a different one in Test, and a third in Production, but you don't want to change the code when you move from one environment to another?  If so, you can try conditional comilation.

  • Oracle 10G Database Control and Scheduling OWB Process Flow

    Does anyone know how to go about scheduling an OWB Process Flow from
    Oracle 10G Data Base Control. I knew how to do this with Oracle Enterprise Manager 9.2 but we recently upgraded to Oracle Db 10G and the interface has changed significantly.
    Now the interface seems to require a PL/SQL stored procedure to be executed.
    Is there a template procedure that is installed with 10G Data Base Control as there was for 9.2 i.e. oem_exec_template.sql?
    Thanks! Deadline approaching fast...
    Marion

    I've used the oem_exec_template.sql successfully with OWB 10.1 and Oracle 10G Database Control, with a little trial and error at first.
    I'm assuming that your job execution environment is set up correctly, ie. that you can properly execute jobs via the host agent.
    1. Log on to Database Control as SYSTEM, select Jobs from the links at the bottom of the page
    2. In the Results section, Create Job, select "SQL Script" and press Go
    3. In the General section, enter Job Name, and as SQL Script enter e.g.:
    @/u01/app/oracle/owb_oracle_home/owb/rtp/sql/oem_exec_template.sql owb_runtime WF_LOC PROCESS MY_PROCESS , ,
    4. In the Databases section, add your target database
    5. In the Credentials section, I select "Override Preferred Credentials" and use the agent account (oracle on my Linux system) and db user owb_access (OWB Runtime Access user)
    6. Review Schedule tab and submit
    Comments on step 3:
    - the oem_exec_template.sql script must be installed according to the path specified in step 3, on the database host where the OWB Runtime Repository is located
    - owb_runtime is the owner of my OWB Runtime Repository
    - WF_LOC is the name of my Workflow Location as seen in OWB Deployment Manager
    - MY_PROCESS is the name of a deployed Workflow Process
    - the commas indicate that I don't supply any system or custom parameters.
    - step 3 is actually a shell command line that is interpreted by eg. /bin/sh on Unix or cmd on Windows, and must obey proper quoting rules. On windows, I had to specify the empty commas as "\," (including dblquotes)
    Regards, Hans Henrik

  • Error Creating Database link

    Hello Everybody,
    I am getting the following error while creating the database link using the connection information at OWB Client.
    Testing...
    Failed.
    ORA-12514 TNS: no listener
    *Cause:   The connection request could not be completed because the listener is not running
    *Action:   Ensure that the supplied destination address matches one of the addressed used by the listener
    -compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file
    Start the listener on the remote machine.
    The version of OWB Client is 10.1.0.2.0.
    When queried at oracle using the userid which i used to login OWB Client i.e. as shown below
    select db_link from all_db_links - the database link is created. But none of the obects are accessable with the db link.
    Note: I am able to create a database link explicity by issuing the command at backend oracle i.e create database link etc. and also able to access the tables.
    Kindly help.
    Thanks
    Prashanth

    Prashanth
    my guess is that you can create the database link, which simply points to the remote instance. however, the problem is on the remote instance.
    As the error message suggest, make sure that the listener is up and running on the remote machine. The link can be created, but if there is no listener on the other side, you will not get any response.

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

  • Deleting database links

    When create a data source in OWB, I have to add a database link (in the connection tab, by pressing the "New Db link" button).
    But how can I delete all the database links already defined and not needed anymore? There's no delete button for doing this.
    Regards,
    Maurice

    I don't think it is possible to delete them from OWB.
    You can log in to the OWB user in SQL*Plus and drop the db link here with the syntax below or drop it through Enterprise Manager Console.
    DROP [PUBLIC] DATABASE LINK <link_name>
    Restrictions: You cannot drop a database link in another user's schema and you must specify PUBLIC to drop a PUBLIC database link.
    Regards
    Bent

  • ERROR WHILE CREATING A DATABASE LINK USING HETEROGENEOUS SERVICES

    I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
    Probando...
    Fallo.
    SQL Exception
    Error del repositorio: Excepción SQL.
    Nombre de la Clase: CacheMediator.
    Nombre del Método: getDDEntryFromDB.
    Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
    ORA-02063: preceding 2 lines from PRUEBA_SEH
    As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????

    Right places to ask this question are
    Heterogeneous Connectivity
    Warehouse Builder

  • ERROR WHILE CREATING A DATABASE LINK TO INFORMIX

    I'm creating a database link with the Oracle Dataware Builder, and i get the following error:
    Probando...
    Fallo.
    SQL Exception
    Error del repositorio: Excepción SQL.
    Nombre de la Clase: CacheMediator.
    Nombre del Método: getDDEntryFromDB.
    Mensaje de Error del Repositorio: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Informix][Informix ODBC Driver][Informix]Incorrect password or user [email protected] is not known on the database server. (SQL State: 28000; SQL Code: -951)
    ORA-02063: preceding 2 lines from PRUEBA_SEH
    As you can see i'm using heterogeneus services to connect to a informix database. ALTIADM is a valid user for that database, i don't send my ip address 192.168.0.62, but the error says "[email protected] is not known in the database server". how can i solve it?????

    Right places to ask this question are
    Heterogeneous Connectivity
    Warehouse Builder

  • Database link error when compiling forms 6.0 and forms 6i.

    Dear sirs,
    We have a database link between two databases of the same version oracle 8.0.5.
    Recently we have upgraded one of our databases to version 9.2.0.1 (the database where the database link was originally created ) and now we are having problems when compiling forms that have PL/SQL blocks using the database link.
    The error message received when compiling the form is the following:
    ORA-02068: Following severe error from dbproduc.world
    ORA-00600: Internal error code, arguments: [No conversion op],[],[],[],[],[],[],[]
    The forms did not present this error before, it began when we made the upgrade.
    Is this a FORMS 6.0 problem ?
    Is this an ORACLE 8.0.5 problem ?
    Is this an ORACLE 9.2.0.1 problem ?
    Can you please give me some advice to solve this problem ?
    Thanks in advance

    As I see, when you use a non-oracle database the tables don`t appear, you must create the realation with the table manually, on the properties

Maybe you are looking for

  • Target Display Mode - Thunderbolt to Mini DisplayPort?

    I have a MacBook Pro which has a Mini DisplayPort and I connect this to the Mini DisplayPort on my 27" iMac and use Target Display Mode. I am interested in the MacBook Air but there is no longer a Mini DisplayPort and I want to be able to go into Tar

  • Print quality problem with Officejet Pro K5400

    I purchased the above printer on August 8th of this year and I have really liked it until now. The print quality has gone to ----! I have done a chat with a technician, replaced any of the cartridges that might be low and it is worse than ever. Two t

  • Created Adobe Portfolio - now all pdf reload with open

    Help! I needed to email 70 pdfs. Instead of putting them all into one large pdf, I used the 'suggestion' in the new Macintosh Acrobat Pro 9 that I use a Pdf Portfolio. ( I used three Portfolios, then emailed them using the "email this portfolio" butt

  • Fit vs. Fill

    When using a Lightbox slideshow there are options for Fit Content or Fill Frame. They both seem to result in the same display. I'd like the lighbox to show vertical images vertical and horizontal images horizontal. When option does that? Bob

  • Cremas03 data??

    Hi Guys,              This is my first question in this forum. I am implementing a scenario where in i am passing data from FTP server to R/3 (IDOC) through XI The idoc is CREMAS03. Now the scenario is working fine but  when i use we05 to check if th