当前位置: 代码迷 >> Java Web开发 >> proxool+jtds有关问题
  详细解决方案

proxool+jtds有关问题

热度:560   发布时间:2016-04-17 15:21:53.0
proxool+jtds问题
java.sql.SQLException:   Invalid   state,   the   Statement   object   is   closed.
at   net.sourceforge.jtds.jdbc.JtdsStatement.checkOpen(JtdsStatement.java:219)
at   net.sourceforge.jtds.jdbc.JtdsStatement.getConnection(JtdsStatement.java:1161)
at   net.sourceforge.jtds.jdbc.MSCursorResultSet.close(MSCursorResultSet.java:1006)
at   org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at   org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:425)
at   org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:452)
at   org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at   java.lang.Thread.run(Unknown   Source)


java.sql.SQLException:   Network   error   IOException:   No   route   to   host:   connect
at   net.sourceforge.jtds.jdbc.ConnectionJDBC2. <init> (ConnectionJDBC2.java:372)
at   net.sourceforge.jtds.jdbc.ConnectionJDBC3. <init> (ConnectionJDBC3.java:50)
at   net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)
at   java.sql.DriverManager.getConnection(Unknown   Source)
at   java.sql.DriverManager.getConnection(Unknown   Source)
at   org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
at   org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
at   org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)
at   org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)

TOMCAT服务器,网站打不开,当机日志打印这种异常。。。。是什么原因啊?各位给点意见!

------解决方案--------------------
网络出问题了吧