Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6818743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:12:59+00:00 2026-05-26T21:12:59+00:00

We are currently using Spring JDBC with connection pool implementation from DBCP to connect

  • 0

We are currently using Spring JDBC with connection pool implementation from DBCP to connect to TAF supportred ORACLE 11g2 server.

connection string used is

jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS_LIST 
                     =(LOAD_BALANCE=ON)(FAILOVER=ON)(ADDRESS = (PROTOCOL = TCP)(HOST = **IP1**)(PORT 
                     = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = IP2)(PORT = 1521)))(CONNECT_DATA 
                     =(SERVER = DEDICATED)(SERVICE_NAME = **service_name**)(FAILOVER_MODE=(TYPE=select)(METHOD=basic))))

When querying v$session to verify failover type ,failover method . It is showing both to none.
enter image description here

What should be done to set failover_type and failover_method to SELECT and BASIC respectively.
enter image description here

Is there any invalid settings in connection string please suggest.
Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:12:59+00:00Added an answer on May 26, 2026 at 9:12 pm

    The 11.2 oracle jdbc documentation says
    “Transparent Application Failover (TAF) is a feature of the Java Database Connectivity (JDBC) Oracle Call Interface (OCI) driver”
    your connection string is:
    jdbc:oracle:thin:
    So in order to enable TAF you should use the jdbc OCI driver not the thin one. I never used the jdbc OCI driver but I suppose you must install the standard native oracle client or the instant client.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently migrating a project that is using Spring MVC without annotations to Spring
I am new to spring and I am currently using ClassPathXmlApplicationContext to getBean inside
I am currently building an application using Tomcat, Spring and JAVA. I am using
In my application, Spring manages connection pool for database access. Hibernate uses these connections
The web application I'm currently developing supports CSV export from (using SELECT INTO OUTFILE)
We are using Spring SimpleJdbcCall to call stored procedures in Oracle that return cursors.
I am using Oracle 9 and JDBC and would like to encyrpt a clob
I'm currently using Spring Webflow 2, and I've been writing a unit test for
I am currently developing my project using Spring, Sutruts2 & Hibernate. Now i want
I am currently using this simple code to try to connect to my database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.