How to configure TAF on RAC 10g

Hi,
I am facing issue with TAF over jdbc client. I have created the jdbc client (HelloWorld java program) to test TAF.
The following is my jdbc url:
"jdbc:oracle:thin:@(DESCRIPTION = (LOAD_BALANCE=on)(FAILOVER=on)(ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=10.77.242.35) (PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=10.77.242.55)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=dcnm)))"
Simply, i have created the connection through jdbc and put sleep in my code, meanwhile i down one of the db instance, then client code wake-up, but the connection is not failed over to another db instance. Please see below my tnsnames.ora file :
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DCNM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dc3-linux1-vip.cisco.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = dc3-linux5-vip.cisco.com)(PORT = 1521))
(LOAD_BALANCE = yes)
(FAILOVER = true)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dcnm)
*(FAILOVER_MODE =*
*(TYPE = SELECT)*
*(METHOD = BASIC)*
*(RETRIES = 180)*
*(DELAY = 5)*
DCNM2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dc3-linux1-vip.cisco.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dcnm)
(INSTANCE_NAME = dcnm2)
DCNM1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dc3-linux5-vip.cisco.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dcnm)
(INSTANCE_NAME = dcnm1)
LISTENERS_DCNM =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dc3-linux5-vip.cisco.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = dc3-linux1-vip.cisco.com)(PORT = 1521))
Please give me your solution, if i missed anything in my conf.
Thanks
Edited by: Anandhan on Jul 27, 2009 12:38 AM

about jdbc thin + TAF
Oracle 10g JDBC/THIN Driver does not support TAF. TAF is only supported by the JDBC OCI driver.
http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/ocitaf.htm#BABGIDEE
http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/ocitaf.htm#BABGIDEE
Transparent Application Failover (TAF) is a feature of the Java Database Connectivity (JDBC) Oracle Call Interface (OCI) driver. It enables the application to automatically reconnect to a database, if the database instance to which the connection is made fails. In this case, the active transactions roll back.

Similar Messages

  • How to Configure Webutil in Oracle 10g Developer Suit

    Dear All,
    How to Configure Webutil in Oracle 10g Developer Suit.
    Please give me the step by step solution.
    Thanks and Regards,
    Fazil

    This is a very frequently asked question. Searching the Forum or the Forms Help system would have given you your answer! Search Forms Help on "Configure WebUtil" and read the configuration guide and checklist articles.
    Craig...

  • How to configure Webutil in Forms 10g

    Hi
    how can i configure webutil in forms 10g to execute Host command from client machinee..
    Thanks & regards

    check this
    http://www.oracle.com/technology/products/forms/htdocs/webutil/WebUtilFAQ.htm
    Rajesh Alex

  • Regarding Hangcheck timer configuration in Oracle RAC 10g r2 installation

    Hi,
    Is it necessary to configure hangcheck timer in Oracle RAC 10g R2 installation .
    Can somebody guide when we should install the hangcheck timer in Linux oracle 10g R2.
    Best Regards
    Gupteswar Prasad Mishra
    Edited by: Gupteswar on Jan 25, 2010 8:42 PM

    yes, its recommended to configure hangcheck timer in RAC configuration
    Configure the Hangcheck Timer
    The hang-check timer is loaded into the Linux kernel and checks if the system hangs. It will set a timer and check the timer after a certain amount of time. There is a configurable threshold to hang-check that, if exceeded will reboot the machine. Although the hangcheck-timer module is not required for Oracle Clusterware (Cluster Manager) operation, it is highly recommended by Oracle.
    cat /etc/rc.local
    modprobe hangcheck-timer hangcheck_tick=1 hangcheck_margin=10 hangcheck_reboot=1

  • How to configure Oracle forms/reports 10g to Oracle Database 10g

    Dear All,
    I have downloaded oracle Developer Suite 10g for microsoft Windows (CD1/CD2) from edelivery.oracle.com.
    I have also downloaded Oracle 10g xe edition from oracle.com.
    Both above software are on the same machine.
    Now, I have creaated new database, created few tablespaces,tables,indexes,functions etc on it. SID_NAME=xe.
    I want to configure both the software(connect them) so that i can generate some reports, create forms and applications(on the same machine not on network).
    How do i do that?
    Best Regards,

    did you set tns_admin? do you know what it's for?
    don't edit tnsnames.ora manually if you can help it.
    you have 2 tnsnames.ora. one is from the xe install. the other is from the developer suite install.
    what does the one for your developer suite look like?
    if you used the the network config assistant in a straightforward way, then it should end up with an entry similar to what you have in your tnsnames.ora from your xe installation.
    the netconfig assistant has a TEST step in it. did you try that? you might need to change the username/password when you test it.
    the main thing here is the tnsnames.ora. the way it will be located is in a particular order. it will check in this order, more or less
    1. in current working directory
    2. TNS_ADMIN defined by the session
    3. TNS_ADMIN defined as a global environment (in control panel)
    4. TNS_ADMIN defined in registry
    5. default location (network\admin directory).
    so if your developer says it can't resolve the name, then it means it is not defined in the tnsnames.ora it used. you need to determine which tnsnames.ora file it's using, and is it configured correctly.
    if you did not set tns_admin, check your E:\DevSuiteHome_1\NETWORK\ADMIN\tnsnames.ora
    this is the one developer will use by default.
    it should have an entry similar to the one from your xe install e.g.
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oraclelaptop.yic.edu.sa)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = XE)
    then when you run forms/reports, you should connect as user/password@xe

  • How to use "csscan" on RAC 10g environment

    Hi all,
    I have a 10g RAC database whose character set is US7ASCII, and needs to converted to WE8ISO8859P1.
    I need to run "CSSCAN" to get the information regarding possible issues for this charset conversion.
    Per Oracle Doc, cluster_database should be set to FALSE before running CSSCAN & CSALTER.
    For the time being, I only need to run CSSCAN to analyze charset convertion factivility (I will not
    run CSALTER).
    My concern is if the setting of cluster_database=false and the bounce of the instances can be avoided
    having into account that I will not run CSALTER.
    I will aprecciate your replies.
    thanks
    Gustavo

    CSALTER is the one who demands cluster_database=false, so you can use CSSCAN without setting this parameter.
    Enrique

  • How to configure Connection pooling in 10g AS for OCI client

    Oracle Version: 10.1.3.1
    Operating System: HP UX B.11.23 64 bit OS
    Hello everyone,
    In my connection pools setting of 10g Application server Control my application currently uses JDBC thin client. I need to move to OCI driver. My application uses JDBC 3.0
    Can someone please help me out with the steps?
    Thanks & Regards,
    Prashant

    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html

  • Enabling oracle TAF on RAc environment

    Hi everybody.
    We are using Oracle 10g with RAC and ASM, i'm in testign phase now and i test if the one node is down automatically database connexion will use the other node. Note that we have only 02 nodes. For doing that i ahve seen to a documentation by creating CRM service to enable TAF (Transparent Application Failover). I've created TAF service from Netca and i have the crm service in my tnsnames node1. But when i run the following command:
    SQL> show parameter service
    i should have
    NAME TYPE VALUE
    service_names string devdb, CRM
    but in my case i have only
    NAME TYPE VALUE
    service_names string devdb
    If any one can tell me why CRM service doesn't appear or how to configure TAF exactly.
    I'm running oracle database 10g release 2 on HPUX v11.23 using RAC and ASM and HP ServiceGuard.
    Thanks for your help
    regards
    raitsarevo

    RAC One Node in 11g still requires the RAC licence option ! (unless you are running Standard Edition !)
    All major hardware vendors (IBM, HP, Sun etc) have had clustering solutions.
    SunCluster can be configured to allow "failover" of an Oracle Database Instance from one node to another.
    The database instance has to be on Shared Storage.
    SunCluster, itself, is a separately licensed product available from .......... Oracle now !
    Hemant K Chitale

  • Configure webutil in forms 10g

    Hi all,
    can anybody help me how to configure webutil in forms-10g (10.1.2)
    software config:
    OS: windows XP
    same system is itself application server
    Forms: oracle developer suite-10g
    database oracle 10g
    and i installed java 1.6.30
    while i am trying to sign the webutil following error is occured
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
    Generating a self signing certificate for key=webutil2...
    ...successfully done.
    Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\form
    s\java\frmwebutil.jar.old...
    1 file(s) copied.
    Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    plese help me how to resolve this

    nagaraj wrote:
    Hi all,
    can anybody help me how to configure webutil in forms-10g (10.1.2)
    software config:
    OS: windows XP
    same system is itself application server
    Forms: oracle developer suite-10g
    database oracle 10g
    and i installed java 1.6.30
    while i am trying to sign the webutil following error is occured
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
    Generating a self signing certificate for key=webutil2...
    ...successfully done.
    Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\form
    s\java\frmwebutil.jar.old...
    1 file(s) copied.
    Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    follow this
      Open a DOS command prompt.
      Add C:\DevSuiteHome_1\jdk\bin to the PATH:
         set PATH=C:\DevSuiteHome_1\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         C:\DevSuiteHome_1\forms\webutil\sign_webutil C:\DevSuiteHome_1\forms\java\frmwebutil.jarhope this will help you
    If someone's response is helpful or correct, please mark it accordingly.

  • How to configure Oracle 10g RAC on windown sever 2003

    hi all
    plz tell me
    how to configure Oracle 10g RAC on windown sever 2003 can any body help me , give be any link
    plz it is very necessary for me
    Regards

    Hello,
    There are a good doc written by Philip Newlan at www.jobcestbon.com/oracle/RacOnWindows.pdf
    Regards,
    Rodrigo Mufalani
    http://mufalani.blogspot.com

  • How to restore a single instance database to RAC (10g) using RMAN ?

    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    Does anyone can help with this documentation or a link about any information about this restore using rman ?
    I tryied found on metalink but threres isn´t this specific case. Only how to convert single instance to 10g RAC, but without how to use with rman information.
    System: Windows 2003
    Oracle 10g R2
    Thanks.
    Wander(Brazil)

    Wander(Brazil) wrote:
    Hi all,
    I have a single instance database configured using file system in a unique server, so now I need to restore this database using RMAN to a new RAC environment with two nodes and ASM also.
    In essense you are really doing nothing more than restoring a backup on a new host. If you want a blow by blow detail of how to accomplish it take at http://www.oracledistilled.com/oracle-database/restore-database-to-another-host-using-rman
    In order to write the files to the ASM Disk groups you will use the SET NEWNAME FOR DATAFILE in your restore script. You will also need to create the ORACLE_BASE/admin/<DBSID> structure on all of node. Once you get the database completely restore you will need to edit the SPFILE to include the proper value for the CLUSTER* parameters and each the node specific parameters. Sorry that it is kind of higher level than what you are probably looking for but the link above and what I put here should get you were want to go.

  • TAF Service in RAC 10g

    Hi Experts,
    i need your guidance. actually we have oracle 10g (10.2.0.4) RAC running with three nodes on AIX6.1 64bit. and TAF service is not configured. problem is this, when one of three node get down due to any reason, say for maintainence. then client are still trying to connect with down node. and when they try to connect with down node then they face delay in connection. below is the service that is being used in client side.
    orcl =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1_vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node2_vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node3_vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 5)
    1- question is why client go to down node and face delay in connection.
    2- we should configure TAF service to overcome this ? what is the function of TAF service if any recommended MOS or other doc is available please share it
    regards,

    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1280
    On Metalink/MOS there's doc [ID 334471.1] amongst others, but just do a search on 'TAF' yourself and you'll find many articles.

  • How to configure Oracle Enterprise Manager for ASM RAC Database ?

    Dears,,
    We have two databases (Primary & Standby), each database has two instances
    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    How to configure Oracle Enterprise Manager for this environment ?
    I need documentation for this please.
    Many thanks & Regards,,

    Assuming an agent is running on the servers you want to monitor,
    navigate to the Agent home page (Via setup --> Agent)
    When in the agent home page select 'Add Database'and press [Go]
    Assuming yopur database now gets recognized, select the Configure icon and enter the password for dbsnmp.
    When done, press [Ok] to return to the agent home page.
    Regards
    Rob
    http://oemgc.wordpress.com

  • How to configure oracle 10g with clients

    Hello sir i am a database user.
    I want to install an oracle 10g (Client server architecture)
    As i have a licenced Oracle 10g CD Pack.
    Pls help me how to install Oracle & how to configure its clients.
    As i have a server(running server 2003 ) in it and corresponding clients.
    Thanks
    Edited by: user10439074 on Oct 30, 2008 4:03 AM

    Read the documentation (I have given following links assuming you are running a 32 bit architecture)
    Server installations:
    http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14316%2Ftoc.htm&remark=portal+%28Books%29
    Client installations:
    http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14312%2Ftoc.htm&remark=portal+%28Books%29
    You can find the required books (if not using 32 bit architecture) from
    http://www.oracle.com/pls/db102/portal.portal_db?selected=3

  • How to configure Oracle 10g Advanced Security to use SSL concurrently with

    How to configure Oracle 10g Advanced Security to use SSL concurrently with database User names and passwords
    In Oracle Advanced Security Documentation it is mentioned that i can use SSL concurrently with DB user names and passwords. But when i configure the client certificate on the client my DB connection is getting authenticated using the certificate, which out passing user id or password.
    We want to connect to Oracle DB over SSL channel so that the data packets are not in clear text. Also we want the user to make a connection using user id and password.
    Basically we want SSL with out authentication.
    Need your expert advice

    Read the documentation (I have given following links assuming you are running a 32 bit architecture)
    Server installations:
    http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14316%2Ftoc.htm&remark=portal+%28Books%29
    Client installations:
    http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14312%2Ftoc.htm&remark=portal+%28Books%29
    You can find the required books (if not using 32 bit architecture) from
    http://www.oracle.com/pls/db102/portal.portal_db?selected=3

Maybe you are looking for

  • How to suppress the Selection Screen of Logical Database

    Hi, I am using one Logical Database for my report. I want to show my customized selection Screen. How can I hide the Selection Screen of Logical Database?

  • Oracle shutdown or initialization in progress

    Dears! I have installed 9iAS+8.1.7 on the same machine.9iAS & database was working.For any reason we changed the IP address of the machine and restart the machine.Again we change the IP address to the original one when 9iAS+database was installed,aga

  • Error 25014 when trying to install Lenovo Thinkvantage Rescue and Recovery! Please help!

    Hi there! I recently restored my laptop with a general copy of Windows 7 pro 64 bit. I had to redo all the drivers and software (of course). I had installed Rescue and Recovery before but had never used it. I tried to reinstall it today and it kicks

  • Failure to login

    When i tried to log in all the accounts i have using sql plus it give me the following error Error Ora-12560: TNS: protocol adapter error any help would be appreciated tesmis

  • Installing after a crash

    When I reinstalled CS6 after a crash, it is telling me that its not genuine software. How do I reinstall?