澳门金沙网上娱乐_澳门金沙注册网址_澳门百家乐官网

HTTP Status 500 - Request processing failed; nested exception is org.hibernate.exception.JDBCConnectionException: could not execute query


type Exception report

message Request processing failed; nested exception is org.hibernate.exception.JDBCConnectionException: could not execute query

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.exception.JDBCConnectionException: could not execute query
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	com.qkl.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:35)

root cause

org.hibernate.exception.JDBCConnectionException: could not execute query
	org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)
	org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	org.hibernate.loader.Loader.doList(Loader.java:2235)
	org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2161)
	org.hibernate.loader.Loader.list(Loader.java:2121)
	org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
	org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
	org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	org.hibernate.impl.SessionImpl.list(SessionImpl.java:1149)
	org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	com.qkl.common.hibernate3.HibernateSimpleDao.find(HibernateSimpleDao.java:98)
	com.qkl.cms.dao.main.impl.ContentDaoImpl.getListByChannelIdsForTag(ContentDaoImpl.java:308)
	com.qkl.cms.manager.main.impl.ContentMngImpl.getListByChannelIdsForTag(ContentMngImpl.java:152)
	sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	com.sun.proxy.$Proxy27.getListByChannelIdsForTag(Unknown Source)
	com.qkl.cms.action.directive.abs.AbstractContentDirective.getData(AbstractContentDirective.java:336)
	com.qkl.cms.action.directive.ContentListDirective.getList(ContentListDirective.java:84)
	com.qkl.cms.action.directive.ContentListDirective.execute(ContentListDirective.java:48)
	freemarker.core.Environment.visit(Environment.java:263)
	freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.MixedContent.accept(MixedContent.java:92)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.Environment.include(Environment.java:1483)
	freemarker.core.Include.accept(Include.java:169)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.MixedContent.accept(MixedContent.java:92)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.Environment.process(Environment.java:190)
	freemarker.template.Template.process(Template.java:237)
	com.qkl.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:111)
	org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	com.qkl.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:35)

root cause

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 404,062 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
	sun.reflect.GeneratedConstructorAccessor106.newInstance(Unknown Source)
	sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	java.lang.reflect.Constructor.newInstance(Unknown Source)
	com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
	com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
	com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3030)
	com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2916)
	com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3459)
	com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
	com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
	com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
	com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2086)
	com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2237)
	com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	org.hibernate.loader.Loader.doQuery(Loader.java:697)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	org.hibernate.loader.Loader.doList(Loader.java:2232)
	org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2161)
	org.hibernate.loader.Loader.list(Loader.java:2121)
	org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
	org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
	org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	org.hibernate.impl.SessionImpl.list(SessionImpl.java:1149)
	org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	com.qkl.common.hibernate3.HibernateSimpleDao.find(HibernateSimpleDao.java:98)
	com.qkl.cms.dao.main.impl.ContentDaoImpl.getListByChannelIdsForTag(ContentDaoImpl.java:308)
	com.qkl.cms.manager.main.impl.ContentMngImpl.getListByChannelIdsForTag(ContentMngImpl.java:152)
	sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	com.sun.proxy.$Proxy27.getListByChannelIdsForTag(Unknown Source)
	com.qkl.cms.action.directive.abs.AbstractContentDirective.getData(AbstractContentDirective.java:336)
	com.qkl.cms.action.directive.ContentListDirective.getList(ContentListDirective.java:84)
	com.qkl.cms.action.directive.ContentListDirective.execute(ContentListDirective.java:48)
	freemarker.core.Environment.visit(Environment.java:263)
	freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.MixedContent.accept(MixedContent.java:92)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.Environment.include(Environment.java:1483)
	freemarker.core.Include.accept(Include.java:169)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.MixedContent.accept(MixedContent.java:92)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.Environment.process(Environment.java:190)
	freemarker.template.Template.process(Template.java:237)
	com.qkl.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:111)
	org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	com.qkl.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:35)

root cause

java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
	com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2475)
	com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2927)
	com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2916)
	com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3459)
	com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
	com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
	com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
	com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2086)
	com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2237)
	com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
	org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	org.hibernate.loader.Loader.doQuery(Loader.java:697)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	org.hibernate.loader.Loader.doList(Loader.java:2232)
	org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2161)
	org.hibernate.loader.Loader.list(Loader.java:2121)
	org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
	org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
	org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	org.hibernate.impl.SessionImpl.list(SessionImpl.java:1149)
	org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	com.qkl.common.hibernate3.HibernateSimpleDao.find(HibernateSimpleDao.java:98)
	com.qkl.cms.dao.main.impl.ContentDaoImpl.getListByChannelIdsForTag(ContentDaoImpl.java:308)
	com.qkl.cms.manager.main.impl.ContentMngImpl.getListByChannelIdsForTag(ContentMngImpl.java:152)
	sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	com.sun.proxy.$Proxy27.getListByChannelIdsForTag(Unknown Source)
	com.qkl.cms.action.directive.abs.AbstractContentDirective.getData(AbstractContentDirective.java:336)
	com.qkl.cms.action.directive.ContentListDirective.getList(ContentListDirective.java:84)
	com.qkl.cms.action.directive.ContentListDirective.execute(ContentListDirective.java:48)
	freemarker.core.Environment.visit(Environment.java:263)
	freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.MixedContent.accept(MixedContent.java:92)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.Environment.include(Environment.java:1483)
	freemarker.core.Include.accept(Include.java:169)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.MixedContent.accept(MixedContent.java:92)
	freemarker.core.Environment.visit(Environment.java:210)
	freemarker.core.Environment.process(Environment.java:190)
	freemarker.template.Template.process(Template.java:237)
	com.qkl.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:111)
	org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	com.qkl.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:35)

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


Apache Tomcat/7.0.47