Go to Site http://www.dla.go.th/province/trg

bidtohome.com Is not related to their content.


 
Error
Error
 
 
Exception: org.hibernate.exception.GenericJDBCException: Cannot open connection

org.hibernate.exception.GenericJDBCException: Cannot open connection
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
	at org.hibernate.loader.Loader.doQuery(Loader.java:673)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
	at org.hibernate.loader.Loader.doList(Loader.java:2220)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
	at org.hibernate.loader.Loader.list(Loader.java:2099)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
	at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811)
	at com.depthfirst.dola.web.template.manager.TempCounterManager.findAll(TempCounterManager.java:90)
	at com.depthfirst.dola.web.template.servlet.TemplateServlet.service(TemplateServlet.java:281)
	at com.depthfirst.dola.web.util.WebServlet.service(WebServlet.java:64)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at com.depthfirst.dola.web.counter.servlet.PageOnlineCounterFilter.doFilter(PageOnlineCounterFilter.java:103)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at com.depthfirst.dola.web.filter.ThaiLocalAdminFilter.doFilter(ThaiLocalAdminFilter.java:34)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at test.LoggerFilter.doFilter(LoggerFilter.java:53)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at com.depthfirst.filter.MultipartServletFilter.doFilter(MultipartServletFilter.java:50)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at com.depthfirst.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:28)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:151)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:129)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
	at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
	at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
	at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:56)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
	... 43 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
	at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
	at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
	at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
	... 46 more
 
bgcolor Error Exception org hibernate exception GenericJDBCException Cannot open connection org hibernate exception GenericJDBCException Cannot open connection at org hibernate exception SQLStateConverter handledNonSpecificException SQLStateConverter java 103 at org hibernate exception SQLStateConverter convert SQLStateConverter java 91 at org hibernate exception JDBCExceptionHelper convert JDBCExceptionHelper java 43 at org hibernate exception JDBCExceptionHelper convert JDBCExceptionHelper java 29 at org hibernate jdbc ConnectionManager openConnection ConnectionManager java 426 at org hibernate jdbc ConnectionManager getConnection ConnectionManager java 144 at org hibernate jdbc AbstractBatcher prepareQueryStatement AbstractBatcher java 139 at org hibernate loader Loader prepareQueryStatement Loader java 1547 at org hibernate loader Loader doQuery Loader java 673 at org hibernate loader Loader doQueryAndInitializeNonLazyCollections Loader java 236 at org hibernate loader Loader doList Loader java 2220 at org hibernate loader Loader listIgnoreQueryCache Loader java 2104 at org hibernate loader Loader list Loader java 2099 at org hibernate loader hql QueryLoader list QueryLoader java 378 at org hibernate hql ast QueryTranslatorImpl list QueryTranslatorImpl java 338 at org hibernate engine query HQLQueryPlan performList HQLQueryPlan java 172 at org hibernate impl SessionImpl list SessionImpl java 1121 at org hibernate impl QueryImpl list QueryImpl java 79 at org hibernate impl AbstractQueryImpl uniqueResult AbstractQueryImpl java 811 at com depthfirst dola web template manager TempCounterManager findAll TempCounterManager java 90 at com depthfirst dola web template servlet TemplateServlet service TemplateServlet java 281 at com depthfirst dola web util WebServlet service WebServlet java 64 at weblogic servlet internal StubSecurityHelper$ServletServiceAction run StubSecurityHelper java 225 at weblogic servlet internal StubSecurityHelper invokeServlet StubSecurityHelper java 127 at weblogic servlet internal ServletStubImpl execute ServletStubImpl java 272 at weblogic servlet internal TailFilter doFilter TailFilter java 26 at weblogic servlet internal FilterChainImpl doFilter FilterChainImpl java 42 at com depthfirst dola web counter servlet PageOnlineCounterFilter doFilter PageOnlineCounterFilter java 103 at weblogic servlet internal FilterChainImpl doFilter FilterChainImpl java 42 at com depthfirst dola web filter ThaiLocalAdminFilter doFilter ThaiLocalAdminFilter java 34 at weblogic servlet internal FilterChainImpl doFilter FilterChainImpl java 42 at test LoggerFilter doFilter LoggerFilter java 53 at weblogic servlet internal FilterChainImpl doFilter FilterChainImpl java 42 at com depthfirst filter MultipartServletFilter doFilter MultipartServletFilter java 50 at weblogic servlet internal FilterChainImpl doFilter FilterChainImpl java 42 at com depthfirst filter SetCharacterEncodingFilter doFilter SetCharacterEncodingFilter java 28 at weblogic servlet internal FilterChainImpl doFilter FilterChainImpl java 42 at net bull javamelody MonitoringFilter doFilter MonitoringFilter java 151 at net bull javamelody MonitoringFilter doFilter MonitoringFilter java 129 at weblogic servlet internal FilterChainImpl doFilter FilterChainImpl java 42 at weblogic servlet internal WebAppServletContext$ServletInvocationAction run WebAppServletContext java 3151 at weblogic security acl internal AuthenticatedSubject doAs AuthenticatedSubject java 321 at weblogic security service SecurityManager runAs SecurityManager java 121 at weblogic servlet internal WebAppServletContext securedExecute WebAppServletContext java 1973 at weblogic servlet internal WebAppServletContext execute WebAppServletContext java 1880 at weblogic servlet internal ServletRequestImpl run ServletRequestImpl java 1310 at weblogic work ExecuteThread execute ExecuteThread java 207 at weblogic work ExecuteThread run ExecuteThread java 179 Caused by java sql SQLException Connections could not be acquired from the underlying database at com mchange v2 sql SqlUtils toSQLException SqlUtils java 106 at com mchange v2 c3p0 impl C3P0PooledConnectionPool checkoutPooledConnection C3P0PooledConnectionPool java 529 at com mchange v2 c3p0 impl AbstractPoolBackedDataSource getConnection AbstractPoolBackedDataSource java 128 at org hibernate connection C3P0ConnectionProvider getConnection C3P0ConnectionProvider java 56 at org hibernate jdbc ConnectionManager openConnection ConnectionManager java 423 43 moreCaused by com mchange v2 resourcepool CannotAcquireResourceException A ResourcePool could not acquire a resource from its primary factory or source at com mchange v2 resourcepool BasicResourcePool awaitAvailable BasicResourcePool java 1319 at com mchange v2 resourcepool BasicResourcePool prelimCheckoutResource BasicResourcePool java 557 at com mchange v2 resourcepool BasicResourcePool checkoutResource BasicResourcePool java 477 at com mchange v2 c3p0 impl C3P0PooledConnectionPool checkoutPooledConnection C3P0PooledConnectionPool java 525 46 more