JTDS连接SQL SERVER 2000报错:Connection refused

阅读更多

机器环境

XP SP2,Tomcat 5.5,jtds,SQL SERVER 2000。

 

问题

JTDS连接SQL SERVER 2000报错:

javax.servlet.ServletException: Network error IOException: Connection refused: connect
  org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
  org.apache.jsp.testMssql3_jsp._jspService(testMssql3_jsp.java:118)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

 

解决方案

升级SQL SERVER 2000 SP3A的补丁!

你可能感兴趣的:(SQL,Server,SQL,Java,Apache,Servlet)