java.sql.SQLException Error Code: 17002
2011-06-17 15:14
573 查看
使用不同的ip段,常修改ip地址,有时发现还原ip地址,也无法访问本机数据库orcle,出现connection refused.
java.sql.SQLException: Io 异常: Connection refused
An error occurred while establishing the connection:Long Message:
Io 异常: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
Details:
Type: java.sql.SQLException
Error Code: 17002
SQL State: null
发生错误,同时建立连接:
长消息:
IO 异常:连接被拒绝(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI= 4))))
详细说明:
类型:java.sql.SQLException
错误代码:17002
SQL状态:空
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------解决方法---------------------------------
试试下面的方法:
1:增加processes参数的大小
2:在listener.ora的头部添加DIRECT_HANDOFF_TTC_LISTENER = OFF 试试
相关文章推荐
- SqlException with message "Caught java.io.CharConversionException." and ERRORCODE=-4220
- SqlException with message "Caught java.io.CharConversionException." and ERRORCODE=-4220
- java.sql.SQLSyntaxErrorException: ORA-01747: user.table.column, table.column
- java.sql.SQLSyntaxErrorException: ORA-00904: "**": 标识符无效
- java.sql.SQLSyntaxErrorException: ORA-00971: 缺失 SET 关键字
- java.io.IOException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode =
- Oracle ADF 异常:Caused By: java.sql.SQLSyntaxErrorException: ORA-01722: 无效数字
- 错误:java.sql.SQLSyntaxErrorException: ORA-02289: sequence does not exist
- Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'name' in 'field list'
- java.sql.SQLSyntaxErrorException: ORA-00984: 列在此处不允许
- Activiti5.19查询报错[java.sql.SQLSyntaxErrorException: ORA-00936: 缺失表达式]
- 【debug】java.sql.SQLSyntaxErrorException 解决办法
- java.sql.SQLSyntaxErrorException 无效的主机/绑定变量名
- 解决bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: ORA-00911: 无效字符
- Windows 平台运行spark-shell 报"java.lang.NullPointerException, not found: value sqlContext" error 解决办法
- Java与mysql数据库编程中遇见“Before start of result set at com.mysql.jdbc.SQLError.createSQLException” 的解决办法
- java.sql.SQLSyntaxErrorException: ORA-00904: "column": 标识符无效
- java.lang.ClassFormatError: Absent Code attribute...javax/xml/rpc/ServiceException
- MyBatis java.sql.SQLSyntaxErrorException: ORA-00911: 无效字符
- 解决Caused by: java.sql.SQLRecoverableException: IO Error: Connection reset相关问题