我用数据库连接池出现的一个错误大家看看怎么回事

Causedby:com.microsoft.sqlserver.jdbc.SQLServerException:到主机的TCP/IP连接失败。java.net.ConnectException:Connectionrefused:connect

atcom.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(UnknownSource)

atcom.microsoft.sqlserver.jdbc.SQLServerConnection.connect(UnknownSource)

atcom.microsoft.sqlserver.jdbc.SQLServerDriver.connect(UnknownSource)

atorg.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)

atorg.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)

atorg.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)

atorg.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)

...22more

2008-10-616:19:44org.apache.catalina.core.StandardWrapperValveinvoke

相关推荐