这样的异常,谁知道是什么问题?(100分)

  • 主题发起人 主题发起人 taizi
  • 开始时间 开始时间
T

taizi

Unregistered / Unconfirmed
GUEST, unregistred user!
请问当我调用数据库的时候,页面出现这样的异常,是怎么回事?
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: [Microsoft][SQLServer 2000 Driver for JDBC]Error setting up static cursor cache.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
org.apache.jsp.data.data_005fadd_jsp._jspService(data_005fadd_jsp.java:72)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.tools.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:28)

root cause
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error setting up static cursor cache.
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.base.BaseImplSortCursorResultSet.setupTempFile(Unknown Source)
com.microsoft.jdbc.base.BaseImplSortCursorResultSet.postSetupInitialize(Unknown Source)
com.microsoft.jdbc.base.BaseResultSet.<init>(Unknown Source)
com.microsoft.jdbc.base.BaseStatement.commonGetNextResultSet(Unknown Source)
com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
com.microsoft.jdbc.base.BaseStatement.executeQuery(Unknown Source)
com.microsoft.jdbc.base.BaseDatabaseMetaData.getTables(Unknown Source)
com.dbx.JDatabase.getTables(JDatabase.java:245)
org.apache.jsp.data.data_005fadd_jsp._jspService(data_005fadd_jsp.java:59)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.tools.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:28)

note The full stack trace of the root cause is available in the Tomcat logs.

--------------------------------------------------------------------------------
Apache Tomcat/5.0.19
 
检查一下连接是否正确 !有可能数据库引擎有问题吧,
 
可以连接到数据库,也可以实现简单的操作,但是实现复杂操作,
会出现以上问题,请问是什么原因?
 
后退
顶部