500 Servlet Exception
[show] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: User 'houselib_new'
has exceeded the 'max_user_connections' resource (current value: 100)
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
User 'houselib_new' has exceeded the 'max_user_connections' resource (current
value: 100)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:577)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:678)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:710)
at org.springframework.jdbc.core.simple.SimpleJdbcTemplate.query(SimpleJdbcTemplate.java:187)
at cn.pconline.houselib.repository.AbstractRepository.list(AbstractRepository.java:199)
at cn.pconline.houselib.repository.AbstractRepository.findObject(AbstractRepository.java:128)
at cn.pconline.houselib.repository.ProductExtendRepository.getByProductId(ProductExtendRepository.java:17)
at cn.pconline.houselib.domain.ProductExtend.load(ProductExtend.java:16)
at _jsp._jsp._template._product._get_0detail__jsp._jspService(jsp/template/product/get_detail.jsp:6)
at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
at com.caucho.jsp.Page.pageservice(Page.java:578)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:504)
at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:1009)
at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:962)
at _jsp._jsp._template._product._important_0product__jsp._jspService(jsp/template/product/important_product.jsp:677)
at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
at com.caucho.jsp.Page.pageservice(Page.java:578)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:293)
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
at cn.pconline.houselib.util.UrlRewriteFilter.goForward(UrlRewriteFilter.java:1021)
at cn.pconline.houselib.util.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:162)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at cn.pconline.houselib.util.EnvFilter.doFilter(EnvFilter.java:56)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:730)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:649)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: User
'houselib_new' has exceeded the 'max_user_connections' resource (current
value: 100)
at sun.reflect.GeneratedConstructorAccessor312.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
at com.mysql.jdbc.Util.getInstance(Util.java:372)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3835)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3771)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1659)
at com.mysql.jdbc.MysqlIO.changeUser(MysqlIO.java:817)
at com.mysql.jdbc.ConnectionImpl.changeUser(ConnectionImpl.java:1183)
at com.mysql.jdbc.ConnectionImpl.resetServerState(ConnectionImpl.java:4559)
at com.mysql.jdbc.jdbc2.optional.MysqlPooledConnection.getConnection(MysqlPooledConnection.java:161)
at com.mysql.jdbc.jdbc2.optional.MysqlPooledConnection.getConnection(MysqlPooledConnection.java:141)
at com.caucho.sql.ManagedConnectionImpl.initDriverConnection(ManagedConnectionImpl.java:250)
at com.caucho.sql.ManagedConnectionImpl.<init>(ManagedConnectionImpl.java:141)
at com.caucho.sql.ManagedFactoryImpl.createManagedConnection(ManagedFactoryImpl.java:139)
at com.caucho.jca.ConnectionPool.create(ConnectionPool.java:926)
at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:795)
at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:756)
at com.caucho.jca.ConnectionPool.allocateConnection(ConnectionPool.java:567)
at com.caucho.sql.DataSourceImpl.getConnection(DataSourceImpl.java:65)
at com.caucho.sql.DBPool.getConnection(DBPool.java:701)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:577)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:678)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:710)
at org.springframework.jdbc.core.simple.SimpleJdbcTemplate.query(SimpleJdbcTemplate.java:187)
at cn.pconline.houselib.repository.AbstractRepository.list(AbstractRepository.java:199)
at cn.pconline.houselib.repository.AbstractRepository.findObject(AbstractRepository.java:128)
at cn.pconline.houselib.repository.ProductExtendRepository.getByProductId(ProductExtendRepository.java:17)
at cn.pconline.houselib.domain.ProductExtend.load(ProductExtend.java:16)
at _jsp._jsp._template._product._get_0detail__jsp._jspService(jsp/template/product/get_detail.jsp:6)
at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
at com.caucho.jsp.Page.pageservice(Page.java:578)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:504)
at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:1009)
at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:962)
at _jsp._jsp._template._product._important_0product__jsp._jspService(jsp/template/product/important_product.jsp:677)
at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
at com.caucho.jsp.Page.pageservice(Page.java:578)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:293)
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
at cn.pconline.houselib.util.UrlRewriteFilter.goForward(UrlRewriteFilter.java:1021)
at cn.pconline.houselib.util.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:162)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at cn.pconline.houselib.util.EnvFilter.doFilter(EnvFilter.java:56)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:730)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:649)
at java.lang.Thread.run(Thread.java:662)