悬赏园豆:5
[已关闭问题]
<h1>HTTP Status 500 - </h1>
<hr size="1" noshade="noshade" />
<p><strong>type</strong> Exception report</p>
<p><strong>message</strong> </p>
<p><strong>description</strong> <span style="text-decoration: underline;">The server encountered an internal error () that prevented it from fulfilling this request.</span></p>
<p><strong>exception</strong> </p>
<pre>org.apache.jasper.JasperException: javax.servlet.ServletException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</pre>
<p> </p>
<p><strong>root cause</strong> </p>
<pre>javax.servlet.ServletException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)org.apache.jsp.mssql_jsp._jspService(mssql_jsp.java:97)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</pre>
<p> </p>
<p><strong>root cause</strong> </p>
<pre>java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)java.sql.DriverManager.getConnection(DriverManager.java:582)java.sql.DriverManager.getConnection(DriverManager.java:185)org.apache.jsp.mssql_jsp._jspService(mssql_jsp.java:63)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</pre>
<p> </p>
<p><strong>note</strong> <span style="text-decoration: underline;">The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.</span></p>
<hr size="1" noshade="noshade" />
<h3>Apache Tomcat/6.0.26</h3>