HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /czj/index.jsp:82
79:
80: <%
81:
82: twoS=twoSM.IDSecSort_Flag("0201");
83: secFlag=twoS.getSecFlag();
84: secName=twoS.getSecName();
85: %>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(jasper5-compiler-5.5.23.jar.so)
org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.23.jar.so)
org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.23.jar.so)
org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.23.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)
root cause
javax.servlet.ServletException: <h5>【Database Connection Failed! Please contact to
gt_lwj@163.com】</h5>ErrorInfo:org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'com.mysql.jdbc.Driver' for connect URL 'jdbc:mysql://localhost/czj?useUnicode=true&characterEncoding=GBK'
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(jasper5-runtime-5.5.23.jar.so)
org.apache.jasper.runtime.PageContextImpl.handlePageException(jasper5-runtime-5.5.23.jar.so)
org.apache.jsp.czj.index_jsp._jspService(index_jsp.java:870)
org.apache.jasper.runtime.HttpJspBase.service(jasper5-runtime-5.5.23.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.23.jar.so)
org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.23.jar.so)
org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.23.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)
root cause
org.apache.commons.db.connectpool.DBConnectException: <h5>【Database Connection Failed! Please contact to
gt_lwj@163.com】</h5>ErrorInfo:org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'com.mysql.jdbc.Driver' for connect URL 'jdbc:mysql://localhost/czj?useUnicode=true&characterEncoding=GBK'
org.apache.commons.db.connectpool.DBConnect.<init>(DBConnect.java:58)
czj.secSortManage.IDSecSort_Flag(secSortManage.java:145)
org.apache.jsp.czj.index_jsp._jspService(index_jsp.java:305)
org.apache.jasper.runtime.HttpJspBase.service(jasper5-runtime-5.5.23.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.23.jar.so)
org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.23.jar.so)
org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.23.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.20