Failover not working while connecting to Oracle 11g database

Hi,
We have a J2EE application that connects to Oracle 11g database.
The connection URL we are using is as below
jdbc:oracle:thin:@(DESCRIPTION =(SDU=32768)(ADDRESS=(PROTOCOL=TCP)(HOST=abc.hostname.com)(PORT=1525))(ADDRESS=(PROTOCOL=TCP)(HOST= xyz.hostname.com)(PORT=1525))(CONNECT_DATA=(SERVICE_NAME=PQR)))
The issue that we are facing is, the database failover is not working.The application only connects to the first host in the TNS entry.Evertime there is a failure in the connection to the first host,manual steps are required to swap the hosts.
This started happening after we upgraded Oracle DB from 9i to 11g.
We are using the client jar of 9i to connect to 11g. Could this be causing the problem?
Thanks In Advance.
-Tara

889517 wrote:
Yes, you are right. Nothing else was updated.
The application still works as expected except the failover.If you are correct then I seriously doubt it has anything to do with java. It would be something to do with Oracle and/or network infrastructure.
If not then it is some small problem with the driver. You can try updating the driver but I wouldn't expect a fix.

Similar Messages

  • Not able to connect to oracle 11g database source through OBI Server

    Hi,
    I am having an issue regarding the database connectivity.
    Iam unable to connect to the oracle 11g database through OBI server. However its connecting through SQL Plus with same username/password@hoststring. Its giving the error as :
    [nQSError: 17001]Oracle Error code:1017,message:ORA-01017: invalid username/password; logon denied at OCI call OCILogon
    [nQSError: 17014]Could not connect to Oracle database.
    Please help me out in resolving the issue.

    If it's working in one place and not the other then it's obviously not an OBIEE problem.
    Are you typing it in right??
    Do you have multiple tnsnames.ora files pointing to different databases, maybe sqlplus is picking up one and toad & OBIEE the other and so the username/pw is wrong for that database?
    There's a limited amount that can be said to help, as the error is 100% clear what the problem is :) it's just working out whether you're connecting to the database that you think you are connecting to, and then whether the username & PW you're entering is correct for that DB.
    BTW OBIEE 10.1.3.4 is supported with 11g, and we're using it without problem here.

  • Forms 6i is not connecting with Oracle 11g database?

    Forms 6i is not connecting with Oracle 11g database?
    How to resolve this issue?

    Hi,
    Once you installed the Forms and Reports, you need to configure the paramters like tnsnames.ora in you path.
    There will be one folder in the Installation path of Forms and Reports search for tnsnames.ora file..and you need to Updated the file as per the which ORACLE Server you are connecting and then try.. it..
    Default path for forms will be "ORACLE_HOME/net80/admin".. search for tnsnames.ora and modify it..
    - Pavan Kumar N

  • Problem in sql developer while connecting to oracle 11g

    when am creating a database connection with oracle 11g in sql developer editor it s throwing network adapter could not establish the connection
    connection name test
    user name system
    password system
    Role default
    Host name localhost
    Port 1521
    SID orcl
    Can any one help me to resolve the problem?
    Thanks in advance

    Those parameters probably aren't correct.
    Is that 11g on your machine? Try to specify the real IP instead. And sure the listener is up?
    Also sure about the SID and port?
    Hope that helps,
    K.

  • Error connecting to Oracle 11g Database

    Hi All
    I am testing .NET connectivity to Oracle 11g and I am not successful for a while.
    I've tried to connect to database using library included in Oracle 10.2.0.3 Client and as a result I've got "invalid username or password" error. Then I've tried to use ORAC 11.1.0.5.10beta. I successfully connected to the server, but when I try to exec any query my program hangs.
    Both of them work correctly with Oracle 9i database.
    Also I've tried Microsoft .NET provider and it connects and executes queries fine (though 3 times slower).
    How do you think what is reason or how can I find the reason?

    Hi All
    I am testing .NET connectivity to Oracle 11g and I am not successful for a while.
    I've tried to connect to database using library included in Oracle 10.2.0.3 Client and as a result I've got "invalid username or password" error. Then I've tried to use ORAC 11.1.0.5.10beta. I successfully connected to the server, but when I try to exec any query my program hangs.
    Both of them work correctly with Oracle 9i database.
    Also I've tried Microsoft .NET provider and it connects and executes queries fine (though 3 times slower).
    How do you think what is reason or how can I find the reason?

  • Can Oracle 8.0.6 reports connects to Oracle 11g Database

    Hi,
    I know Oracle 8.0.6 report is already out of support. I want to build some environement. In this context, I want to know, where Oracle Reports 8.0.6 can connect to Oracle 11g R2 database ?
    Pl suggest me urgently.
    thanks & regards
    parag

    First of all: using the word 'urgently' is inappropriate and rude in a forum of volunteers.
    Edit your post and apologize publicly for using it.
    Secondly your question is a rhetorical one, as it's answer is:
    OF COURSE NOT
    8.0.6
    was succeeded by
    8.1.5
    8.1.6
    8.1.7
    9.0.1
    9.2.0
    10.1.0
    10.2.0
    11.0.1
    11.0.2
    NINE releases in between!!!
    Sybrand Bakker
    Senior Oracle DBA

  • Issue in Connecting to Oracle 11g Database

    Hi,
    I have installed Oracle 11g database using loopback adapter. (used ip 10.10.10.10). In the drivers file did the following entry
    ipaddress computername.domainname.com computername
    How can I connect to this database from other computer in the network ex:using sqldeveloper? (When I try it says "Network adapter couldnt establish the connection")
    Thanks,
    Ramesh

    from other computer in the network Oracle version on that computer ?
    Did you configure a connection string on that computer ? If so, please post your tnsnames.ora. If not, what did you do exactly ?
    Also, from the server post the result of "lsnrctl stat".

  • Not able to connect in Oracle 11g

    I have done the installation of oracle 11g...when i am using sql command line to connect i am getting an error "oracle initialization or shutdown in progress" what to do??
    I have provided the username as 'system' and password as the one providede during installation.Plzz help.

    Kumar_Jaga wrote:
    It may be the case, the database did not stop correctly.
    Or it could be that the shutdown is still in progress.  Perhaps rolling back uncommited transactions.  There simply isn't enough information to make an informed suggestion.
    Try out following.
    sql:> sqlplus /nolog
    sql> connect sys/manager as sysdba
    The 'as sysdba' makes the 'sys/manager' pointless.  You could just as well 'connect fubar/thisisnotmypassword as sysdba'.
    sql>shutdown immediate
    And if the previous shutdown did not work or is waiting on something, this one surely will not succeed.
    sql> startup
    sql> exit
    While startup it may show error message like some of the parameter is missing. Note down that parameter and update in initSID.ora file.
    Unless of course he's not using initSID.  Most databases don't, anymore.

  • Siri not working while connected to Audi AMI

    it turns out that I cannot fully use the features of my iPhone while
    connected to a certified car audio system (Audi Ami).
    env: iOS (10a403), iPhone 4S ,audi q5 , ami hw h07,sw 0350, Bluetooth Nokia bh-202
    issue: iphone connected to car through cable, BT paired and working for phone answ.
    action 1 (OK): press BT to wake up SIRI,it works.
    now start listening music, for the very first time after connecting the phone .
    action 2 (KO): press BT to wake up SIRI , music fades out, Siri pops up , BT 'bips' intending
                  that audio is ready, suddendly Siri closes immediately after bip just like you press BT ,
                  with no way to speech anything. The same action performed without being attached
                  to AMI works  as expected.
    action 3 (work around) : while listening music and without Siri working as described in action #2,
                activate 'Podcast' app , select an existing podcast and play it.
                you will continue to see the previous song title still on AMI display but the sound is actually your podcast
                (first little bug). now press pause/mute on the radio and press BT to wake up Siri,
                it will works.
    others: pausing/muting AMI  , switching it completely off , switching off the car while playing music
               does not workaround the problem.
    it seems that the behavior is different when 'Music' app is playing audio or when another application
    ('Podcast') is playing audio. For this reason I tend to blame Apple's software than Audi sw.
    it seems that the issue is related to the fact that the phone try to use not the BT mic to
    listening for commands but search (and fails) , for some other (car?) mics.
    I'm available for further test with some kind of debug app to produce  diag information .

    Hi ,
    In the meaning while I upgraded to 5S (IOS 7.0.4), this introduced the  Lightning-to-Dock adapter .
    I'm using the Apple's original adapter and things seems still working (I wonder) , I mean :
    +) if you are listening music, it's enough that you pause it from  AMI and kick in  SIRI with BT/HeadPhones long click
    If you do not use this WA, SIRI seems dumb , even if you use IPhone-s MIC/HeadPhones/BT .
    I guess that the AMI is keeping control of the music app and redirects the MIC elsewhere (maybe
    assuming that AMI have his own MIC) . I think that if this problem can be reproduced with another docking
    station for IPhone that access the music library directly and take control of Audio/Mic
    AMI can be definitively ruled out from this (BUG?) .
    I would call it BUG because it expected that SIRI activation should override any MIC redirections and prefer MIC/HPhone/BT.

  • DHCP does not work while connected to TC throuh ethernet

    I currently have a WRT54G router and a time Capsule. The WRT is connected to a cable modem, and the Time Capsule is connected to the router through a LAN port. The WRT assigns addresses in the range of 192.168.15.90 to .99 and the TC assigns addresses between 192.168.15.100 to .109. Connecting to the TC's wireless network works, but connecting to the TC or the router through an ethernet cable does not give an address. I have tried doing DHCP just on the router, just on the TC, and on both, and nothing seems to work, except a wireless connection. Is there a way to fix this?

    Have you set up Connection Sharing to "Bridge Mode"?

  • Error while connecting to Oracle 11gR2 database instance

    Dear All,
    I installed Oracle 11g R2 on my local machine (laptop) successfully. Using Sql Developer I tried to connect to the instance (ORCL) but not able to connect to the server. Please let me know hw to configure tnsnames.ora, listener.ora, and sqlnet.ora files. I tried to configure those three files using Net manager, but since I am novice, I could not do it..
    Here are the details of my windows services related to oracle installation..
    OracleOraDb11g_home1TNSListener (started)
    OracleServiceORCL (started)
    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
    (SID_NAME = ORCL)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (PROGRAM = extproc)
    (SID_NAME = ORCL)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tgsdl022)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
    ADR_BASE_LISTENER = C:\app\Administrator\product\11.2.0\dbhome_1\log
    tnsnames.ora
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = ORCL)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tgsdl022)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = C:\app\Administrator\product\11.2.0\dbhome_1\log
    As per my guess, entries in tnsnames.ora, and listener.ora are not appropriate. Please help to configure the correct values in those files.
    Thanks and Regards
    Santosh

    910192 wrote:
    Dear All,
    I installed Oracle 11g R2 on my local machine (laptop) successfully. Using Sql Developer I tried to connect to the instance (ORCL) but not able to connect to the server. Please let me know hw to configure tnsnames.ora, listener.ora, and sqlnet.ora files. I tried to configure those three files using Net manager, but since I am novice, I could not do it..
    Here are the details of my windows services related to oracle installation..
    OracleOraDb11g_home1TNSListener (started)
    OracleServiceORCL (started)
    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
    (SID_NAME = ORCL)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL)
    (PROGRAM = extproc)
    (SID_NAME = ORCL)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tgsdl022)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
    ADR_BASE_LISTENER = C:\app\Administrator\product\11.2.0\dbhome_1\log
    tnsnames.ora
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = ORCL)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tgsdl022)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = C:\app\Administrator\product\11.2.0\dbhome_1\log
    As per my guess, entries in tnsnames.ora, and listener.ora are not appropriate. Please help to configure the correct values in those files.
    Thanks and Regards
    SantoshError msg?

  • *Crystal Reports 2008 connection to oracle 11g database error IM003*

    Hi ,
    I am getting the following error when connecting to Oracle 11 g database using Crystal Reports 2008.
    _Logon Failed:Details: IM003:Specified driver could not be loaded due to system error 127 ( Oracle in OraClient11g).
    Datebase Vendor Code:160.
    The Login and Pw that I am using are correct.
    *Could you please let me know any steps that i need to do to resolve this problem.
    Thanks!*

    Hello,
    I haven't seen that error in years... There was a version of Oracles client that did not put the client install into the PATH statement.
    Add the Oracle ...\Bin folder to your System Environment variables and then it should work.
    Thank you
    Don

  • JDBC Drivers for Weblogic to connect to Oracle 11g database

    WebLogic Server Version: 10.3.6.0
    We had Oracle 10g database that we were connecting using JDBC data source (driver : Oracle's Driver (Thin XA) for instance connections; versions:9.0.1 and later). We migrated our database to 11g now. Is it still the best driver to connect to 11g database or should we change it to something else?

    why not using an 11 driver to connect to db 11g?
    maybe the following posting helps although is focuses on db 12c:
    https://blogs.oracle.com/WebLogicServer/entry/part_1_12c_database_and
    best wishes.
    Blog: Oracle Fusion Middleware and Cloud Computing

  • How To Connect To Oracle 11g Database From Microsoft Excel

    Hi All,
    I have Windows7 64bit installed in my laptop.
    I have Microsoft Excel 2007 installed.
    I tried connecting to Oracle database ( This is not a local database).
    Navigation used:
    Data> From Other Sources > From Data Connection Wizard > Other/Advanced > Next > Microsoft OLE DB Provider For Oracle > OK
    Now I get a pop up to enter:
    username
    password
    server
    When I enter all the required details I get this error "ORA-06413 CONNECTION NOT OPEN"
    Is there no need to give PORT number?
    Thanks,
    Vishwamber Shetty

    Hi,
    Did you install oracle client on the machine? Can you do "tnsping <SID>"? Can you connect to DB using sqlplus ?
    Try using tnsname for server name.
    Connecting to Microsoft Data Sources Through ODBC Connection  This shows how to connect using ODBC connection. I think this would be more appropriate.

  • Not able to connect to oracle 11g using toad9.6

    Hey...
    I installed 11g on Win7- 64 bit. I'm able to connect to DB using Sql*plus and cmd prompt but when i try to connect through toad, it says no client installed.
    I installed 11g with "Desktop class" option.
    any suggestions ???

    Hi,
    1. If you have installed db and toad on the same machine, then the ORACLE_HOME of the database can be used as client.
    2. But if you have installed Database on machine1 and you try to connect from laptop1 then on laptop1 client must be installed (to allow TNS communication).
    In case 1 above, check installed clients in the window (Session -> New Connection) on TOAD and make sure it is not red. And define TNSNAMES.ORA in the same oracle home listed in installed clients.
    In case 2 above, you must have to install a client to allow the communucation between toad and server.
    Thanks

Maybe you are looking for

  • How can I print all of my 2012 Creative Cloud Monthly receipts?

    Being the first 'end of year' that the Creative Cloud has seen, I am sure that I am not the only one that is trying to accesss 8 or more months worth of receipts to print out for 2012 tax purposes.  The only receipt available in the My Adobe Account

  • Output determination and output type?

    hi all, wat is meant by output determination and output type?how and y we use it? regards, keerthi

  • Bluetooth support for Windows Vista

    Since pairing my Curve 8900 with my Windows Vista laptop I have two "Bluetooth Peripheral Devices" in Device Manager that report the status "This device is not configured correctly. (Code 1)There is no driver selected for the device information set o

  • URL represents a folder or a file?

    hi guys if i have a URL how can i determine whether it represents a folder or a file? thanks in advance

  • Does Action Script 2.0 have any classes to support networking?

    Im intending to implement a flashlite 2.0 application that deals with live cam. Users are able to stream live videos via 3G using their mobile phones. Im just wondering. Is flashlite 2.0 able to achieve that>? Or should i just stick to .NET or J2ME.