OWB 10g -- Can't Create Database Links for Data Source and Target

We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
For the database link of data source, we got the following error message:
Testing...
Failed.
SQL Exception
Repository Error:SQL Exception..
Class Name: CacheMediator.
Method Name: getDDEntryFromDB.
Repository Error Message: ORA-12170: TNS:Connect timeout occurred
For the database link of target , we got the following 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.
Repository Error:SQL Exception..
Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
Method Name: createDBLink(String, String, String, String).
Method Name: -1.
Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
Please help us to solve this problem. Thank you.

As I said prior the database link creation should work from within the OWB client (also in 10).
Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
- the use of abnormal characters in the database link name
- long domain name used in as names.default_domain in my sqlnet.ora file
What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

Similar Messages

  • Can we create the Mapping program,when source and target structures same?

    Hi Friends,
    if we have the same structure at source side and target side:
    1) Is it necessary to create the mapping program?
    2) If no need of mapping program what you will mention in the Interface Mapping?
    3) In ID part which objects no need to create when both structures are same?
    Regards,
    Naidu.

    Hi
    >1) Is it necessary to create the mapping program?
    No need to create mapping if both structure identical in all respects.
    >2) If no need of mapping program what you will >mention in the Interface Mapping?
    Dont define mapping and iterface mapping.
    >3) In ID part which objects no need to create when >both structures are same?
    You cannt assign a interface mapping as it is not defined in IR. leave that as interface mapping is not mandatory in Interface Determination Step.
    Thanks
    Gujjeti

  • How can i Create Database Link

    Dear Expert,
    I have two servers on that there are two databases then
    how can i create database link.

    CREATE [SHARED][PUBLIC] DATABASE LINK link_name
    [CONNECT TO user IDENTIFIED BY password]
    [AUTHENTICATED BY user IDENTIFIED BY password]
    [USING 'connect_string']

  • Can I create a link for captions in Adobe Captivae

    can I create a link for captions in Adobe
    Captivae

    Hi HAMADART and welcome to our community
    I'm a bit fuzzy on what you are looking for.
    If you are asking if you can create a hyperlink from a text
    caption that will open a URL or something, the answer is that you
    can, but not like you think. You would insert a caption and place
    it, then insert a click box object and program it to point to the
    URL. Then place the click box object over where you want your user
    to click.
    If you are asking if you can create a link that forces the
    Closed Captioning to display, first off I'd wonder why a link when
    clicking the CC button is so easy. But if you are asking if there
    is a way to cause Closed Captioning to display without user
    intervention, you need to take a look at fellow Adobe Community
    Expert Paul Dewhurst's site and use one of his widgets.
    Click
    here to visit Paul's site.
    Cheers... Rick

  • Can I create folders (albums) for my photos and move them?

    Can I create folders (albums), for my photos and then relocate said photos to specific folders?

    These links may be helpful.
    How To Create Photo Albums http://tinyurl.com/cxm4eoq
    How to Add New Albums in the Photos App on the iPad & Add Photos to the Album
    http://tinyurl.com/7qep7fs
     Cheers, Tom

  • 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

  • Can't create database link when password has special character

    I'm trying to execute the following statement within sqlplus
    create database link alpha connect to scott identified by tiger! using 'db_alpha'
    note that the password for the account has an exclamation point in it. the command fails. I've tried placing the password in quotes (') and double-quotes ("). The double-quotes work, but then the link fails to function properly.
    We are required to have a special character in our passwords... so how do I get that special character into the password for the database link?
    Thanks in advance,
    Darren

    for some weird reason, I can't post the reply I want. every time I try, the forum hangs and doesn't save the message. give me a sec...
    I have put the password within double quotes... so I'm starting to think the problem is something else. I've been reading other posts regarding creating database links and I've obtained limited results. Here's what I've done, and the results I'm getting.
    (names changed to protect the innocent)
    My oracle database is on SYSA. I'm on SYSB. I set my TWO_TASK=SYSA and just use sqlplus to connect as user1.
    I want to run a command on user2's tables. Normally I would just grant read access to user1 on user2's tables and use a command like
    nert spaces to get this to save (weird forum bug here, I can't delete the text to the left)
    SQL> sel{color:black}{color}ect * fr{color:black}{color}om u{color:black}{color}s{color:black}{color}e{color:black}{color}r{color:black}{color}2{color:black}{color}.{color:black}{color}m{color:black}{color}y{color:black}{color}_{color:black}{color}t{color:black}{color}a{color:black}{color}b{color:black}{color}l{color:black}{color}e{color:black}{color};
    However, user2 is for test data and those tables get dropped and recreated often and it is cumbersome to try to remind everyone to recreate the grants. So I can't trust that user1 will have access to user2's tables. So my goal with the database link is to create a private (for user1 only) database link and access the tables that way, that way I bypass the grant issue. This works out better for me because we only change that password every 2 months. I just recreate the database link once every two months, rather than recreate grants multiple times every week. Well, that's the theory anyway.
    Back to creating the database link, I thought my issue was the special character in the password because if I remove the exclamation point everyting works (except that the password is invalid). Below is what it looks like when I do this...
    Attempt #1:
    SQL> create database link BLAH connect to user2 identified by "tiger" using 'BLAH';
    Database link created
    SQL> sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_{color:black}{color}table{color:black}{color}@{color:black}{color}BLAH;
    sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_{color:black}{color}ta{color:black}{color}ble{color:black}{color}@{color:black}{color}BLAH
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from BLAH
    So that looks like it's just a password issue. If I put in the correct password... the error changes to this...
    Attempt #2:
    SQL> create database link BLAH connect to user2 identified by "tiger!" using 'BLAH';
    Database link created
    SQL> sel{color:black}{color}ect {color:black}{color}* fr{color:black}{color}om my{color:black}{color}_{color:black}{color}table{color:black}{color}@BLAH;
    sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_ta{color:black}{color}ble{color:black}{color}@BLAH
    ERROR at line 1:
    ORA-02085: database link BLAH.AAA.BB.CCC.DDD connects to
    DEVDB.AAA.BB.CCC.DDD
    To me, that doesn't make sense. If the link isn't working... how did it get the "invalid username/password" in Attempt #1?
    Anyway, in perusing other forum posts, one post said to put in the full text from the tnsnames.ora file instead of the alias. So I do a little cut/paste and try this...
    Attempt #3:
    SQL> create database link BLAH connect to user2 identified by "tiger!" using
    2 '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server001.aaa.bb.ccc.ddd)(PORT = 9999)))
    3 (CONNECT_DATA = (SERVICE_NAME = devdb)))';
    Database link created.
    SQL> sel{color:black}{color}ect {color:black}{color}* fro{color:black}{color}m my{color:black}{color}_{color:black}{color}tab{color:black}{color}le{color:black}{color}@BLAH;
    sel{color:black}{color}ect {color:black}{color}* fr{color:black}{color}om {color:black}{color}my_{color:black}{color}tab{color:black}{color}le@B{color:black}{color}LAH
    ERROR at line 1:
    ORA-02085: database link BLAH.AAA.BB.CCC.DDD connects to
    DEVDB.AAA.BB.CCC.DDD
    Any ideas on what I'm doing wrong?
    Darren

  • Create two or more data sources and mapping to DSO

    Hi,
    I´m using SAP Netweaver BI 7.0.
    If there are two or three data sources which have to be mapped to DSO which field from Data Sources has to be mapped to which field in DSO?
    Is it possible to have only one DSO or should it be three DSOs because of the three Data Sources?
    The thing is I have created one view out of three tables. For the view I have created one DSO. Everything worked fine. But now the requirements have changed because of currencies.
    The view I have created is now mixing currencies because in the view is only one currency field, which is filled from the three tables. Two tables have different currencies and one table has one currency.
    The one currency of the one table is important and should stay like it is.
    I´m thinking about something like three different currency key fields in DSO which are mapped from data source. Also for every field of data source mapping with corresponding field in DSO.
    Some hints? I have found articles in SDN about creating data sources and so on but they don´t help me in this matter.
    Thank you in advance!

    Thank you guys for explaining! I´m new to SAP BW and trying to better understand.
    I`ll try it also with the view. It sounds "easier".
    But if I´m doing it with the 3 data sources, that means that for each currency field of the data source I will need an corresponding currency field in the DSO for mapping.
    Is it possible to have 3 times the 0Currency field in the DSO and each data source currency field will be mapped to the DSO?
    If that would work the 0Currency has to be contained in the key figures.
    But if the 0Currency is contained in each key figure will the assignment of currency work correct?
    +For example:+
    Data Source1:
    Turnover in Euro.
    (All currency is in Euro)
    Data Source2:
    Profit in Dollar.
    Profit in Euro.
    Profit in Yen.
    Profit in different currencies available.
    Data Source3:
    Sales in Dollar.
    Sales in Euro.
    Sales in Yen.
    Sales in different currencies available.
    For mapping from DataSources to DSO if it is possible to have 3 times 0Currency in DSO:
    Data Source1 currency fiield ---> DSO 0Currency
    Data Source2 currency fiield ---> DSO 0Currency
    Data Source3 currency fiield ---> DSO 0Currency
    Does it make sense?

  • Can't create database link to oracle 8i

    can you tel me please why i can't create a database link to oracle 8i from owb 9.2.0.2.8

    Can you please provide more information: what is the error you are getting? Are you creating the link while importing metadata or while deploying?
    Nikolai

  • Need links for data structure and algorithms.

    Hi.
    I am just new to java but need to learn data structure and algorithms.
    Do your guys got any good links or bbs to learn?
    Thanx in advance

    http://www.amazon.com/exec/obidos/tg/detail/-/1571690956/ref=cm_huw_sim_1_3/104-7657019-1043968?v=glance
    http://www.amazon.com/exec/obidos/tg/detail/-/0534376681/ref=cm_huw_sim_1_4/104-7657019-1043968?v=glance
    http://www.amazon.com/exec/obidos/tg/detail/-/0672324539/ref=cm_huw_sim_1_2/104-7657019-1043968?v=glance
    http://www.amazon.com/exec/obidos/tg/detail/-/0201775786/qid=1060946080/sr=8-1/ref=sr_8_1/104-7657019-1043968?v=glance&s=books&n=507846
    $8 for the first

  • Table for Data source and Transfer rule mapping

    Hi all,
    Do we have any table where in we can know the different transfer rules(for different source systems) assigned to the same Data source.
    thanks and regards,
    Rk.

    thank you all,
    the table RSDS does not have 3.x data sources, it has only 7.0 Data sources also it does not have the field mapping.
    RSOSFIELDMAP and RSTSRULES have the field mapping of the datasources, do we have any similiar tables for 7.0 Datasources.
    regards,
    RK

  • ODI: Can I create join link between the source Files?

    I have a few flat files that has foreign key relationships to each other, and I put them as source files, and try to import data to Essbase from them. and I got the error message: The source data server has no join capacilities. But if I just put all of the informations inside one flat file, the transferring is successful. It seems I cannot put "joins" on the source flat files. Please advise,thanks!

    Hi,
    You can join tables in your source area, even if they are flat files.
    The joins will be done in a staging area, depending on the size of the files and the location of the agent you are running it can define where you want the staging area to be.
    If the files are small and the joins are not complex then it can be done using the memory engine, otherwise in most circumstances I would use the power of a relational engine such as Oracle/SQL server as the staging area.
    Make sure you use a staging area for the interface or you will get the error messages, also on the joins make sure they are done in the staging area, there will be an option when you highlight the join
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Can I create separate events for RAW files and JPEG files of the same photo?

    I recently changed the setting on my camera to take both a RAW and JPEG image.  I now have a large number of photos in both formats in the same event. I'd like to separate all the RAW and JPEG photos into separate events.  Is it possible to do this in a batch process versus trying to move individual files?  I use iPhoto '11, version 9.4.3.
    Thanks,
    Peter

    Yes.  Create a smart album with the criteria Photo is RAW:
    Then you can select all of the photos in the smart album and use the Events ➙ Create Event menu option to move all of the RAW photos into a new event.
    OT

  • Different mapping programs for same source and target

    Hi All,
      I have to map the incoming idoc to xml messages.
      But based on customer numbers in incoming idoc i have to use different mapping programs and map to same xml messages.
    1 source message     - n mapping programs       - 1 target message
                                    (based on cust numbers)
    I dont want to harcode the customer numbers to find out the mapping programs.
    Can anyone guide me in this on how to achieve this functionality...
    thanks
    Giridhar

    Hi,
    have you tried to use Conditions in the Interface Determination?
    You can add multiple lines in the 'Configured Inbound Interfaces' and attach different mappings to each of them by picking a condition (basically using an XPath Expression).
    Check this Help Document,
    the section 'Multiple Identical Inbound Interfaces with Conditions' describes what I believe is your scenario.<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/ea20e737f33ee9e10000000a1553f7/frameset.htm">Multiple Identical Inbound Interfaces with Conditions</a>
    regards,
    Peter

  • Failed to create Database Link in OWB 9.2 for remote SQL Server

    Hi,
    I have to create Database link for connecting to SQL server in a different machine.I am using OWB 9.2 and XP.
    Dataserver is the machine name which is running SQL Server
    I included follwing lines in TNSNAMES.ORA file
    hsodbc.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
    (CONNECT_DATA = (SID=hsodbc.world)
    (HS =OK)
    I included follwing lines in Listener.ORA file
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
    (SID_DESC=
    (SID_NAME=hsodbc.world)
    (ORACLE_HOME=C:\ora92)
    (PROGRAM=hsodbc)
    I included follwing lines in inithsodbc.ORA file
    HS_FDS_CONNECT_INFO = testdsn
    HS_FDS_TRACE_LEVEL = 0
    While creating new database link I gave the follwing values
    DB Link Name : Mylink
    SQL * Net Connect String: hsodbc
    User Name: sa
    password:<my password>
    Then clicked "Create and Test" button to get the follwing error message
    Testing...
    Failed.
    ORA-12154 TNS:could not resolve service name
    *Cause: The service name specified is not defined correctly in the TNSNAMES.ORA file
    *Action: Make the following checks and correct the error:
    - Verify that a TNSNAMES.ORA file exists on your repository server
    in the proper place and is accessible. See the operating
    system specific manual for details on the required name and location.
    - Check to see that the service name exists in one of the
    TNSNAMES.ORA files and add it if necessary.
    - Make sure there are no syntax errors in the file.
    Particularly look for unmatched parentheses or stray characters.
    Any error in a TNSNAMES.ORA file makes it unusable. See
    Chapter 4 in the SQL*Net V2 Administrator's Guide. If possible,
    regenerate the configuration files using the Oracle Network Manager.
    Is there anything wrong in my configuration. Please help me in getting out of this problem.
    Thanks in advance
    Andy

    Hi Mark,
    Thanks Mark.I did the changes in the specified .ora file but now it shows a different error message.
    The error is
    Testing...
    Failed.
    Cwm Error Message: SQL Exception
    Cwm Error: SQL Exception
    Class Name: CacheMediator
    Method Name: getDDEntryFromDB
    Repository Error Message: ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYLINK
    Query: select 1 from dual@MyLink
    I got the same error when i tried manually in sql plus.
    Please help me in getting out of thid problem
    Thanks in advance
    Andy

Maybe you are looking for

  • What's with Safari 6? Extremely unstable, scrolling lags, typing lags...

    I upgraded to Safari 6 just before (using Software update, I'm using 10.7) and... it's completely unusable. I tried to post this question using Safari but it crashed 4 times, so I'm in Chrome now. (No crash report dialog appeared to report to Apple.)

  • ABAP connetion with SD

    Hello, What kind of ABAP skill should a SD consultant have? I mean the SD consultant use thes ABAP language by themself Thanks! Ling

  • Work with attachments

    All, Within the file adapter, it is possible to upload a message (e.g. XML) with attachment (e.g. binary PDF). But how to work with these attachments in SAP XI? 1. Can the Receiver file adapter convert a message with attachment into 2 files? 2. How t

  • Why does caps lock on every time I open new blank page

    Every time I open a new blank page, the Capitalization switches on. It doesnt happen with the other pages I choose. Just the blank document page. This annoying habit continues as I start a new line, and sometimes the underline and Bold format pops on

  • How to make an effect of a glass breaking and fall into pieces?

    How to make an effect of a glass breaking and fall into pieces? I want to make an effect where there's a guy hitting a wall and the wall falls into pieces...Please help!! I can make the guy in green screen but its the effect of the wall breaking that