2011-08-08 16:43:50][WARN] Could not obtain connection metadata
java.sql.SQLException: End of TNS data channel
查看数据库警告日志及监听等日志并未发现有错误提示。
ojdbc5换成了老版本的ojdbc4 然后文件还是用ojdbc5命名。在启动程序,错误消失。
ojdbc14.jar ( 存在路径 ora92\jdbc\lib 文件夹下 )
Specification-Title: "Oracle JDBC driver classes for use with JDK1.4"
Specification-Version: "Oracle JDBC Driver version - 9.0.2.0.0"
Specification-Vendor: "Oracle Corporation" .
Implementation-Title: "ojdbc14.jar"
Implementation-Version: "Oracle JDBC Driver version - 9.0.2.0.0"
Implementation-Vendor: "Oracle Corporation"
Implementation-Time: "Thu Apr 25 23:14:02 2002"
ojdbc5.jar
Manifest-Version: 1.0
Specification-Title: Oracle JDBC driver classes for use with JDK15
Sealed: true
Created-By: 1.5.0_11 (Sun Microsystems Inc.)
Main-Class: oracle.jdbc.OracleDriver
Implementation-Title: ojdbc5.jar
Specification-Vendor: Oracle Corporation
Specification-Version: Oracle JDBC Driver version - "11.1.0.6.0-Production+"
Implementation-Version: Oracle JDBC Driver version - "11.1.0.6.0-Production+"
Implementation-Vendor: Oracle Corporation
Implementation-Time: Tue Oct 30 03:27:57 2007
ojdbc6.jar
Manifest-Version: 1.0
Implementation-Vendor: Oracle Corporation
Implementation-Title: ojdbc6.jar
Implementation-Version: Oracle JDBC Driver version - "11.1.0.7.0-Production"
Implementation-Time: Thu Aug 28 17:39:02 2008
Specification-Vendor: Oracle Corporation
Sealed: true
Created-By: 1.6.0 (Sun Microsystems Inc.)
Specification-Title: Oracle JDBC driver classes for use with JDK6
Specification-Version: Oracle JDBC Driver version - "11.1.0.7.0-Production"
Main-Class: oracle.jdbc.OracleDriver
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22779291/viewspace-704489/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22779291/viewspace-704489/