Connect using HOSTNAME adapter with DNSalias

Hi everyone
I am trying to test hostname naming method with Instant Client and DNS aliases. According to docs I should be able to:
- on database TEST: add 'testdb.domain.com' to SERVICE_NAMES parameter
- in DNS: create an Alias named "testdb.domain.com" which points to the server where database TEST is running
- on client mypc.domain.com: connect e.g. with: "sqlplus user/[email protected]" or even "sqlplus user/pass@testdb" since it is in the same domain.
So far so good. With Instant Client 10.2.0.4.0 this works just fine. But if I try with Instant Client 11.1.0.6.0, I instead get the following error message:
ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
With a trace, I found out that Instant Client 10.2.0.4.0 converts the string "testdb.domain.com" into the connect string "(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=testdb.domain.com))(ADDRESS=(PROTOCOL=TCP)(HOST=1.2.3.4)(PORT=1521)))" after switching to the hostname adapter.
Instant Client 11.1.0.6.0 converts the same string "testdb.domain.com" into the following connect string: "(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=1.2.3.4)(PORT=1521)))" after switching to the hostname adapter.
==> So it is no wonder the listener complains about a missing service_name if the parameter is present in connect_data but with an empty value!
btw.: setting DEFAULT_SERVICE_listener on the server side didn't help and wouldn't be an option anyway.
Does anyone know why this happens? Any ideas on how to fix it?
I would be grateful for any help...
Regards
Urs

Hi,
To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
Just check this note 831162.
Also, check this PDF to install Drivers in XI,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10

Similar Messages

  • Problem with Progress DB while using to connect using JDBC Adapter

    Hi,
      I am facing Problem with Progress DB while using to connect using JDBC Adapter. I am getting the following error in auditlog file like,
    Error during database connection to the database URL  jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb 
    /devsche/i_apoext.db using the  JDBC driver "com.progress.sql.jdbc.JdbcProgressDriver" : com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL " jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb 
    /devsche/i_apoext.db "
    I tried using the following all URLs,
    1. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.       
    2. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.db     
    3.                                                      
    jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb 
    /devsche/i_apoext.                                      
    4.                                                      
    jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb 
    /devsche/i_apoext.db.                                  
    Can anyone please help me out in solving this issue.
    May be the cause for this is :
    1) The Wrong URL  format
    2) CLASSPATH is not setted properly..
    Can you look more into this stuff.
    Thanks,
    Soorya.

    Hi,
    To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
    Just check this note 831162.
    Also, check this PDF to install Drivers in XI,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10

  • Problem with Send using JMS Adapter with Websphere MQ

    Hi,
    We have two scenarios using JMS Adapter with MQ:
    1. File->PI->MQ
    This works fine and drop the file in MQ correctly.
    2. MQ->PI->File
    This gives an error reading from the queue: (see highlighted in the log below). It correctly connects to the queue name. But it fails with the message "Could not begin a AF transaction".
    Our PI version is 7.0 SP 13
    Websphere MQ Version 6.0.
    Any idea what could be wrong?
      Cluster Node  Administration Information  Availability Times
    Cluster Node Details for Channel CC_JMS_MQ_Sender
    Short Log 
    In the Last 4 Hours Server 0 15_92786
    _Sucessfully connected to destination 'queue:///MMPP.PLM.FGH41? CCSID=37&targetClient=1'_
       Line 1 / 1
    Processing Details for Cluster Node Server 0 15_92786
    Type 
    Time Stamp 
    Message ID 
    Explanation 
    9/2/08 2:27:28 PM 2e6206f0-7925-11dd-bc02-0003bae50b4d Error while processing message '2e6206f0-7925-11dd-bc02-0003bae50b4d';  _detailed error description: com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Could not begin a AF transaction: TxManagerException: Unable to open transaction: com.sap.engine.services.ts.exceptions.BaseSystemException at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:103) ..._  
    9/2/08 2:27:28 PM 2e6206f0-7925-11dd-bc02-0003bae50b4d XI message ID corresponding to JMS message with ID 'ID:414d512071736431202020202020202047d9462024028b02' will be created as a new GUID with value '2e6206f0-7925-11dd-bc02-0003bae50b4d'
    Amith Dharmasiri

    Checked the drivers installed in :
    /usr/sap/<SID>/DVEBMGS<SYSNO>
    /j2ee/cluster/server0/bin/ext/com.sap
    .aii.af.jmsproviderlib
    They are available and properly added to aii_af_jmsproviderlib.sda.
    The drivers are:
    CL3Export.jar
    CL3Nonexport.jar
    com.ibm.mq.jar
    com.ibm.mqjms.jar
    connector.jar
    dhbcore.jar
    rmm.jar
    These were installed per OSS note 747601.
    Any other suggestions, why retrieving from MQ doesn't work?

  • How to use File Adapter with hierarchial Structure?

    Hi,
    How to use File Adapter with hierarchial Structure like..
    Data:
    --Header Details:
    Line Item Details:
    Data
    Bcoz I am getting a Flatfile in a hierarchial way as shown below.
    Header Details :1
    Line Item a
    Line Item b
    Header Details :2
    Line Item c
    Line Item d
    Kishore

    Hey Kishore,
    In order to create a structure you need to use the file with convertion mode on the sending communication channel of the file adapter.
    check the link for the needed configuration paramters.
    If the structure is more complexed you can use the Contetnt master(CM) from itemfield which allows to ceate XML file from complex flat files and more.
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm">File sender adapter</a>
    If you have any question i'll be more than happy to assist.
    Nimrod Gisis

  • Using Power Adapter with surge suppressor

    I have been experiencing a new issue with my new Powerbook: I have been connecting my Powerbook G4 to a APC laptop surge supressor that I recently purchased. Now several weeks later I am noting that some time after I start up the computer that the light on the connector at the computer has gone out and unknowingly the computer has been running on battery instead of AC power (I am more observant now). Today I connected the power adapter directly into the AC outlet and thus far everything is going fine = light is green on the AC adapter connector. Is a surge protector necessary or desireable with the Apple AC connector. I am suspicious that the surge suppressor is very sensitive to power line "noise" and essentially shuts the power off to the computer. I thought others may have experienced the same as I have or be interested in this type of problem.
    Milton in Florida

    I think that your serge protector is faulty. I, like the other responce, recomend the belkin products for portable computing.
    The use of a power protection device is recomended for all electronic devices. I have been using a serge protector with all my computers (desktop and laptop) for a very long time. I had a protable serge protector that did the same thing a few years ago and found that is was faulty and the company repaced it free of charge. If you have not had the serge protector for very long you should be able to return it to the store that you bought it from for an exchange. If you have had it for a while then contact APC and use the warienty.

  • Using converter/adapter with macbook extension cord'

    I'm taking my macbook to the u.k. and want to know if i can use just an adapter with the magsafe extension cord. I already have an adapter for the the magsafe cord but may need to use the extension cord as well.

    Yes you can just use a plug adapter. It will work fine either way.

  • RE: Rollback while using DB Adapter with toplink

    Hi All,
    I am using DB Adapter's Toplink to insert data in ms-sql table.
    In case, If I am inserting 10 records and suppose after 6 record insertion is being failed.
    Then in above scenario, Is previously inserted records would be roll backed or not?
    Is there any thing, we need to do in BPEL or this would be taken care by Top link.
    My version of BPEL: 10.1.3.4.0
    Thanks in advance.
    Regards

    Hi Pavan,
    Thanks for your response. My process is Asysc. I did one poc, tested if a data of one record is wrong, then it throwing error, and data is not being inserted in data base.
    I tested with 4 records, if data of any records is wrong, then it is not being inserted.
    Is there any other good way to handle this.
    Regards
    Edited by: vikky123 on Sep 22, 2010 8:43 PM

  • Using HTTP adapter with no namespaces

    Hi,
    Is there anyway to use HTTP adapter when the provider does not accept the namespaces. The HTTP binding wizard requires a targetnamespace to be defined in the request and response xsds that we have to use.
    Thanks & Regards
    Siva

    Bernd we are trying to do the same thing only with the soap adapter.  I'm convinced that no one really knows how to do it.  We can't even find an SAP CONSULTANT that has done it .. at any cost!
    If you hear anything good .. please let me know - my email is [email protected]
    I think the nightmare is coming in because when SAP bought the j2ee ( application server ) they never really have integrated it so it's very confusing if the settings need to be done on the ABAP side or the J2EE side via visual administrator.  In addition most Basis guys are only experienced in the ABAP side and not the J2EE.

  • Using JMS adapter with J2ee native queuing system

    Hi there,
    As far as I have understood J2EE contains it's own native queuing system (JMS). Since the J2EE is part of the WAS, shouldn't it be possible to somehow use XI's JMS adapter in conjunction with this native JMS?
    I've tried to search many places in many ways, but haven't been able to find any info. Is it possible at all?
    Hope, some of u guys can help out there:-)
    Regards,
    Daniel

    Hi Keith,
    It looks as if you are in the same situation.
    We have this working very nicely now and I'm happy to share. In fact I was just granted wiki permissions so I can add the information there along with screen shots.
    Informaiton on this configuration is very scattered but I imagine many people would find it useful for integrating with Mainframes without adding any complexity to the legacy environment. Let me come back to you with some more inormation, but for now you can get started with this:
    Insert a module as the 3rd line in your Module Processing Sequence to use AF_Modules/MessageTransformBean and give it a key in order to associate with the parameters you will need to type in below. These parameters are very similar to normal XI File adapter parameters.
    SAP Note 793922 has more info on the parameters... not the greatest reference I know.
    Also this has some info...
    http://help.sap.com/saphelp_nw04/Helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm
    I'll try and get some screen shots up on the Wiki.

  • Using DB Adapter with XMLDB and CLOB

    Hi,
    with oracle xmldb i can store XMLs in lob or structured storage (s. Oracle® XML DB Developer's Guide 10g Release 2 (10.2) B14259-02).
    Now my question:
    If want to use a database adapter in the ESB to wake up several BPELs. Is there a functionality how i can transform such a clob into a XML where i can use XSLTs?
    The db adapter does only map each column to one xml-tag...
    If i try to use a table with xmltype the creation of a database adapter fails with:
    "some tables contain columns that are not recognized by the database adapter, so they will captured as strings:
    sys_nc_rowinfo$(sys.xmltype)
    change teh type of the above columns to that of the closest supported type...."
    Message was edited by:
    HEWizard

    Hi,
    To get it working you have to create an AQ-table with payload type xmltype. The xmltype payload data type is available on rdbms 10g and up. If you are on 9i or lower use raw data type. Create a queue inside the AQ-table. I'm not quite sure what's the best scenario for you to the queue with data, but I would imagine that you could create a database trigger on the table you're talking about and enqueue the xml-data (payload) to the AQ-table. Thus using the AQ-table as a staging table for the ESB system.
    Next, create an ESB system using an AQAdapter to dequeue the queue (like you did using a DBAdapter). The adapter can handle both single-user and multi-consumer queue's and all data types (raw, xmltype and object types).
    Messages are dequeued generally within a second after you commited the transaction.
    Kind regards,
    H

  • Using File Adapter with Logical Name

    I am creating a file adapter with Logical name. Apart from giving the Logical name is there any other configuration that I am suppose to do on the Web Logic before I start using it?
    Thanks in Advance.

    After configuring the file adapter, all you need to do is , give the path as a value for the logical name which you have created earlier. That you can do on the file adapter property inspector. There is no need to do anything on the server level. Lemme know
    Thanks,
    N

  • Does voltage output matter when using an adapter with the macbook???????

    i have a generic ac adapter modified with a magsafe plug it works fine on macbook pro i tested it
    it is 18.5 volts output 85watts
    will it work ok on macbook???

    i know that info im trying to find out if using an 18.5 volt universal adapter with a magsafe plug thats 85 watts will it work on a macbook
    will the 18.5 volt be too much.....and the 85 watts be ok
    note: this is not an apple adapter its a generic one with a magsage plug on it
    please dont tell me what is recommended tell me if it will work or not
    recommndations are just money making lies from manufacturers to make money

  • Using Video Adapter with eMac

    I've searched all over and cannot find any information on this, so any help would be greatly appreciated.
    I would like to send video from my eMac to my TV. I purchased the Apple Video Adapter and an RCA cable. I have the adapter plugged into the computer, and the cable plugged into the adapter and the TV. I restarted the computer. The TV (on its video setting) shows static with the adapter plugged in; if I take it out, it goes black, so clearly some signal is passing through. However, I cannot figure out how to get the eMac to recognize the new "display".
    The discussions on the subject mention using a "detect display" fuction. I don't see anything called "detect display" in the display preferences. I do have it set to show the displays in the menu bar, and the drop-down menu only shows the eMac and its resolutions. The preferences, also, only gives me the info for the eMac.
    Am I missing something? Is there a setting I need to change? Should I assume the adapter is defective (I gather this has happened to others)?
    Thanks in advance for your help!
    eMac 700 MHz   Mac OS X (10.4.3)  

    I don't think the problem is at the TV's end, as it's clearly getting some sort of signal on the video setting I'm using (there's static when it's connected to the computer, and nothing when it's not). The problem is that the computer doesn't see that it's connected to another display.
    Something I realized, comparing computers (we also have a Mini)--the Mini's display preferences window has a "detect displays" button that the eMac's doesn't. They're both running 10.4.3. Any ideas (anyone?) why the eMac's missing it?
    Thanks again!

  • Using Firewire Adapter With iPod Classic 80gb

    I have an iPod Classic, 80GB. I have a car adapter that uses a firewire cord. The firewire plugs into the lighter and then the other end plugs into the iPod. Can I use the firewire even though the iPod came with the usb cord? Just wondering as the wall plug adapter that i have has the firewire slot, too.

    The firewire plugs into the lighter and then the other end plugs into the iPod.
    I'm not sure what you mean by that. No firewire cable I've ever seen plugs into the car's cigarette lighter socket.
    What exactly are you trying to do? If you are simply trying to charge the iPod via the lighter socket, then a firewire connection has nothing to do with it.

  • Can I use an adapter with the output stats: 5.2 volt and 1.0 amp for my iPod Touch 4g?

    Hello, I bought an iPod touch from apple store. I got the cable with one part to the iPod and the other USB. But i didn't get an adapter to make it possible to connect the USB to an adapter and then into the wall jack.
    So I had one at home with these stats: 5.2 volt and 1.0 amp. Can I use it to charge the iPod Touch or is it "unhealthy" for the battery?
    Kind Regards
    Kiwiii

    It shuld be fine. It is within the tolerance for USB 5 Volts.

Maybe you are looking for

  • I want to compile apps schema in oracle applications production.

    Hi, Is there any care that must be taken to compile apps schema using adadmin in production. With Regards GNVMK

  • Windows 8 Compatability

    I am running Windows 8 Release Preview-Evaluation Copy. Build 8400. Is Firefox compatible with Windows 8? For weeks now, I have been having a problem with downloads and delays. On fresh install, I have decent speeds, but after a day or two, speeds bo

  • How do I get back the last version of FF before FF4.

    I installed FF 4 yesterday and have had nothing but problems since then..first I noticed that some addons were disabled So as a solution I went looking for upgrades to the disabled addons and could not find any, then I noticed that I had limited func

  • Changed my e-mail in my apple id

    I changed my e-mail and I want to replace it at my APPLE ID and I get a message that it has been used and I can not find any APLLE ID my e-mail owned

  • CS4 for Windows 8.1

    I own CS4 and would like to install it on my new Windows 8.1 computer...is this possible? Are there updates that I can download so it is compatible?