Database link help in oracle

i try to get a resultset from database link but its return empty,so i tried to put the tables in the machine and its successed but with links did not.
can somebody help me.

database link help in oracleOr perhaps your do! Whoops.

Similar Messages

  • Database Link Error: From Oracle to SQL Servre

    Hi,
    I am trying to create a database link from my Oracle database to SQL Server. Oacle is 11gR2 on windows 2012 64-Bit same is the OS for SQL Server.
    When i execute the query using link, this is the error what i get:
    *ORA-28545: error diagnosed by Net8 when connecting to an agent*
    *Unable to retrieve text of NETWORK/NCR message 65535*
    *ORA-02063: preceding 2 lines from PMS2KPI*
    When i look for this error in *listener.ora* file, this is what i found
    30-OCT-2014 09:51:48 * (CONNECT_DATA=(SID=pms2kpi)(CID=(PROGRAM=)(HOST=GARMCO\GRBHORDB01)(USER=GARMCO\PMS2Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::54d2:d482:edf0:8543%12)(PORT=52016)) * establish * pms2kpi * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
      TNS-00530: Protocol adapter error
       64-bit Windows Error: 2: No such file or directory
    30-OCT-2014 09:51:48 * (CONNECT_DATA=(SID=pms2kpi)(CID=(PROGRAM=)(HOST=GARMCO\GRBHORDB01)(USER=GARMCO\PMS2Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.107.145.26)(PORT=52017)) * establish * pms2kpi * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
      TNS-00530: Protocol adapter error
       64-bit Windows Error: 2: No such file or directory
    Thu Oct 30 09:52:58 201
    When I look for the details in *alert.log* file, i find this
    HS:  Unable to establish RPC connection to HS Agent...
    HS:  ... Agent SID = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=GRBHORDB01.garmco.local)(Port=1521)))(CONNECT_DATA=(SID=pms2kpi))),
    NCR error = 65535 Unable to retrieve text of NETWORK/NCR message 65535
    Thu Oct 30 09:52:25 2014
    My configuration seems to be ok....
    *initpms2kpi.ora file*
    #HS_FDS_CONNECT_INFO=[GRBHSQDB01.garmco.local]/KPI
    HS_FDS_CONNECT_INFO="SERVER=GRBHSQDB01;DATABASE=KPI"
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=HS_RECOVERY
    HS_FDS_RECOVERY_PWD=********
    HS_FDS_TRANSACTION_LOG=HS_TRANSACTION_LOG
    HS_FDS_TRANSACTION_MODEL=COMMIT_CONFIRM
    HS_COMMIT_POINT_STRENGTH=0
    *Listener.ora file*
        (SID_DESC =
          (SID_NAME = pms2kpi)
          (ORACLE_HOME = C:\App\Oracle\product\11.2.0\dbhome_1)
          (program = tg4msql)
    *tnsnames.ora file*
    pms2kpi =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP)(Host = GRBHORDB01.garmco.local)(Port = 1521))
        (CONNECT_DATA =
          (SID = pms2kpi)
       (HS=OK)
    How can I check if some firewall is blocking the connection, or its a port issue... or maybe something wrong in the configuration, but chances are very less for this.
    Kindly help if you have gone thru such an error.
    Regards, Imran

    Hi,
      In the listener.ora you have -
       (program = tg4msql)
    but with 11g gateways the executable name has been changed and you should change the entry to -
       (program = dg4msql)
    then stop and start the listener.
    If you installed the gateway into an existing ORACLE_HOME then the gateway version must be the same version as the software already installed.
    For example, if the existing software was 11.2.0.4 and you  installed 11.2.0.1 gateway this will give you problems and most likely the gateway executable will be 0 (zero) in size.
    Regards,
    Mike

  • Problem connecting DataBase Link from windows oracle to oracle on Linux

    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?

    1005745 wrote:
    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?A database link is acting as a client to the target, remote database in exactly the same fashion and using exactly the same tns infrastructure as any other client trying to connect to that remote database. your ORA-12154 when querying a db link means exactly the same as if you had gotten it trying to connect with sqlplus, from the same server. Check the link SB provided. Keep in mind that the tnsnames file of concern is the one on the source database server.

  • Database link to Personal Oracle

    Question:
    I can create a database link from an Oracle-Server
    to a Personal Oracle Database.
    But I cannot use it: the TNS name cannot be resolved.
    Why ? Is it necessary to start any additional processes?
    null

    HMMMM....tried that and I still cannot connect. This is how XE created the entry in the tnsnames.ora file:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = uad-rawallacejr.win.csupomona.edu)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    I created the database link as follows:
    CREATE DATABASE LINK XE
    CONNECT TO GIFTPROC
    IDENTIFIED BY nikki
    using 'XE'
    getting this error:
    SQL> select count(*) from project@XE;
    select count(*) from project@XE
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service name
    Is there anything else I need to do?
    Thanks in advance for your help!

  • Database Links Help

    I want to create a dynamic PL/SQL Portlet which displays an image based on a value in a remote database.
    Can someone explain how to use Database Links in Oracle Portal and then how to create the public synonym so it can be accessed in the SQL?
    I've tried to do it but am unsure which schema to create a DB Link To - Is it the Portal Schema?
    any help is appreciated.
    Thanks
    please note i'm trying to do something like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>#title#</title>
    </head>
    <body>
    <ORACLE>
    declare branding varchar2(50);
    begin
    select parameter_value
    into branding
    from system_parameters
    where parameter = 'BRAND';
    if branding = '1'
    then
    htp.p('HTML FOR BRAND 1');
    else
    htp.p('HTML FOR BRAND 2');
    end if;
    end;
    </ORACLE>
    </body>
    </html>
    System parameters is the table in the remote DB
    Thanks!

    In the Portal Navigator click on the Database tab.
    Create a new schema e.g. BRAND. If you give it a password you can log in directly to that schema using SQLDeveloper, which can be hugely helpful for debugging and testing.
    Click on the schema in the list to open it up. Create a new database link. You will need to know a named user and password on the remote database, as well as the SID. The SID must match an entry on the TNSNAMES.ORA file on the application server, which is not necessarily the same as your local PC (this has caught me out far too often...).
    Create a synonym for the table SYSTEM_PARAMETERS in your new schema. On the second page you will have to type in the source table name (the pop-up search doesn't work across database links) and also select the database link (it's best to use the popup search for this).
    If you use SQLDeveloper to log into your new schema then you should be able to check everything is well by running your select stagement:
    select parameter_value
    from system_parameters
    where parameter = 'BRAND';
    Good luck!
    Patrick

  • Database link from one Oracle database to another

    Hi everyone!
    I have 2 databases. I need to create a database link to copy a table from one of the database to another.
    Both of them are Oracle 10g v2
    Please advice me on how can I go about it.
    I am trying to avoid import and export.
    What are the options left to me?
    Thanks

    user5160274 wrote:
    Hi Kanchana,
    I am using Oracle 10g/Windows Server 2008. I have created a dabaselink. The link works perfectly fine. I want to copy the table (Oracle 11g) from remote server in to my database. It is ongoing process ie, it has to be scheduled and I want the updated rows to be copied in to my database on a daily basis. Please help me out.
    Eagerly awaiting for your response.
    Regards
    Narayanan NAnd once again a new member of the forum, on their very first post, goes on an archeological dig and tries to raise the dead. This thread is well over a year old. You should have started your own thread for your own issue. You say you have created a link and it works, so whatever your problem is, it is NOT even related to the question the OP raised.
    At exactly what point are you unsure about the process? Scheduling a processes? The command to use? Exactly what have you tried? What results do you have so far?.
    Please, start a new thread explaining your issue.
    Moderator --- please lock this thread.

  • Database link works for OS user "oracle" but not for other clients

    My DBA connects as user1 to db1 and successfully queries over database link db2.
    [oracle@linux19 ODA]$ sqlplus user1/****@db1
    SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 12 07:39:49 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT * FROM DUAL@db2;
    D
    XI log in from a Windows XP client and test the same database link with a ORA-12154 result.
    C:\>sqlplus user1/****@db1
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 11:18:18 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT * FROM DUAL@db2;
    SELECT * FROM [email protected]
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specifiedI can create and successfully use database links by including the full TNS entry in the USING string.
    What are some possible causes for the different results?
    What additional information might I supply to help troubleshoot?
    Thanks very much.
    - Doug
    Edited by: enquad on Apr 12, 2013 2:56 PM
    changed "database link db1" to "database link db2" per comments by SB
    Edited by: enquad on Apr 12, 2013 3:00 PM
    Changed "user" to "OS user" in subject for clarity

    enquad wrote:
    Sorry gentlemen and SB, but my question is still not answered. It is a new question, which I have not found answered elsewhere.
    To summarize:
    SB97025 informs me that db1 is not a database link, but I never said that it was. It is the second database (anonymized as "db2") that is connected to through the database link "db2.mycompany.net".
    SB97025 also wonders intriguingly if my DBA and I are we really connecting to the same database when we each connect to user1 on db1. Perhaps the Oracle server and my PC have TNSNAMES.ORA files that lead us to different databases for the same TNS alias? I do not believe this is the case, because my DBA created that user1 and that database link in the db1 database specifically for the purpose of doing this test and I see that same link when I connect to user1 on db1. Unless my DBA is spoofing me by creating user1 in two different databases - only one of which contains a working dblink named db2.mycompany.net - just for the purpose of throwing me off, I would have to conclude that he and I are actually connecting to the same database.There is no reason to "believe" (or not) that "this is the case". The entire point of SB's comment on that was to get you to verify. President Reagan famously said "trust but verify". He never worked as a DBA. I say "don't trust, just verify".
    Obviously something is different. And at this point the most likely and easiest to confirm is that you and your DBA really are connecting to the same database, on the same host server, using the same link. And at this point all we really have is to trust your DBAs statement.
    >
    Ed Stevens reminds me that db1 is acting as a client to db2 and so the solutions to the ORA-12154 are the same as for any client connection as listed on his blog (which I had already read), none of which solve my problem. Rembember, the DBA can use the database link, so by whatever means the TNS lookup is happening when he uses it, the correct connection description is being found. The question is not "why does this stinkin' database link not work"? It does work for the DBA.
    Pierre wants to make sure I know that it is the Oracle server's TNSNAMES file that is the important thing, not my client's TNSNAMES file, which is true but not relevant to my problem and I was never so naive. He also says that I could try creating a database link by including the full TNS entry in the USING string, which does work as I had already mentioned in my original post.
    Amar asks if my DBA can: sqlplus username/password@db2.
    The answer is yes. The dba can use SQL*Plus to connect to db2 from the server hosting db1 and can connect to db1 from the server hosting db2. There is almost nothing my DBA cannot do.
    None of the posters addressed the key information in my post, which was the different result my DBA and I get when using the same database link in the same schema on the same database. That AND the fact that my DBA is logged on to Linux Oracle serve as user "oracle" and I am logged in to my PC. Why should it matter to a database link which computer is running SQL*Plus or who the OS user is?
    Also the GLOBAL_NAMES parameter is set to FALSE.
    - Doug

  • Oracle 11g database link to Oracle 8

    Hi,
    database-links from an Oracle 11g to an Oracle 8-Database seem to do not work:
    The error in enterprise manager is: socket error (translated from german).
    There are no alerts at the Oracle 11g-Database.
    On the other (Oracle 8) side, the alert we have is an "internal error"
    Has anybody else that experience, and maybe a solution?
    Thx a lot for your help
    Alex

    user10956040 wrote:
    Hi All,
    Why are you hijacking someone else's thread? This just makes it harder to deal with the OP's issue, even if you think it is closely related to yours, and you haven't given any indication that it is at all related.
    I have a DB link called "appdb.message.oracle.com".
    In 10g "select * from table@appdb;" is working fine but in 11g not.
    Why so?
    I have two cars in my garage. One works. One doesn't. Why so?
    Some description of "not working" would be helpful. Actual ora-nnnnn error messages even more so.
    In 11g if i create DB link with the name "appdb" only then the query "select * from table@appdb;" is working fine.
    Is there any update in 11g regarding this DB link names.
    Plz help me out..
    Help us to help you by giving us some clues. Given my comments above, preferably in your own thread.
    Thanks in Advance,
    Sridhar

  • Create a database link to access SqlServer 2005 view from oracle 11gr2

    Hi All,
    Greetings for the day.
    Though I have seen quite a few posts but just wanted to cross-verfiy and double check hence posting.
    Oracle Database : 11gr2
    OS :SOLARIS SPARC 64 Bit
    SQL Server Database : Sql Server 2005
    OS : Windows 2003 32 Bit
    The requirement is to access a view residing in the SQL Server 2005 Database using the Oracle Database. This involves creation of a Database link in the Oracle Database to access the SQL Server.
    Can you suggest which approach should i follow ( I am able to understand that both do the same job ):
    How to Configure DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX) post install [ID 562509.1]or
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install [ID 561033.1]Will they do the same job ? And can they be used on any OS and version of the SQL Server Database as version information for SQL Server is not specified anywhere?
    Please let me know so that I can it forward with Business for approvals and budgetting.
    Regards
    KK

    Your question is similar to the post: Oracle 11gr2 connection to Sql Server using dg4msql problem
    Please visit: http://stackoverflow.com/questions/4658942/oracle-11gr2-connection-to-sql-server-using-dg4msql-problem
    Answer on the website:
    You seem to be using the Gateway for MySQL set-up rather than the Heterogeneous Gateway (for ODBC connections). Here is an overview of the process
    On SQL Server create a database user and give it read access to the database/tables you want to read via the Oracle database link.
    In the gateway home each SQL Server database you want to access should have an init.ora located in $OH/dg4msql/admin in the form initsid.ora where sid is the name of the database to be used in the link (e.g. initbob.ora), so create one
    HS_FDS_CONNECT_INFO=msserver1:1234//Example_Database
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_TRANSACTION_MODEL=READ_ONLY
    You must now add the new sid to the listener.ora in the gateway home using an additional SID_DESC section inside the existing SID_LIST, for example
    (SID_DESC =
    (SID_NAME=bob)
    (ORACLE_HOME=/oracle/gateway/product/11.2.0)
    (ENVS=LD_LIBRARY_PATH=/oracle/gateway/product/11.2.0/dg4msql/driver/lib;/oracle/gateway/product/11.2.0/lib)
    (PROGRAM=dg4msql)
    You should now stop and restart the gateway listener so that the new sid becomes active. NB a reload is not enough.
    You must now add the new sid in the tnsnames.ora file for the listener of each database in which you will create a link. You don't need to do this in the gateway home unless it is also a database home in which you will create a database link.
    bob =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = severname.example.com)(PORT = 1690))
    (CONNECT_DATA = (SID = bob))
    (HS = OK)
    NB: The host and port are for the gateway not for the SQL Server database
    In each database that requires a link to the MS-SQL database you should create a database link to your new gateway sid.
    CREATE PUBLIC DATABASE LINK bob
    CONNECT TO "ms_user" IDENTIFIED BY "ms-passwd" USING 'bob';
    where ms-user and ms-password are the SQL Server user you created right at the start.
    Now you can test the new database link
    SELECT COUNT(*) FROM "Table_Name"@bob;
    Once you have this working you can alter the initsid.ora file to add parameters to suit your connection. If you do it this way you can easily add and manage many different databases via the gateway.
    Hip
    Edited by: 1000595 on 04:58 17-04-2013

  • ORACLE 11g + PHP5 problem: "fetch out of sequence" on remote database link

    Hi!
    I have a new server with oracle 11g (11.1.0.7) database and apache/php5 (actual build) on linux.
    connection type is dedicated.
    when doing a connection to a remote AS/400 database I always get this error:
    "Warning: oci_fetch_array() http://function.oci-fetch-array: ORA-01002: fetch out of sequence ORA-02063: preceding line from..."
    when doing the same simple "select * from database link" at my old server with oracle 9i and apache/php5 no problem occurrs.
    this happens at AS/400 database link only. normal oracle database links work fine.
    Anyone an idea how to solve this problem or where the problem is????
    further info:
    when doing " select * from [ database link ] where rownum < 11 " it works, but when doing the query with more than 10 results I get the error. Any idea?
    bye,
    Oliver
    Edited by: user501548 on 10.10.2008 02:20

    well a fetch out of sequence usually indicates that a cursor has been closed before the process has finished fetching or some such thing.
    I'm not aware of there being a specific problem with the situation you outline, but maybe if you could provide all the connection setup and how you are trying to connect that may give a better idea.
    Also, you may be better asking on the General Database Discussions forum as this isn't really a SQL or PL/SQL problem

  • Oracle 64bit to MySQL (OS 64bit) - Database Link

    My task is to create a database link from Oracle to MySQL.
    My current setup is:
    Windows Server 2008 - 64bit
    Oracle 10.2.0.4.0 - 64bit
    MySQL 5.0.45-community-nt
    On my server I have installed the mysql odbc driver 64bit (5.6).
    However, this driver only appears in the system32 of the odbcad32.exe and NOT in the syswow64.
    How is that? I realize the problem might be here since Oracle (a 64bit application) looks for an odbc from a 64bit driver. This is not found since the mysql driver doesnt exist in the odbcad32.exe of syswow64.
    I have followed the step by step setup procedure from this Connecting Oracle with MS-Access | Oracle FAQ but used the above driver and odbc accordingly.
    After creating the database link on oracle I execute a select statement and this is the message I get:
    ERROR at line 2: ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535 ORA-02063: preceding 2 lines from MYSQL_DB
    MYSQL_DB is the database link created in Oracle.
    Any ideas? Is this possible? Are there any alternative ways?
    Thank you,
    Andreas

    The error message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified {IM002}" is self explainind - DG4ODBC is not able to find the ODBC DSN you created.
    In your gateway init file you configured the DSN: HS_FDS_CONNECT_INFO = testmysql
    And according to the Windows ODBC Admin screenshot you created a DSN called testmysql - unfortunately you created it as a USER DSN. But DG4ODBC needs a SYSTEM DSN. The reasin why it needs a system DSN is that by default the Oracle listener is running in the local system account. So when you create an ODBC USER DSN it can be access by the user who created it, but nobody else can use it - also not the local system account which is serving the Oracle listener. So you need to create a system DSN that every user on this machine can use the DSN (including the local system account) .
    - Klaus

  • Oracle and SQL Server Database Link errors

    I am having following error messages while setting up the ODBC connection. I want to access SQL Server tables from within Oracle8i. I have followed all the instruction of Oracle Generic Connectity document and have tested ODBC connection with ODBCPING as well as with TNSPING. Have created Database Link also within Oracle for SQL Server. But when I access the SQL Server table from within Oracle I get the following error messages.
    ORA-12500: TNS:listener failed to start a dedicated server process
    Could any body suggestion the solution please.
    Thanks and regards,
    Ghulam Mallah

    There is a Heterogenous Services/ Generic Connectivity forum that is probably going to have a lot more people familiar with these issues than you'll find in this forum. I would suggest posting over there.
    Justin

  • 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

  • OWB-Location for Sybase is defined through database link but not working.

    Hi,
    HS details are configured and database link from oracle to sybase database is working fine. In OWB, table list of sybase database is also displayed. Location defined for sybase database through connector which refers to database link created from oracle to sybase. While defining location on clicking of "Test" it gives result as successful. But when validation program is run for that location, it gives error that validation failed, specify correct host name, port number etc.. now, i am not able to solve this as database link is working fine and it is displaying list of table from sybase database. All the heterogeneous settings are done. I tried but sybase database doesn't allow direct connectivity so i define the location using connector which points to database link. Is there any thing missing in the setting of HS and do sybase allow connectivity direct from owb ?
    Please help.
    (If problem is not clear, please spare time to ask a question, i will reply immediately.)
    With Regards,
    Amit Shah.

    Amit - did you get anywhere on this?

  • Database link from Oracle8i to Oracle9i

    Hi,
    I am trying to create a database link from an oracle 8i database to connect to an oracle 9i database ... When testing the connection , I always receive an error "The Database link is not active"
    Notes
    1- Creating a database link that connects from the same 8i database to another 8i database succeeds. This gave me the impression that it is a compatibility problem but I am not sure.
    2- I changed the initialization parameter
    global_names = falseand restarted the Oracle database
    3- the 2 databases are on the same domain
    Did anyone pass through this problem before ??
    thanks

    Well, I was testing the database link via DBA studio and there was no ora error associated with the message.
    A friend helped me to identify and sove the problem. here is what he did.
    Lets assume that the oracle8i database called Ora8i
    and the oracle9i database called Ora9i
    and that the network domain name is OraTest.com
    When i select * from global_name; on both databases
    Ora8i database return ==> ora8i
    Ora9i database return ==> Ora9i.us.oracle.com
    We then execute the following statement on Ora9i database
    alter database rename global_name to Ora9i.OraTest.com;
    Testing the database link after that went fine.
    Thanks

Maybe you are looking for

  • I need a vi converted from LabVIEW 9.0 to 8.6 or 7.1

    I have a few vis that need to be saved to an earlier version. These are in version 9.0 and I need them in 8.6 to open them. It would be better if I could get them in 7.1. Solved! Go to Solution. Attachments: Grab_continuously_new.vi ‏380 KB Mikrotron

  • Issues Consuming ADF portlet in Webcenter

    Hi, We created an ADF page in the portlet producer and created a portlet entry. We used a webcenter consumer to consume the ADF portlet from the portlet producer. On running the webcenter consumer the page is displayed as desired but on performing an

  • HP Deskjet 3520 e-All in one printer trouble with scanning network, connection and very slow print

    Dear all I bought two days ago HP Deskjet 3520 e-All-in one printer serie, but i have some really bad issues with the scanner! I have searched on the internet and i couldn't find anything to solve the problem.  I have installed the printer according

  • Illustrator files aren't previewing properly in Bridge CS3

    I have used bridge for ages and have never had this problem before. However I recently had to reinstall CS3 design suite and now illustrator files wont preview properly - they appear really small and instead of previewing just the art board (as it us

  • HP w1907v

    Hi, When I start my computer my monitor says VGA imput: NO SIGNAL  or something and after goes to sleep. I dont know my computer specs, but when I connect my monitor with my laptop the monitor works can someone tell how to fix it. My PC uses windows