Java. SQL. SQLException: IO Exception: End of TNS data channel

Source: Internet
Author: User

Error "IO Exception: End of TNS data channel" When Connecting with Multiple ADDRESS_LIST. (Doc ID 750796.1) To Bottom Modified: 28-Aug-2012Type: PROBLEMStatus: PUBLISHEDPriority: 3 Comments (0) In this Document Symptoms Changes Cause Solution References Applies: JDBC-Version10.2.0.3 and laterInformation in this document applies to any platform. * ** Checked for relevance on 28-Aug-2012 *** Symptoms W Hen connecting using a JDBC/thin 10.2.0.3driver using the following URL: String thinConn = "jdbc: oracle: thin: @ (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = host1) (PORT = 1521) (ADDRESS = (PROTOCOL = TCP) (HOST = host2) (PORT = 1521) (LOAD_BALANCE = true) (FAILOVER = true) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = host3) (PORT = 1521) (ADDRESS = (PROTOCOL = TCP) (HOST = host4) (PORT = 1521 )) (LOAD_BALANCE = true) (FAILOVER = true) (CONNECT_DATA = (SERVICE_NAME = orcl) (SERVER = DEDICATED) \ n "; you get the following error: Error: IO Exception: End of TNS data channel The same connection works fine with JDBC 10.2.0.4 Changes Using multiple ADDRESS_LIST clses isuseful in a pair uard environment, when both the primary and secondarydatabases are RAC. cause This is caused by internal BUG 12029725 -JavaNet throws exception with nested/multiple ADDRESS_LIST clses as explained in: Bugs-BUG 12029725-JavaNet throws exception with nested/multipleADDRESS_LIST clses Solution Use the JDBC/thin driver version10.2.0.4.0 or later. the latest versions can be downloaded here. OR use only one ADDRESS_LIST clause References NOTE: 401436.1-10.2.0.4 Patch Set-List of Bug Fixes by Problem T YpeNOTE: 4570363.8-Bug 4570363-JavaNet throws exception with nested/multiple ADDRESS_LISTclausesBUG: 4570363-I/O EXCEPTION WHEN CONNECTING WITH NET KEYWORD OF NESTED ADDRESS_LIST CLAUSE Related... Products... · Middleware> Developer Tools> Java Development> JDBC> Thin JDBC driver Keywords

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.