proxool连接sqlserver出现类似假死现象的问题

在项目中通过proxool配置jdbc连接sqlserver。
配置文件如下:

proxool.xml

<?xml version="1.0" encoding="ISO-8859-1"?>


pool
jdbc:sqlserver://localhost:1433;DatabaseName=xibowork
com.microsoft.sqlserver.jdbc.SQLServerDriver




1000
select CURRENT_DATE

web.xml

<?xml version="1.0" encoding="UTF-8"?>
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">


index.jsp


ServletConfigurator
org.logicalcobwebs.proxool.configuration.ServletConfigurator

xmlFile
WEB-INF/proxool.xml

1

<!-- zh-cn encoding -->



struts-cleanup
org.apache.struts2.dispatcher.ActionContextCleanUp


struts-cleanup
/*


struts2

org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter



struts2
*.do

最后通过
Class.forName( "org.logicalcobwebs.proxool.ProxoolDriver" );
conn = DriverManager.getConnection("proxool.pool");
获取连接,都是按照常规来配置的,myeclipse不报错。问题就来了。
在运行到conn = DriverManager.getConnection("proxool.pool");[b]即不报错也无法取得conn,就是说类似在这句话上假死了一样[/b],
求大牛解惑,急

ProxySelector.setDefault(null);
在获取connection加上这句话试试

你直接连试试看,可能是驱动的问题