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

Similar Messages

  • 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']

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

  • 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

  • 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

  • Can not create promoted links

    HI !
    i can create promoted link list in SC but not in subsite.
    is there any action so i will be able to create promoted link list  in my subsite ?
    thanx,
    nikita

    Hi,
    Did the feature "Team Collaboration Lists " is activated ?
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • RH9 - Can not create ANY links in linked Word documents ;-(

    Ok, this does not make sense:
    - From RH9, create a fresh empty project
    - Create two word files "Topic1.docx" and "Topic2.docx"
    - Put "Link Here" in each document
    - Save the documents
    - From Project Manager, Project Files, link both documents, generate, update all, etc.
    - Now create hyperlinks in each topic, pointing to the other topic using default topic editor in RH9
    - Save All and Generate the WebHelp project and test the links are there and work.
    - Now open and edit both word documents in word. Add some text to each and save
    - In RH9 Project Manager, Project files, Update All and open the topics in RH9 default editor
    Walla, the full text is there, the LINKS are gone. Actually, I understand that this is how it works, but the BIG problem is that links to bookmarks, other topics, links to outside resources created in RH9 Default Editor cannot be preserved when the related/linked document is edited in Word. AND, you cannot create ANY of these links in the Word documents. So, you have a help system that has really nice update features when an author makes a change to a document, but NO LINKS. Updating a linked document will DELETE ANY changes made within the RH9 Default Editor.
    Does this make any sense? Has my brain fallen down? Is there another workflow option?
    Thanks for any help
    Lyle
    Hummmmm, NO POPUPs, mini TOCs or See Also Keywords, Link Controls, etc. etc. etc.

    I have been observing this thread and wanted to just chip in to remove some misnomers,
    1. If you create any hyperlink from any MS Word document (say Doc1) to another MS Word document (say Doc2) and you import the original document (Doc1) then it brings its reference (that is the word document Doc2) as baggage in the RoboHelp project and the hyperlink is not created to the html file generated for the word document Doc2 (linked or imported seprately).
         thus if you click the hyperlink in RoboHelp it should open the word document Doc 2 (that was brought into the project as baggage)
    2. If word "conversion setting" alone are modified (like the settings “convert references to hyperlinks”) then at times the mapping fails to work, in such scenarios just go to the conversion settings dialog of FrameMaker and modify multiple “other settings” (it won’t impact your word conversion mapping.) Now any conversion settings applied for word will work.
                Hence the “convert references to hyperlinks” is working but you need to update any FrameMaker conversion settings to get it working
    @ Lyle – as now the flow must be clearer so I would give you a suggestion to merge all the word documents that you want to work with and use cross-references to places you want to have hyperlinks and use the option to “convert references to hyperlinks” in RoboHelp.and keep all the authoring in word document so that nothing is lost on update.
    NB – There is a method to create intra document cross references in MS Word
    In FrameMaker the concept of book gives it a sense of collection and thus cross references across FM documents inside a book are converted easily but in Word there is no way to group word documents and thus it is not possible to convert any spatial hyperlinks from one document to another.
    Hope this helps
    Ashish

  • Can not Create Database on Oracle8i 8.1.6 on Solaris 2.6 10/00 Intel Platform!!!

    I buy a solaris8 10/00 and install it on Intel PIII 633 MHz 320MB of RAM and 10GB Harddisk. and I try to install Oracle8i 8.1.6 Intel Platform.
    After installing, I use "dbassist" for creating a database. In the step of creating an "Initialize File".
    There is an error "ORA-01034" then I ignore. so there is another error "ORA-01012". I search in the directory that I store a database but there is no control file.
    When I try to start oracle, It reported the error "ORA-27102 Out of memory" and "Error 22 Invalid argument ".
    Do you have any suggestion for my situation?
    thanks a lots

    Hi,
    I don't have precise answer to your problem.
    But I can make some wild guesses:
    1. If you have done a "typical" installation, it automatically creates a database.
    Now, you will have to do the follwing:
    a. login as oracle
    b. type "$ORACLE_HOME/bin/svrmgrl"
    c. type "connect internal"
    d. type "startup" without any argument.
    If it opens the database, it's fine. If not, there is some problem in the starting of the instance itself.
    I mean, the first step it does is to start an instance and start background processes.
    2. Is the listener process start without any problem?
    That is,
    If you type
    "$ORACLE_HOME/bin/lsnrctl"
    "start"
    it should start the listener process without throwing error messages.
    3. Have you configured tnsnames.ora file?
    Pl. keep me posted abt latest updates.
    Thanks,
    Raghu.

  • When i install P6_R82_Client_Applications, it can not create database file

    when i install primaver client application, it install oracle XE but when should create the data bases installation failed, why?????????
    ERROR: " Oracle XE P6 Professional database Creation failed. Please see the log file at C:\Document and Settings\Administrator for details."
    LOG Files:
    <08.21.2013 07:20:14> [INFO] [2013-08-21 07:20:14] Calling Perform Action
    <08.21.2013 07:44:26> [INFO] [2013-08-21 07:44:26] Calling Perform Action
    <08.21.2013 08:04:27> [INFO] [2013-08-21 08:04:27] Calling Perform Action
    <08.21.2013 10:25:43> [INFO] [2013-08-21 10:25:43] Calling Perform Action
    after installation failed i can run and connect to oracle database with user: "system" and password: "**********", but when i want to setup database by "dbsetup" batch file and enter the inforamation required to
    connection information one error appear with this issue : "SQLException: Locale not recognized"
    please help me, thank you
    Message was edited by: a5cf350d-5b24-4c54-b68b-fcbc19e21d34

    Hi,
    It sounds like you have run into a pretty common problem of installing the application from inside the zip file.
    I would recommend uninstalling both P6 and Oracle XE, then make sure you unzip the install files before running the setup.exe application again
    Make sure you use setup.exe and not P6-professional.msi as it will not install the per-requisites like java that it needs to create the database.
    Regards
    Alex

  • Can not create Database-based MDS connection

    Hello Dear Oracle Support,
    I am trying to use MDS to share some common dvm files. First step, I want to create a database based MDS connection but failed.
    My SOA schema is JDEV_SOAINFRA. When I test my Database based MDS connection, I got ORA-01031: insufficient privileges. What privileges I need to grand to MDS schema?
    I am using JDEV_MDS as username to establish MDS connection.
    Thank you for any suggestion and/or information,
    Alena Li

    Hello Alena!
    If you want to wait the answer from Oracle Support here.. you'll need a lot of patience.
    Is the corresponded Database Connection test succeed?
    If it also fails that, I think, your JDEV_MDS user (schema) lack of the CONNECT privilege.
    A question to you - how did you created this schema?
    You should use RCU to create the schemes  for SOA Suite (and other Oracle Middleware).
    The RCU creates the schemes with all necessary structures (tables) and grants.
    Hope this helps,
    Oleg

  • 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

  • Can not create directory error while creating database

    i am creating database using dbca in oel but when i try to do so i get an error saying can not create directory pawii
    and pawii is the sid
    actually oracle is installed on u01 and i am creating database in u02
    but this error is not allowing me to create database but when i try to create database in uo1 the database installed successfully but this is not happening when i try to create database in another mount point u02

    987018 wrote:
    so finally i had solved the problem myself as people like rukbat are very unhelpful in nature here
    all we had to do is we had to change the group of the folder to oracle and oinstall where we are going to create our new database :)Actually he tries to be quite helpful. But sometimes the help you need isn't the help you want.
    "When you need me but do not want me, then I must stay. When you want me but no longer need me, then I have to go." (Nanny McPhee)

  • Create database link not working..

    sir,
    i have created a database link using the following statement.
    create database link orcl.vishnu.com;
    but when i tried to insert the data it i get
    ora-02019 connect description for remote database not found..
    on both the database i have the same logins with the same passwords.. i have even created a serice name called orcl.vishnu.com. and it works well when connect manually.
    when i use the following statement it works..
    create database link link1 connect to vishnu identified by password using 'orcl.vishnu.com';
    and also the insert statement works.
    when i use the below statement then it fails again...
    create database link link1 connect to current_user using orcl.vishnu.com...
    it fails again.. saying that the userid and password is wrond...

    hi,
    You have must first read through the documentation and understand things, then you will understand the difference and you will not get the Issues.
    http://www.psoug.org/reference/db_link.html
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_5005.htm
    Wish you Happy New Year 2010...!!
    - Pavan Kumar N
    Oracle 9i/10g - OCP
    http://oracleinternals.blogspot.com/

  • I can not found the link to creating my Apple ID

    I can not found the link to creating my Apple ID

    How do I get an Apple ID?
    You may already have an Apple ID, and you only need one for everything you do with Apple. If you aren't sure, visitMy Apple ID and click "Find out."
    From Here  >  http://support.apple.com/kb/HE37

  • Admin Tool can not create any new database or model [nqserror 46131]

    Hi everyone!
    I can not create anything new in each layer on the admin tool. It marks unknown error.
    When I try to import metadata it send the message: [nqserror 46131] unresolved hostname, everything in online mode. I can modify everything offline, then replace the rpd and I can create reports in Answers. But I need to do all of these online mode.
    Everything else works well (Answers, Dashboards, Publisher). The server name is correctly put in the instanceconfig.xml.
    OBIEE Version: 11.1.1.6.0 (upgrade recently from 11.1.1.5). The scheduler does not start since migration.
    Server OS: Red hat enterprise edition
    Regards,
    Edgar Tercero
    Edited by: 958457 on 11-sep-2012 12:04
    Edited by: 958457 on 11-sep-2012 14:13

    Thanks but it not solve my problem.
    I detect no problem in my enviroment variables in the bi-init.sh
    This is what my admin tool log says:
    [OracleBIServerComponent] [ERROR:1] [] [] [ecid: ] [tid: 690] [nQSError: 43113] Message returned from OBIS. [[
    [nQSError: 46131] Unresolved host name: vrnmobiee. Could not get details about the specified host]]

Maybe you are looking for

  • Events in a view or viewcluster

    Hi @all, i have a viewcluster containing of 2 views. When I create a new entry in the "first" view, some default entries should be created in the "second" view. I know, I can control such thing with the events of the view. I also found event 05 (at n

  • ITunes (Windows) won't connect to Airport Express

    I've recently upgraded to version 10.2.1 and now when I try to play music on my Living Room speakers, I get an error saying, "An error occurred. The network connection failed." (My Mac computer has no problem) Apparently, issue is with 10.2.1 and Win

  • Updating Acrobat Pro 9.0

    I had to reinstal Acrobat 9.0 in my Windows 8.1 desktop.  It seems like a firewall issue but I cannot figure out how to allow it through the firewall if so.  Thanks.

  • MSI 6670 MD2GD3 causing mouse problems in Windows 7 x64

    Hello! I bought a new PC and I`m experiencing a very annoying bug. My configuration is: CPU: AMD FX 8350, Motherboard: Asrock 990FX Extreme 3, 16 Gb Corsair DDR3 1600, Kingstong HyperkX 3K SSD + WD Caviar Black 1TB HDD, Graphics card: MSI 6670 MD2GD3

  • Availability tab of notification rule

    Hello When I create a notification rule, there are some options under the Availability tab like the following: Do these stuff have any relation with my selected metric ? When should I choose them ? I mean lets say I am monitoring broken jobs, what wo