当前位置: 代码迷 >> J2EE >> 求救!Io 错误: The Network Adapter could not establish the connection
  详细解决方案

求救!Io 错误: The Network Adapter could not establish the connection

热度:560   发布时间:2016-04-22 03:42:36.0
求救!!Io 异常: The Network Adapter could not establish the connection
服务器环境是linux+oracle10g
连接数据库的URL:
<value>jdbc:oracle:thin:@192.168.0.130:1521:orcl</value>
<type>string</type>

在登陆客户端的时候提示去字段描述出错,系统的日志显示如下的错误。
Io 异常: The Network Adapter could not establish the connection
java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
  at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
  at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
  at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
  at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
  at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
  at java.sql.DriverManager.getConnection(DriverManager.java:512)
  at java.sql.DriverManager.getConnection(DriverManager.java:171)
  at com.bitmechanic.sql.ConnectionPool.createDriverConnection(ConnectionPool.java:468)
  at com.bitmechanic.sql.ConnectionPool.getConnection(ConnectionPool.java:407)
  at com.lingtu.DBBroker.DBBroker.getConnection(DBBroker.java:220)
  at com.lingtu.DBBroker.DBBroker.authOperator(DBBroker.java:487)
  at com.lingtu.DBBroker.DBBroker.getZones(DBBroker.java:2045)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:372)
  at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:292)
  at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276)
  at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
  at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
  at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
  at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
  at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)
  at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
  相关解决方案