HTTPStatus500-error. What should I do? Please kindly advise ......
Last Update:2017-09-11
Source: Internet
Author: User
HTTPStatus500-error. What should I do? Please kindly advise ...... -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. 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_flags ("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: [Database Connection Failed! Please contact to gt_lwj@163.com] 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: [Database Connection Failed! Please contact to gt_lwj@163.com] 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. (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