请教,求助tomcat + MS server2K 数据库连接池问题

04-06-20 ylfly
你好.

请教.

我用: tomcat4.1.30,MS server2K ,jdk1.4.2

CLASSPATH为:.;C:\j2sdk1.4.2\bin;C:\j2sdk1.4.2\lib\tools.jar;D:\jdk14\lib\dt.jar;C:\Program Files\Apache Tomcat 4.1\common\lib\*.jar

path为:C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Rational\common;C:\j2sdk1.4.2\bin;C:\j2sdk1.4.2\lib

msbase.jar和mssqlserver.jar、msutil.jar三个数据库驱动文件已经copy到tomcat的/common/lib/下,conf下的server.xml和WEB-INF下的web.xml
已经配过,出错如下:

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
<p>

请问这种情况如何解决.

猜你喜欢