首页 新闻 会员 周边 捐助

JSP 运行时出现以下错误!实在找不到啥原因了!

0
悬赏园豆: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>&nbsp;</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>&nbsp;</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.&lt;init&gt;(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>&nbsp;</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>
Yellows的主页 Yellows | 初学一级 | 园豆:45
提问于:2010-06-17 11:25
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册