启动tomcat时Unable to connect to any hosts due to exception
启动tomcat时总有Unable   to   connect   to   any   hosts   due   to   exception错误,本工程没有连接数据库。 
 出现了下面的错误: 
 2007-6-1   20:00:33   org.logicalcobwebs.proxool.Prototyper   sweep 
 严重:   Prototype  
java.sql.SQLException:   Unable   to   connect   to   any   hosts   due   to   exception:   
java.net.ConnectException:   Connection   refused:   connect 
 	at   com.mysql.jdbc.Connection.createNewIO(Connection.java:1797) 
 	at   com.mysql.jdbc.Connection. <init> (Connection.java:562) 
 	at   com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:361) 
 	at   java.sql.DriverManager.getConnection(DriverManager.java:582) 
 	at   java.sql.DriverManager.getConnection(DriverManager.java:154) 
 	at   org.logicalcobwebs.proxool.ProxyFactory.buildProxyConnection(ProxyFactory.java:41) 
 	at   org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:150) 
 	at   org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:95) 
 	at   org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:42) 
 没有连接数据库的代码。 
 那位知道的望解答下,谢谢。
------解决方案--------------------看看SEVER.XML配置有没问题,建议下个新的SEVER.XML,再配置你的CONTEXT
------解决方案--------------------关注