| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 710 人关注过本帖
标题:[讨论]使用weblogic8.1连接池连接sql server 2000
取消只看楼主 加入收藏
jasonbecker
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2005-10-17
收藏
 问题点数:0 回复次数:1 
[讨论]使用weblogic8.1连接池连接sql server 2000
测试连接时提示[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
我的weblogic安装目录在d盘,sql server 端口号是1433,
startWLS.cmd文件里设置如下
set CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;D:\bea\weblogic81\server\lib\msbase.jar;D:\bea\weblogic81\server\lib\msutil.jar;D:\bea\weblogic81\server\lib\mssqlserver.jar;%CLASSPATH%
为什么会提示错误?
搜索更多相关主题的帖子: server jar sql lib JAVA 
2006-06-30 22:25
jasonbecker
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2005-10-17
收藏
得分:0 

端口应该没有哦问题,给出错误提示
See com.borland.dx.dataset.DataSetException error code: BASE+66

com.borland.dx.dataset.DataSetException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.

at com.borland.dx.dataset.DataSetException.a(Unknown Source)

at com.borland.dx.dataset.DataSetException.throwException(Unknown Source)

at com.borland.dx.dataset.DataSetException.SQLException(Unknown Source)

at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)

at com.borland.jdbcx.metadata.DatabaseInfo.openConnection(Unknown Source)

at com.borland.jdbcx.metadata.e.run(Unknown Source)

Chained exception:

java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.

at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)

at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)

at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)

at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)

at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)

at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)

at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)

at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)

at java.sql.DriverManager.getConnection(DriverManager.java:512)

at java.sql.DriverManager.getConnection(DriverManager.java:171)

at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)

at com.borland.jdbcx.metadata.DatabaseInfo.openConnection(Unknown Source)

at com.borland.jdbcx.metadata.e.run(Unknown Source)

2006-07-01 12:14
快速回复:[讨论]使用weblogic8.1连接池连接sql server 2000
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016379 second(s), 10 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved