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: java.lang.reflect.UndeclaredThrowableException
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:266)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1197)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

java.lang.reflect.UndeclaredThrowableException
	$Proxy33.getEntityById(Unknown Source)
	com.ibpd.henuocms.tlds.StyleTemplateTag._init(StyleTemplateTag.java:78)
	com.ibpd.henuocms.tlds.StyleTemplateTag.doTag(StyleTemplateTag.java:49)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspx_meth_mt_005fstyleTemplate_005f7(index_jsp.java:593)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspService(index_jsp.java:119)
	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:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:266)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1197)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

java.lang.reflect.InvocationTargetException
	sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	com.ibpd.service.ServiceProxy.invoke(ServiceProxy.java:19)
	$Proxy33.getEntityById(Unknown Source)
	com.ibpd.henuocms.tlds.StyleTemplateTag._init(StyleTemplateTag.java:78)
	com.ibpd.henuocms.tlds.StyleTemplateTag.doTag(StyleTemplateTag.java:49)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspx_meth_mt_005fstyleTemplate_005f7(index_jsp.java:593)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspService(index_jsp.java:119)
	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:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:266)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1197)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

org.hibernate.exception.GenericJDBCException: Cannot open connection
	org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
	org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
	org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
	org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
	org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
	org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
	org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
	org.hibernate.loader.Loader.doQuery(Loader.java:696)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
	org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
	org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
	org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
	com.ibpd.dao.impl.DaoImpl.getEntity(DaoImpl.java:52)
	com.ibpd.service.BaseServiceImpl.getEntityById(BaseServiceImpl.java:50)
	sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	com.ibpd.service.ServiceProxy.invoke(ServiceProxy.java:19)
	$Proxy33.getEntityById(Unknown Source)
	com.ibpd.henuocms.tlds.StyleTemplateTag._init(StyleTemplateTag.java:78)
	com.ibpd.henuocms.tlds.StyleTemplateTag.doTag(StyleTemplateTag.java:49)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspx_meth_mt_005fstyleTemplate_005f7(index_jsp.java:593)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspService(index_jsp.java:119)
	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:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:266)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1197)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
	com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
	com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)
	com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:527)
	com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
	org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)
	org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
	org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
	org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
	org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
	org.hibernate.loader.Loader.doQuery(Loader.java:696)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
	org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
	org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
	org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
	com.ibpd.dao.impl.DaoImpl.getEntity(DaoImpl.java:52)
	com.ibpd.service.BaseServiceImpl.getEntityById(BaseServiceImpl.java:50)
	sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	com.ibpd.service.ServiceProxy.invoke(ServiceProxy.java:19)
	$Proxy33.getEntityById(Unknown Source)
	com.ibpd.henuocms.tlds.StyleTemplateTag._init(StyleTemplateTag.java:78)
	com.ibpd.henuocms.tlds.StyleTemplateTag.doTag(StyleTemplateTag.java:49)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspx_meth_mt_005fstyleTemplate_005f7(index_jsp.java:593)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspService(index_jsp.java:119)
	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:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:266)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1197)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepool.BasicResourcePool@29b99c -- timeout at awaitAvailable()
	com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1317)
	com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
	com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
	com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
	com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
	org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)
	org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
	org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
	org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
	org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
	org.hibernate.loader.Loader.doQuery(Loader.java:696)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
	org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
	org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
	org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
	com.ibpd.dao.impl.DaoImpl.getEntity(DaoImpl.java:52)
	com.ibpd.service.BaseServiceImpl.getEntityById(BaseServiceImpl.java:50)
	sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	com.ibpd.service.ServiceProxy.invoke(ServiceProxy.java:19)
	$Proxy33.getEntityById(Unknown Source)
	com.ibpd.henuocms.tlds.StyleTemplateTag._init(StyleTemplateTag.java:78)
	com.ibpd.henuocms.tlds.StyleTemplateTag.doTag(StyleTemplateTag.java:49)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspx_meth_mt_005fstyleTemplate_005f7(index_jsp.java:593)
	org.apache.jsp.template._7011125c_002d8e92_002d4481_002dbf26_002d61c42c33d730.index_jsp._jspService(index_jsp.java:119)
	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:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:266)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1197)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

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


Apache Tomcat/6.0.18