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

Similar Messages

  • I was charged no my credit card for the app store and i am not able to login, i tried to use the forget password options but it isnt going through

    i was charged no my credit card for the app store registeration and i am not able to login, i tried to use the forget password options but it isnt going through
    Apple id : [email protected]

    If the old ID is yours, and if your current ID was created by editing the details of this old ID (rather than being an entirely new ID), go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I've just updated my iphone to the version 5.0 (9A334), I'm not able to create a new event in the calender, it shows "no calender"

    I've just updated my iphone to the version 5.0 (9A334), I'm not able to create a new event in the calender, it shows "no calender"

    Here you are "the strange draft logos"...

  • Not able to create a universe when using nav. att. 0MATL_TYPE in the query

    Dear experts,
    A few days ago I posted a message in the BO General Category due to this error and I was adviced to install SP19 in BW (3.5). We've allready installed it but the issue is still arising. I am posting this thread now in this category since maybe the other category was too general and this one a little bit more specified.
    The error we are having is the following:
    We are having an issue when trying to create a universe over a BEx query which uses navigational attribute 0MATL_TYPE of 0MATERIAL (0MATERIAL__0MATL_TYPE).
    No matter where do we insert this nav. attribute in the query (lines, columns, free characteristics...) that we are not able to create the universe. We receive a message when trying to create it such as "error without message"
    We have other navigational attributes from several characteristics which are not giving us any problems in universes, just nav attributes 0MATL_TYPE and a Z characteristic (ZMATPR) which is the same as 0MATL_TYPE (it is defined the same way, not related).
    We are working with:
    BW 3.5 - SP19, BEx 3.x
    BOBJ XI 3.0 (without service pack or fix pack)
    Does any one have any clue on what could be the reason for this issue??
    Thanks in advance for your interest!
    Best regards!!!!
    Cecilia

    Hello Ingo,
    First of all thanks for your help, since we are really concerned about this issue.
    We have been analysing the file you have talked us about. The thing is that a week and a half ago we had to write an OSS message to SAP concerning another issue, and we were recommended to install note 1260004 which involves editing the registry in order to show SOFA logs, and if we have understood correcty, the file you have given us modifies as well the server registry in order to show sofa logs.
    Does the file you have given us includes new information in the SOFA logs, what is the difference between what we have changed with the SAP note and what you have given us?
    Nevertheless, we have retrieved two logs from two executions (having navigational attribute 0MATL_TYPE in the query from which we want to create the universe) in case you could help us to interpret the informations given since we are not able to understand it. (You can seen them below my signature.....haven't find a way to attach files....sorry....)
    Thank's very much in advance for your help!!!! This is so disconcerting.......
    Best regards!
    No way , I cannot copy the logs since the message format is destroyed when I copy it..... If you need it please inform me and we will send it to you!
    Thanks again for the help!!!
    Cecilia
    Edited by: Cecilia Guerra on May 11, 2009 1:56 PM
    Edited by: Cecilia Guerra on May 11, 2009 2:09 PM

  • Tool to create Java Object classes using the Database Tables

    Hi,
    Is their any tools or utility available to create the Java Object Classes using the Database Tables as input.
    Lets Say I am having the Employee, Employee_Salary tables in the Database.The utility has to create the Java Object classes with the relation.
    Please Help...
    Thx..

    Hm, for generating regular Java classes I wouldn't know one from memory. But I suggest you start searching in for example the Eclipse marketspace for a third party plugin that can do it. If all fail, you could always use Hibernate Tools from the Jboss Tools Eclipse plugin set to generate Hibernate/JPA entities and then strip the annotations from them to turn them into regular POJO classes.
    How many tables are we talking about anyway? It might be less effort to just create the classes with properties and then use an IDE to generate getters and setters for them.

  • 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

  • How do I a smallint SQL database value using the Database tools?

    I'm using the Database Toolset with Labview 7. I'm building up a parameterized Query to a Stored Procedure in my SQL Database. It doesn't appear that smallint output types are supported because zero is always loaded into the variable.
    Is this correct? I'm I doing something wrong?
    Feedback welcome... thanks!

    It's probibly not an issue with datatypes since LV has far more datatypes than most databases. What exactly are you trying to do? Are you getting the 0 when running the stored procedure? Could you perhaps post a bit of code (LV and SQL) that demonstrates the issue?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Not able to create XML from an existing relational database

    Hi,
    I am trying to create and xml from an existing relational database. I am not able to get any XML data, I receive "XMLTYPE()" as the result.
    Here's the query -
    SQL> select o.order_id, XMLELEMENT("order", XMLATTRIBUTES(o.order_id as ID)) AS "result" from order_
    info o where order_id=2793;
    ORDER_ID
    result()
    +2793+
    XMLTYPE()
    I was expecting to get +<order id=2793 />+ instead of XMLTYPE().
    I am using -
    SQLPlus: Release 9.0.1.0.1*
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    I have also run some checks to confirm XML DB installation -
    SQL> select 1 from all_users where username  = 'XDB';
    +1+
    +1+
    SQL> desc RESOURCE_VIEW;
    Name                                      Null?    Type
    RES                                                SYS.XMLTYPE
    ANY_PATH                                           VARCHAR2(4000)
    RESID                                              RAW(16)
    I think, I have something wrong with installation or configuration.
    Any idea about what have I done wrong here?

    Works fine now. Got the result "<order ID="2793"></order>".
    Thanks. :-)

  • Not able to create Remote Delta Link from Producer content to Consumer.

    Hi everybody,
    I am trying to create a Remote Delta Link from producer content (EP Version 7.0 SP15) to consumer (EP Version 7.0 SP15).
    I have achieved the following FPN settings/configuration:
    SSO Connection in both direction
    Connection test is done successfully
    Producer registration done successfully
    The user is existing in both portals (Producer and Consumer)
    But unfortunately I am receiving the following RDL copy and paste error message:
    *Could not create remote delta link
    Could not connect to producer portal. Please check that the producer portal is running, there are no network problems, and your consumer settings for the producer are configured properly.*
    The producer is running.
    There are no network problem
    and the setting are correct.
    Regards,
    Nagaraju

    Hi Nagaraju,
    did you solve this problem? I get the same error message and no hints in the log/trace files in both portals.
    Kind regards
    Gerd

  • Qosmio X770: Not able to create 3D pictures/videos using Web Camera 3D V1

    I am unable to record 3D images or video with the integrated Toshiba Web Camera 3D V1 on my X770 11C 3D laptop !
    The 2D recording is normal.
    Have I to install additional softwares for 3D recording?
    Message was edited by: jacques.vsk

    Dear MASTERG
    I didn't find the program or application to test the webcam .
    I found only the following text about the TOSHIBA Web Camera 3D V1( in the categories X775 3D series) :
    "The webcam also supports 3D playback through Nvidia's 3D Vision software. To start 3D webcam playback, enable 3D Vision, open the webcam app, and click the 3D playback option. Each time you start the app you'll be given the option of calibrating the image to change the 3D depth perception. Once calibrated, the webcam provided excellent 3D images"
    On my laptop in the NVIDIA Corporation progams I do not see any webcam app!
    I tested the camera in 2D with the Corel Digital Studio for Toshiba (not 3D).
    Perhaps I am overlooking or missing something .
    What program I need?
    Regards Jacques.vsk

  • I'm not able to create a iphoto calendar with the correct birthday entries.

    Hello,
    I use the latest Iphoto version and OS X 10.9.
    I tried to create a calendar in iphoto that includes all birthday information of my family. Unfortunately I'm not able to do this.
    I tried two differnt ways to get the information into the calendar.
    First of all I' tried to use the option of the calendar to get the information of my contacts and it partly worked. Some dates were missing and I was not able to modify or add additional birthdays in the calendar. I checked my contacts and the information was there but not shown in the Iphoto Calendar.
    Therefore I have to get the information into the calendar in a different way. For that I created a new calendar in ICal and created for each Birthday entries.
    I select the option in the Iphoto calendar to show the new calendar in iPhoto. But the result was worse than with the first solution. Only few entries was shown in the calender.
    Do anybody have an idea how can I solve this issue.
    Thank you in advanced,
    Philipp

    First of all I' tried to use the option of the calendar to get the information of my contacts and it partly worked. Some dates were missing and I was not able to modify or add additional birthdays in the calendar. I checked my contacts and the information was there but not shown in the Iphoto Calendar.
    Do the birthdays (from Contacts) show correctly in the Calendar app? Sometimes there is a formatting problem with the date string in the Contacts. If the Birthdays do not show correctly in the Calendar.app, try to delete them from Contacs and enter them again, and check, if they now are showing correctly in Calendar. Quit both Contacts and Calendar.
    Then restart iPhoto, and in the "Settings" for your Photo Calendar disable the Birthdays option, and then turn it on again.
    Any changes you do to the birthdays in Contacts may only appear in iPhoto Calendars after Calendar or Contacts wrote their databases, and iPhoto will read these databases, when you enable the "Birthdays" option. Toggling this option on and off will ensure, that the new Contacs info will be read.
    -- Léonie

  • Creating a custom link using the Action Wizard

    Hi everyone! I hope someone can help me.
    I would like to create an action, using the Action Wizard, to make custom links. I work with extremely large PDF documents at a major airline. I am in charge of watermarking and linking all support manuals for the airplanes. We have a custom watermark that we apply to particular pages, and also link them to updated pages on our own private server. I think the linking process could be made faster with a custom action.
    Currently I use this code:
    app.launchURL("CODE", true)
    The "code" is the web address of the document online. This works fine, however, I still have to click the link button, reposition the link, and edit the code for the particular page. Then I have to do that hundreds of times a week.
    I'd like a link action, where I can click one button and the link is perfectly drawn and placed in the exact location I require (this never changes; The link is always the same size and in the same location). I'd like this to work the same as my custom watermark action works. With my watermark action, I simply specified where the watermark went on the page, what type size, color, etc. using javascript. I'm hoping I can do the same thing with a link; Simply state what diminsions the link box needs to be and where it's located on the page.
    If this is possible, I'd be able to do both in one click; Apply my watermark with a link box already drawn on top of it. Then all I'd need to do is edit the link with the web address of the file I'm linking to.
    I hope this makes sense. Any help would be appreciated!
    Matthew~

    Okay, I'm really close to what I want. If you could help me with this one little thing, I'll be golden.
    My watermark is text that says "See Supplemental Information". I'm using a script that finds words and draws a link around them. That's perfect for me, except I need to search for the entire phrase "See Supplemental Information".
    Here is my code:
    /* LINKING */
    for (var p = 0; p < this.numPages; p++)
                        var numWords = this.getPageNumWords(p);
                        for (var i=3; i<numWords; )
                                  var ckWord = this.getPageNthWord(p, i, true);
                                  if ( ckWord == "See Supplemental Information")
                                            var q = this.getPageNthWordQuads(p, i);
                                            // Convert quads in default user space to rotated
                                            // User space used by Links.
                                            m = (new Matrix2D).fromRotated(this,p);
                                            mInv = m.invert()
                                            r = mInv.transform(q)
                                            r=r.toString()
                                            r = r.split(",");
                                            l = addLink(p, [r[4], r[5], r[2], r[3]]);
                                            l.borderColor = color.red;
                                            l.borderWidth = 1;
                                            l.setAction("app.launchURL('https://website.com', true)");
    The code works if I only search for one word, but when I try to search for a phrase, it doesn't do anything. Is there a way to search for an entire phrase like what I need?
    Thanks for all your help.
    Matthew~

  • User is not able to Login from external supplier, using the WSS (ICH)

    Hi Gurus,
    The user is not able to login to the server externally from url.
    dev_icm is giving below warnings:
    [Thr 11052] IcmWatchDogThread: watchdog started
    [Thr 11309] ** WARNING => HttpPlugInInit: Parameter icm/HTTPS/trust_client_with_issuer or icm/HTTPS/trust_client_with_subject not set  => do
    not trust any intermediary*
    X.509 cert data will be removed from header [http_plg_mt. 720]
    [Thr 11309] =================================================
    [Thr 11309] = SSL Initialization  on  IBM RS/6000 with AIX
    [Thr 11309] =   (700_REL,May  3 2008,mt,ascii-uc,SAP_UC/size_t/void* = 16/64/64)
    [Thr 11309]   profile param "ssl/ssl_lib" = "/usr/sap/SCA/SYS/exe/run/libsapcrypto.o"
               resulting Filename = "/usr/sap/SCA/SYS/exe/run/libsapcrypto.o"
    [Thr 11309] =   found SAPCRYPTOLIB  5.5.5C pl16  (Jun 10 2004) MT-safe
    [Thr 11309] =   current UserID: "scaadm",  env-var USER="scaadm"
    [Thr 11309] =   using SECUDIR=/usr/sap/SCA/DVEBMGS41/sec
    [Thr 11309] =  secudessl_Create_SSL_CTX():  PSE "/usr/sap/SCA/DVEBMGS41/sec/SAPSSLA.pse" not found,
    [Thr 11309] =      using PSE "/usr/sap/SCA/DVEBMGS41/sec/SAPSSLC.pse" as fallback
    [Thr 11309] = Success -- SapCryptoLib SSL ready!
    [Thr 11309] =================================================
    HTTPS (SSL) settings are as below, i think which means that no ssl certifiacts are required.
    icm/HTTPS/verify_client        = 0
    Kindly help urgently.
    regards,
    MJ

    this is SCM system.
    SSL CA's are set.
    what should be value of the parameters?
    icm/HTTPS/trust_ client_with_ issuer or
    icm/HTTPS/trust_ client_with_ subject
    http and https ssl conections are correctly set.
    I think the SAPSSLA. pse" not found, is not the problem as the parameter icm/HTTPS/verify_ client = 0 is set, it means that no ssl certifiacts are required.
    problem is coming when the system is being accessed from externally using other secure domain name.
    the system is being accessed ok from web urs which is internal, but not external.
    for example in strust tcode  the domain name is *abc.com, which is running fine when accessing the system internally.
    but when the user is accessing this sytem from other secure login from *xyz.com, which is also the same companys domain, then the user not able to login, its showing errir.

  • Database write using the Database Adapter

    i'm using Jdeveloper version 11.1.1.3.37.55.99 - and I'm not sure that I'm doing this right but:
    I've created a database table that has 3 attributes (id, name, description).
    I've then in the soa composite created a Database Adapter to have an insert operation for the newly created database table.
    In the BPM editor - I drag a service task into the process and configure it to use the recently created Database Adapter.
    While configuring the service task - I need to map my process variables into the service task but when I go to the
    implementation->use associations->simple, in the drag and drop plan is an object called a collection. I expand the collection and I get an object named recall. If I look at my datatypes my recall object shows the three attributes from the database schema for the table. (The datatype was created by the creation of the database adapter). However, I cannot expand the object in order to map in the individual process variables for the inputs for the insert parameters.
    Am I doing something incorrectly in attempting to map the process variables to the service call?
    Thanks,
    Christopher

    Christopher,
    Use the Transform in the Implementation tab instead of the Data Association to map your input process object to the service parameter. The Transform option creates an xslt file which you can use to map the input values to the database service values.
    Heidi.

  • Not able to create a Volume Group in the oracle VM server installation

    Hi,
    I am installing Oracle VM server. In the installtion ( Partition time ), i click on create custom layout and i want to create a / partition as a logical volumn under volume group. But there is no option to create a Volume group actually. So can anybody help how to create a volume group actually and how to create a logical volume under volume group.

    user10274248 wrote:
    So can anybody help how to create a volume group actually and how to create a logical volume under volume group.LVM is not recommended in Dom0, which is why support for LVM has been removed from the installer. LVM is not cluster aware and does not support write barriers, both of which are important for a filesystem that is used for storing file-backed disk images.

Maybe you are looking for