异常java.sql.SQLException: Io exception:The Network Adapter could not establish connection

原创 2004年10月11日 17:34:00
    Oracle Database Connection (from oracle.com)
    
    PROBLEM
    You are attempting to connect to an Oracle instance using JDBC and you are receiving the following error.
    java.sql.SQLException: Io exception:
    The Network Adapter could not establish connection
    SQLException: SQLState (null) vendor code (17002)
    
    Any or all of the following conditions may also apply:
    
    1) You are able to establish a SQL*Plus connection from the same
    client to the same Oracle instance.
    
    2) You are able to establish a JDBC OCI connection, but not a Thin
    connection from the same client to the same Oracle instance.
    
    3) The same JDBC application is able to connect from a different
    client to the same Oracle instance.
    
    4) The same behavior applies whether the initial JDBC connection
    string specifies a hostname or an IP address.
    
    
    
    REDISCOVERY
    To verify whether you are hitting this problem, verify whether the Oracle instance is configured for Multithreaded Server (MTS). If the Oracle instance is not configured for MTS, you are probably encountering a different problem. Otherwise, continue. Try forcing the JDBC connection to use a dedicated server instead of a shared server. This can be accomplished in several ways. For JDBC OCI or Thin, this can be done by reconfiguring the server for dedicated connections only. This approach, however, may not be feasible in many cases. In such cases, the following options apply: For JDBC OCI:
    
    1) Add the (SERVER=DEDICATED) property to the TNS connect string
    stored in the tnsnames.ora file on the client.
    
    2) Set the user_dedicated_server=ON in sqlnet.ora on the client.

java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection解决方案

 java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection是我今天刚遇到的问题,有很多原...
  • leidengyan
  • leidengyan
  • 2008年11月08日 02:49
  • 20815

Caused by: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection

Caused by: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
  • kurl888
  • kurl888
  • 2014年04月15日 17:10
  • 5094

Java.Sql.Sqlexception: Io Exception: The Network Adapter Could Not Establish The Connection

JDBC Thin Driver 11g Causes "Java.Sql.Sqlexception: Io Exception: The Network Adapter Could Not Esta...
  • jamesyao008
  • jamesyao008
  • 2014年10月21日 22:50
  • 2018

Io 异常: The Network Adapter could not establish the connection解决方案

Io 异常: The Network Adapter could not establish the connection 这个异常的出现一般与数据库和你的PC的设置有关 这种异常的出现大致上有下...
  • xyw591238
  • xyw591238
  • 2016年06月04日 13:30
  • 30884

java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection

日志如下,web项目发布报错,怀疑是数据库连接不上,用客户端工具登录,确实是数据没有启动导致的。小记一下。 main [ProxoolDriver.java:92]  Problem ja...
  • hgsunyong
  • hgsunyong
  • 2013年12月26日 16:29
  • 1681

Io 异常: The Network Adapter could not establish the connection解决办法

Io 异常: The Network Adapter could not establish the connection 这个异常的出现一般与数据库和你的PC的设置有关 这种异常的出现大致上...
  • w_basketboy
  • w_basketboy
  • 2012年12月04日 23:09
  • 1476

java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection可能问题之一

因为要做毕业设计,所以就给我的windows7 小系统安装了个10g的oracle
  • Creamicend
  • Creamicend
  • 2014年04月07日 19:26
  • 1102

Io 异常: The Network Adapter could not establish the connection解决方案

Io 异常: The Network Adapter could not establish the connection 这个异常的出现一般与数据库和你的PC的设置有关 这种异常的出现大致上有下...
  • comeandgo201205
  • comeandgo201205
  • 2012年10月01日 10:11
  • 63362

The Network Adapter could not establish the connection问题解决

昨日在部署公司项目时候,启动tomcat一直报:The Network Adapter could not establish the connection这个错误,因为以前没有使用oracle开发,...
  • sun1042445773
  • sun1042445773
  • 2017年04月13日 23:49
  • 3503

解决The Network Adapter could not establish the connection

解决1 主机与虚拟机ping不通解决2 状态: 失败 -测试失败: IO 错误: The Network Adapter could not establish the connection本次尝试在...
  • dream_an
  • dream_an
  • 2016年05月15日 22:26
  • 5210
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:异常java.sql.SQLException: Io exception:The Network Adapter could not establish connection
举报原因:
原因补充:

(最多只允许输入30个字)