Reply
Highlighted
Contributor
Posts: 27
Registered: ‎04-09-2016

Keep getting Hibernate error in CDH5.8

[ Edited ]

Keep getting this error after i downloaded latest VM image of CDH 5.8

 

error in cloudera enterprise dition.JPG

 

 

A server error has occurred. Send the following information to Cloudera.

Path: http://quickstart.cloudera:7180/cmf/services/landingPageStatusContent

Version: Cloudera Enterprise Data Hub Edition Trial 5.8.0 (#42 built by jenkins on 20160714-1246 git: d08ac14ff050a108864fab00205c12e0d4043132)

com.google.common.util.concurrent.UncheckedExecutionException:javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Could not open connection
at LocalCache.java line 2263
in com.google.common.cache.LocalCache$Segment get()

 

Stack Trace:

LocalCache.java line 2263
in com.google.common.cache.LocalCache$Segment get()
LocalCache.java line 4000
in com.google.common.cache.LocalCache get()
LocalCache.java line 4789
in com.google.common.cache.LocalCache$LocalManualCache get()
AggregateStatusController.java line 1557
in com.cloudera.server.web.cmf.AggregateStatusController getHealthInfo()
AggregateStatusController.java line 464
in com.cloudera.server.web.cmf.AggregateStatusController servicesTable()
line -1
in sun.reflect.GeneratedMethodAccessor1159 invoke()
DelegatingMethodAccessorImpl.java line 43
in sun.reflect.DelegatingMethodAccessorImpl invoke()
Method.java line 606
in java.lang.reflect.Method invoke()
HandlerMethodInvoker.java line 176
in org.springframework.web.bind.annotation.support.HandlerMethodInvoker invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 436
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 424
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter handle()
DispatcherServlet.java line 790
in org.springframework.web.servlet.DispatcherServlet doDispatch()
DispatcherServlet.java line 719
in org.springframework.web.servlet.DispatcherServlet doService()
FrameworkServlet.java line 669
in org.springframework.web.servlet.FrameworkServlet processRequest()
FrameworkServlet.java line 585
in org.springframework.web.servlet.FrameworkServlet doPost()
HttpServlet.java line 727
in javax.servlet.http.HttpServlet service()
HttpServlet.java line 820
in javax.servlet.http.HttpServlet service()
ServletHolder.java line 511
in org.mortbay.jetty.servlet.ServletHolder handle()
ServletHandler.java line 1221
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
UserAgentFilter.java line 78
in org.mortbay.servlet.UserAgentFilter doFilter()
GzipFilter.java line 131
in org.mortbay.servlet.GzipFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JAMonServletFilter.java line 48
in com.jamonapi.http.JAMonServletFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JavaMelodyFacade.java line 109
in com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
FilterChainProxy.java line 311
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterSecurityInterceptor.java line 116
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor invoke()
FilterSecurityInterceptor.java line 83
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ExceptionTranslationFilter.java line 113
in org.springframework.security.web.access.ExceptionTranslationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SessionManagementFilter.java line 101
in org.springframework.security.web.session.SessionManagementFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AnonymousAuthenticationFilter.java line 113
in org.springframework.security.web.authentication.AnonymousAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RememberMeAuthenticationFilter.java line 146
in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextHolderAwareRequestFilter.java line 54
in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RequestCacheAwareFilter.java line 45
in org.springframework.security.web.savedrequest.RequestCacheAwareFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AbstractAuthenticationProcessingFilter.java line 182
in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
LogoutFilter.java line 105
in org.springframework.security.web.authentication.logout.LogoutFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextPersistenceFilter.java line 87
in org.springframework.security.web.context.SecurityContextPersistenceFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ConcurrentSessionFilter.java line 125
in org.springframework.security.web.session.ConcurrentSessionFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterChainProxy.java line 173
in org.springframework.security.web.FilterChainProxy doFilter()
DelegatingFilterProxy.java line 237
in org.springframework.web.filter.DelegatingFilterProxy invokeDelegate()
DelegatingFilterProxy.java line 167
in org.springframework.web.filter.DelegatingFilterProxy doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
CharacterEncodingFilter.java line 88
in org.springframework.web.filter.CharacterEncodingFilter doFilterInternal()
OncePerRequestFilter.java line 76
in org.springframework.web.filter.OncePerRequestFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
ServletHandler.java line 399
in org.mortbay.jetty.servlet.ServletHandler handle()
SecurityHandler.java line 216
in org.mortbay.jetty.security.SecurityHandler handle()
SessionHandler.java line 182
in org.mortbay.jetty.servlet.SessionHandler handle()
SecurityHandler.java line 216
in org.mortbay.jetty.security.SecurityHandler handle()
ContextHandler.java line 767
in org.mortbay.jetty.handler.ContextHandler handle()
WebAppContext.java line 450
in org.mortbay.jetty.webapp.WebAppContext handle()
HandlerWrapper.java line 152
in org.mortbay.jetty.handler.HandlerWrapper handle()
StatisticsHandler.java line 53
in org.mortbay.jetty.handler.StatisticsHandler handle()
HandlerWrapper.java line 152
in org.mortbay.jetty.handler.HandlerWrapper handle()
Server.java line 326
in org.mortbay.jetty.Server handle()
HttpConnection.java line 542
in org.mortbay.jetty.HttpConnection handleRequest()
HttpConnection.java line 928
in org.mortbay.jetty.HttpConnection$RequestHandler headerComplete()
HttpParser.java line 549
in org.mortbay.jetty.HttpParser parseNext()
HttpParser.java line 212
in org.mortbay.jetty.HttpParser parseAvailable()
HttpConnection.java line 404
in org.mortbay.jetty.HttpConnection handle()
SelectChannelEndPoint.java line 410
in org.mortbay.io.nio.SelectChannelEndPoint run()
QueuedThreadPool.java line 582
in org.mortbay.thread.QueuedThreadPool$PoolThread run()

Caused by: javax.persistence.PersistenceException:org.hibernate.exception.GenericJDBCException: Could not open connection
at AbstractEntityManagerImpl.java line 1387
in org.hibernate.ejb.AbstractEntityManagerImpl convert()
Stack Trace:

AbstractEntityManagerImpl.java line 1387
in org.hibernate.ejb.AbstractEntityManagerImpl convert()
AbstractEntityManagerImpl.java line 1310
in org.hibernate.ejb.AbstractEntityManagerImpl convert()
AbstractEntityManagerImpl.java line 1397
in org.hibernate.ejb.AbstractEntityManagerImpl throwPersistenceException()
TransactionImpl.java line 62
in org.hibernate.ejb.TransactionImpl begin()
AbstractWrappedEntityManager.java line 85
in com.cloudera.enterprise.AbstractWrappedEntityManager beginForRollbackAndReadonly()
CmfEntityManager.java line 338
in com.cloudera.cmf.persist.CmfEntityManager beginForRollbackAndReadonly()
AggregateStatusController.java line 811
in com.cloudera.server.web.cmf.AggregateStatusController$HealthInfo <init>()
AggregateStatusController.java line 793
in com.cloudera.server.web.cmf.AggregateStatusController$HealthInfo <init>()
AggregateStatusController.java line 1562
in com.cloudera.server.web.cmf.AggregateStatusController$3 call()
AggregateStatusController.java line 1559
in com.cloudera.server.web.cmf.AggregateStatusController$3 call()
LocalCache.java line 4792
in com.google.common.cache.LocalCache$LocalManualCache$1 load()
LocalCache.java line 3599
in com.google.common.cache.LocalCache$LoadingValueReference loadFuture()
LocalCache.java line 2379
in com.google.common.cache.LocalCache$Segment loadSync()
LocalCache.java line 2342
in com.google.common.cache.LocalCache$Segment lockedGetOrLoad()
LocalCache.java line 2257
in com.google.common.cache.LocalCache$Segment get()
LocalCache.java line 4000
in com.google.common.cache.LocalCache get()
LocalCache.java line 4789
in com.google.common.cache.LocalCache$LocalManualCache get()
AggregateStatusController.java line 1557
in com.cloudera.server.web.cmf.AggregateStatusController getHealthInfo()
AggregateStatusController.java line 464
in com.cloudera.server.web.cmf.AggregateStatusController servicesTable()
line -1
in sun.reflect.GeneratedMethodAccessor1159 invoke()
DelegatingMethodAccessorImpl.java line 43
in sun.reflect.DelegatingMethodAccessorImpl invoke()
Method.java line 606
in java.lang.reflect.Method invoke()
HandlerMethodInvoker.java line 176
in org.springframework.web.bind.annotation.support.HandlerMethodInvoker invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 436
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 424
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter handle()
DispatcherServlet.java line 790
in org.springframework.web.servlet.DispatcherServlet doDispatch()
DispatcherServlet.java line 719
in org.springframework.web.servlet.DispatcherServlet doService()
FrameworkServlet.java line 669
in org.springframework.web.servlet.FrameworkServlet processRequest()
FrameworkServlet.java line 585
in org.springframework.web.servlet.FrameworkServlet doPost()
HttpServlet.java line 727
in javax.servlet.http.HttpServlet service()
HttpServlet.java line 820
in javax.servlet.http.HttpServlet service()
ServletHolder.java line 511
in org.mortbay.jetty.servlet.ServletHolder handle()
ServletHandler.java line 1221
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
UserAgentFilter.java line 78
in org.mortbay.servlet.UserAgentFilter doFilter()
GzipFilter.java line 131
in org.mortbay.servlet.GzipFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JAMonServletFilter.java line 48
in com.jamonapi.http.JAMonServletFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JavaMelodyFacade.java line 109
in com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
FilterChainProxy.java line 311
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterSecurityInterceptor.java line 116
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor invoke()
FilterSecurityInterceptor.java line 83
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ExceptionTranslationFilter.java line 113
in org.springframework.security.web.access.ExceptionTranslationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SessionManagementFilter.java line 101
in org.springframework.security.web.session.SessionManagementFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AnonymousAuthenticationFilter.java line 113
in org.springframework.security.web.authentication.AnonymousAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RememberMeAuthenticationFilter.java line 146
in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextHolderAwareRequestFilter.java line 54
in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RequestCacheAwareFilter.java line 45
in org.springframework.security.web.savedrequest.RequestCacheAwareFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AbstractAuthenticationProcessingFilter.java line 182
in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
LogoutFilter.java line 105
in org.springframework.security.web.authentication.logout.LogoutFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextPersistenceFilter.java line 87
in org.springframework.security.web.context.SecurityContextPersistenceFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ConcurrentSessionFilter.java line 125
in org.springframework.security.web.session.ConcurrentSessionFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterChainProxy.java line 173
in org.springframework.security.web.FilterChainProxy doFilter()
DelegatingFilterProxy.java line 237
in org.springframework.web.filter.DelegatingFilterProxy invokeDelegate()
DelegatingFilterProxy.java line 167
in org.springframework.web.filter.DelegatingFilterProxy doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
CharacterEncodingFilter.java line 88
in org.springframework.web.filter.CharacterEncodingFilter doFilterInternal()
OncePerRequestFilter.java line 76
in org.springframework.web.filter.OncePerRequestFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
ServletHandler.java line 399
in org.mortbay.jetty.servlet.ServletHandler handle()
SecurityHandler.java line 216
in org.mortbay.jetty.security.SecurityHandler handle()
SessionHandler.java line 182
in org.mortbay.jetty.servlet.SessionHandler handle()
SecurityHandler.java line 216
in org.mortbay.jetty.security.SecurityHandler handle()
ContextHandler.java line 767
in org.mortbay.jetty.handler.ContextHandler handle()
WebAppContext.java line 450
in org.mortbay.jetty.webapp.WebAppContext handle()
HandlerWrapper.java line 152
in org.mortbay.jetty.handler.HandlerWrapper handle()
StatisticsHandler.java line 53
in org.mortbay.jetty.handler.StatisticsHandler handle()
HandlerWrapper.java line 152
in org.mortbay.jetty.handler.HandlerWrapper handle()
Server.java line 326
in org.mortbay.jetty.Server handle()
HttpConnection.java line 542
in org.mortbay.jetty.HttpConnection handleRequest()
HttpConnection.java line 928
in org.mortbay.jetty.HttpConnection$RequestHandler headerComplete()
HttpParser.java line 549
in org.mortbay.jetty.HttpParser parseNext()
HttpParser.java line 212
in org.mortbay.jetty.HttpParser parseAvailable()
HttpConnection.java line 404
in org.mortbay.jetty.HttpConnection handle()
SelectChannelEndPoint.java line 410
in org.mortbay.io.nio.SelectChannelEndPoint run()
QueuedThreadPool.java line 582
in org.mortbay.thread.QueuedThreadPool$PoolThread run()

Caused by: org.hibernate.exception.GenericJDBCException:Could not open connection
at StandardSQLExceptionConverter.java line 54
in org.hibernate.exception.internal.StandardSQLExceptionConverter convert()
Stack Trace:

StandardSQLExceptionConverter.java line 54
in org.hibernate.exception.internal.StandardSQLExceptionConverter convert()
SqlExceptionHelper.java line 125
in org.hibernate.engine.jdbc.spi.SqlExceptionHelper convert()
SqlExceptionHelper.java line 110
in org.hibernate.engine.jdbc.spi.SqlExceptionHelper convert()
LogicalConnectionImpl.java line 221
in org.hibernate.engine.jdbc.internal.LogicalConnectionImpl obtainConnection()
LogicalConnectionImpl.java line 157
in org.hibernate.engine.jdbc.internal.LogicalConnectionImpl getConnection()
JdbcTransaction.java line 67
in org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction doBegin()
AbstractTransactionImpl.java line 160
in org.hibernate.engine.transaction.spi.AbstractTransactionImpl begin()
SessionImpl.java line 1426
in org.hibernate.internal.SessionImpl beginTransaction()
TransactionImpl.java line 59
in org.hibernate.ejb.TransactionImpl begin()
AbstractWrappedEntityManager.java line 85
in com.cloudera.enterprise.AbstractWrappedEntityManager beginForRollbackAndReadonly()
CmfEntityManager.java line 338
in com.cloudera.cmf.persist.CmfEntityManager beginForRollbackAndReadonly()
AggregateStatusController.java line 811
in com.cloudera.server.web.cmf.AggregateStatusController$HealthInfo <init>()
AggregateStatusController.java line 793
in com.cloudera.server.web.cmf.AggregateStatusController$HealthInfo <init>()
AggregateStatusController.java line 1562
in com.cloudera.server.web.cmf.AggregateStatusController$3 call()
AggregateStatusController.java line 1559
in com.cloudera.server.web.cmf.AggregateStatusController$3 call()
LocalCache.java line 4792
in com.google.common.cache.LocalCache$LocalManualCache$1 load()
LocalCache.java line 3599
in com.google.common.cache.LocalCache$LoadingValueReference loadFuture()
LocalCache.java line 2379
in com.google.common.cache.LocalCache$Segment loadSync()
LocalCache.java line 2342
in com.google.common.cache.LocalCache$Segment lockedGetOrLoad()
LocalCache.java line 2257
in com.google.common.cache.LocalCache$Segment get()
LocalCache.java line 4000
in com.google.common.cache.LocalCache get()
LocalCache.java line 4789
in com.google.common.cache.LocalCache$LocalManualCache get()
AggregateStatusController.java line 1557
in com.cloudera.server.web.cmf.AggregateStatusController getHealthInfo()
AggregateStatusController.java line 464
in com.cloudera.server.web.cmf.AggregateStatusController servicesTable()
line -1
in sun.reflect.GeneratedMethodAccessor1159 invoke()
DelegatingMethodAccessorImpl.java line 43
in sun.reflect.DelegatingMethodAccessorImpl invoke()
Method.java line 606
in java.lang.reflect.Method invoke()
HandlerMethodInvoker.java line 176
in org.springframework.web.bind.annotation.support.HandlerMethodInvoker invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 436
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 424
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter handle()
DispatcherServlet.java line 790
in org.springframework.web.servlet.DispatcherServlet doDispatch()
DispatcherServlet.java line 719
in org.springframework.web.servlet.DispatcherServlet doService()
FrameworkServlet.java line 669
in org.springframework.web.servlet.FrameworkServlet processRequest()
FrameworkServlet.java line 585
in org.springframework.web.servlet.FrameworkServlet doPost()
HttpServlet.java line 727
in javax.servlet.http.HttpServlet service()
HttpServlet.java line 820
in javax.servlet.http.HttpServlet service()
ServletHolder.java line 511
in org.mortbay.jetty.servlet.ServletHolder handle()
ServletHandler.java line 1221
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
UserAgentFilter.java line 78
in org.mortbay.servlet.UserAgentFilter doFilter()
GzipFilter.java line 131
in org.mortbay.servlet.GzipFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JAMonServletFilter.java line 48
in com.jamonapi.http.JAMonServletFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JavaMelodyFacade.java line 109
in com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
FilterChainProxy.java line 311
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterSecurityInterceptor.java line 116
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor invoke()
FilterSecurityInterceptor.java line 83
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ExceptionTranslationFilter.java line 113
in org.springframework.security.web.access.ExceptionTranslationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SessionManagementFilter.java line 101
in org.springframework.security.web.session.SessionManagementFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AnonymousAuthenticationFilter.java line 113
in org.springframework.security.web.authentication.AnonymousAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RememberMeAuthenticationFilter.java line 146
in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextHolderAwareRequestFilter.java line 54
in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RequestCacheAwareFilter.java line 45
in org.springframework.security.web.savedrequest.RequestCacheAwareFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AbstractAuthenticationProcessingFilter.java line 182
in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
LogoutFilter.java line 105
in org.springframework.security.web.authentication.logout.LogoutFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextPersistenceFilter.java line 87
in org.springframework.security.web.context.SecurityContextPersistenceFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ConcurrentSessionFilter.java line 125
in org.springframework.security.web.session.ConcurrentSessionFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterChainProxy.java line 173
in org.springframework.security.web.FilterChainProxy doFilter()
DelegatingFilterProxy.java line 237
in org.springframework.web.filter.DelegatingFilterProxy invokeDelegate()
DelegatingFilterProxy.java line 167
in org.springframework.web.filter.DelegatingFilterProxy doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
CharacterEncodingFilter.java line 88
in org.springframework.web.filter.CharacterEncodingFilter doFilterInternal()
OncePerRequestFilter.java line 76
in org.springframework.web.filter.OncePerRequestFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
ServletHandler.java line 399
in org.mortbay.jetty.servlet.ServletHandler handle()
SecurityHandler.java line 216
in org.mortbay.jetty.security.SecurityHandler handle()
SessionHandler.java line 182
in org.mortbay.jetty.servlet.SessionHandler handle()
SecurityHandler.java line 216
in org.mortbay.jetty.security.SecurityHandler handle()
ContextHandler.java line 767
in org.mortbay.jetty.handler.ContextHandler handle()
WebAppContext.java line 450
in org.mortbay.jetty.webapp.WebAppContext handle()
HandlerWrapper.java line 152
in org.mortbay.jetty.handler.HandlerWrapper handle()
StatisticsHandler.java line 53
in org.mortbay.jetty.handler.StatisticsHandler handle()
HandlerWrapper.java line 152
in org.mortbay.jetty.handler.HandlerWrapper handle()
Server.java line 326
in org.mortbay.jetty.Server handle()
HttpConnection.java line 542
in org.mortbay.jetty.HttpConnection handleRequest()
HttpConnection.java line 928
in org.mortbay.jetty.HttpConnection$RequestHandler headerComplete()
HttpParser.java line 549
in org.mortbay.jetty.HttpParser parseNext()
HttpParser.java line 212
in org.mortbay.jetty.HttpParser parseAvailable()
HttpConnection.java line 404
in org.mortbay.jetty.HttpConnection handle()
SelectChannelEndPoint.java line 410
in org.mortbay.io.nio.SelectChannelEndPoint run()
QueuedThreadPool.java line 582
in org.mortbay.thread.QueuedThreadPool$PoolThread run()

Caused by: java.sql.SQLException:Connections could not be acquired from the underlying database!
at SqlUtils.java line 106
in com.mchange.v2.sql.SqlUtils toSQLException()
Stack Trace:

SqlUtils.java line 106
in com.mchange.v2.sql.SqlUtils toSQLException()
C3P0PooledConnectionPool.java line 529
in com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool checkoutPooledConnection()
AbstractPoolBackedDataSource.java line 128
in com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getConnection()
C3P0ConnectionProvider.java line 84
in org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider getConnection()
AbstractSessionImpl.java line 292
in org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess obtainConnection()
LogicalConnectionImpl.java line 214
in org.hibernate.engine.jdbc.internal.LogicalConnectionImpl obtainConnection()
LogicalConnectionImpl.java line 157
in org.hibernate.engine.jdbc.internal.LogicalConnectionImpl getConnection()
JdbcTransaction.java line 67
in org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction doBegin()
AbstractTransactionImpl.java line 160
in org.hibernate.engine.transaction.spi.AbstractTransactionImpl begin()
SessionImpl.java line 1426
in org.hibernate.internal.SessionImpl beginTransaction()
TransactionImpl.java line 59
in org.hibernate.ejb.TransactionImpl begin()
AbstractWrappedEntityManager.java line 85
in com.cloudera.enterprise.AbstractWrappedEntityManager beginForRollbackAndReadonly()
CmfEntityManager.java line 338
in com.cloudera.cmf.persist.CmfEntityManager beginForRollbackAndReadonly()
AggregateStatusController.java line 811
in com.cloudera.server.web.cmf.AggregateStatusController$HealthInfo <init>()
AggregateStatusController.java line 793
in com.cloudera.server.web.cmf.AggregateStatusController$HealthInfo <init>()
AggregateStatusController.java line 1562
in com.cloudera.server.web.cmf.AggregateStatusController$3 call()
AggregateStatusController.java line 1559
in com.cloudera.server.web.cmf.AggregateStatusController$3 call()
LocalCache.java line 4792
in com.google.common.cache.LocalCache$LocalManualCache$1 load()
LocalCache.java line 3599
in com.google.common.cache.LocalCache$LoadingValueReference loadFuture()
LocalCache.java line 2379
in com.google.common.cache.LocalCache$Segment loadSync()
LocalCache.java line 2342
in com.google.common.cache.LocalCache$Segment lockedGetOrLoad()
LocalCache.java line 2257
in com.google.common.cache.LocalCache$Segment get()
LocalCache.java line 4000
in com.google.common.cache.LocalCache get()
LocalCache.java line 4789
in com.google.common.cache.LocalCache$LocalManualCache get()
AggregateStatusController.java line 1557
in com.cloudera.server.web.cmf.AggregateStatusController getHealthInfo()
AggregateStatusController.java line 464
in com.cloudera.server.web.cmf.AggregateStatusController servicesTable()
line -1
in sun.reflect.GeneratedMethodAccessor1159 invoke()
DelegatingMethodAccessorImpl.java line 43
in sun.reflect.DelegatingMethodAccessorImpl invoke()
Method.java line 606
in java.lang.reflect.Method invoke()
HandlerMethodInvoker.java line 176
in org.springframework.web.bind.annotation.support.HandlerMethodInvoker invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 436
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 424
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter handle()
DispatcherServlet.java line 790
in org.springframework.web.servlet.DispatcherServlet doDispatch()
DispatcherServlet.java line 719
in org.springframework.web.servlet.DispatcherServlet doService()
FrameworkServlet.java line 669
in org.springframework.web.servlet.FrameworkServlet processRequest()
FrameworkServlet.java line 585
in org.springframework.web.servlet.FrameworkServlet doPost()
HttpServlet.java line 727
in javax.servlet.http.HttpServlet service()
HttpServlet.java line 820
in javax.servlet.http.HttpServlet service()
ServletHolder.java line 511
in org.mortbay.jetty.servlet.ServletHolder handle()
ServletHandler.java line 1221
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
UserAgentFilter.java line 78
in org.mortbay.servlet.UserAgentFilter doFilter()
GzipFilter.java line 131
in org.mortbay.servlet.GzipFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JAMonServletFilter.java line 48
in com.jamonapi.http.JAMonServletFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JavaMelodyFacade.java line 109
in com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
FilterChainProxy.java line 311
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterSecurityInterceptor.java line 116
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor invoke()
FilterSecurityInterceptor.java line 83
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ExceptionTranslationFilter.java line 113
in org.springframework.security.web.access.ExceptionTranslationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SessionManagementFilter.java line 101
in org.springframework.security.web.session.SessionManagementFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AnonymousAuthenticationFilter.java line 113
in org.springframework.security.web.authentication.AnonymousAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RememberMeAuthenticationFilter.java line 146
in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextHolderAwareRequestFilter.java line 54
in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RequestCacheAwareFilter.java line 45
in org.springframework.security.web.savedrequest.RequestCacheAwareFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AbstractAuthenticationProcessingFilter.java line 182
in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
LogoutFilter.java line 105
in org.springframework.security.web.authentication.logout.LogoutFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextPersistenceFilter.java line 87
in org.springframework.security.web.context.SecurityContextPersistenceFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ConcurrentSessionFilter.java line 125
in org.springframework.security.web.session.ConcurrentSessionFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterChainProxy.java line 173
in org.springframework.security.web.FilterChainProxy doFilter()
DelegatingFilterProxy.java line 237
in org.springframework.web.filter.DelegatingFilterProxy invokeDelegate()
DelegatingFilterProxy.java line 167
in org.springframework.web.filter.DelegatingFilterProxy doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
CharacterEncodingFilter.java line 88
in org.springframework.web.filter.CharacterEncodingFilter doFilterInternal()
OncePerRequestFilter.java line 76
in org.springframework.web.filter.OncePerRequestFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
ServletHandler.java line 399
in org.mortbay.jetty.servlet.ServletHandler handle()
SecurityHandler.java line 216
in org.mortbay.jetty.security.SecurityHandler handle()
SessionHandler.java line 182
in org.mortbay.jetty.servlet.SessionHandler handle()
SecurityHandler.java line 216
in org.mortbay.jetty.security.SecurityHandler handle()
ContextHandler.java line 767
in org.mortbay.jetty.handler.ContextHandler handle()
WebAppContext.java line 450
in org.mortbay.jetty.webapp.WebAppContext handle()
HandlerWrapper.java line 152
in org.mortbay.jetty.handler.HandlerWrapper handle()
StatisticsHandler.java line 53
in org.mortbay.jetty.handler.StatisticsHandler handle()
HandlerWrapper.java line 152
in org.mortbay.jetty.handler.HandlerWrapper handle()
Server.java line 326
in org.mortbay.jetty.Server handle()
HttpConnection.java line 542
in org.mortbay.jetty.HttpConnection handleRequest()
HttpConnection.java line 928
in org.mortbay.jetty.HttpConnection$RequestHandler headerComplete()
HttpParser.java line 549
in org.mortbay.jetty.HttpParser parseNext()
HttpParser.java line 212
in org.mortbay.jetty.HttpParser parseAvailable()
HttpConnection.java line 404
in org.mortbay.jetty.HttpConnection handle()
SelectChannelEndPoint.java line 410
in org.mortbay.io.nio.SelectChannelEndPoint run()
QueuedThreadPool.java line 582
in org.mortbay.thread.QueuedThreadPool$PoolThread run()

Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException:A ResourcePool could not acquire a resource from its primary factory or source.
at BasicResourcePool.java line 1319
in com.mchange.v2.resourcepool.BasicResourcePool awaitAvailable()
Stack Trace:

BasicResourcePool.java line 1319
in com.mchange.v2.resourcepool.BasicResourcePool awaitAvailable()
BasicResourcePool.java line 557
in com.mchange.v2.resourcepool.BasicResourcePool prelimCheckoutResource()
BasicResourcePool.java line 477
in com.mchange.v2.resourcepool.BasicResourcePool checkoutResource()
C3P0PooledConnectionPool.java line 525
in com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool checkoutPooledConnection()
AbstractPoolBackedDataSource.java line 128
in com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getConnection()
C3P0ConnectionProvider.java line 84
in org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider getConnection()
AbstractSessionImpl.java line 292
in org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess obtainConnection()
LogicalConnectionImpl.java line 214
in org.hibernate.engine.jdbc.internal.LogicalConnectionImpl obtainConnection()
LogicalConnectionImpl.java line 157
in org.hibernate.engine.jdbc.internal.LogicalConnectionImpl getConnection()
JdbcTransaction.java line 67
in org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction doBegin()
AbstractTransactionImpl.java line 160
in org.hibernate.engine.transaction.spi.AbstractTransactionImpl begin()
SessionImpl.java line 1426
in org.hibernate.internal.SessionImpl beginTransaction()
TransactionImpl.java line 59
in org.hibernate.ejb.TransactionImpl begin()
AbstractWrappedEntityManager.java line 85
in com.cloudera.enterprise.AbstractWrappedEntityManager beginForRollbackAndReadonly()
CmfEntityManager.java line 338
in com.cloudera.cmf.persist.CmfEntityManager beginForRollbackAndReadonly()
AggregateStatusController.java line 811
in com.cloudera.server.web.cmf.AggregateStatusController$HealthInfo <init>()
AggregateStatusController.java line 793
in com.cloudera.server.web.cmf.AggregateStatusController$HealthInfo <init>()
AggregateStatusController.java line 1562
in com.cloudera.server.web.cmf.AggregateStatusController$3 call()
AggregateStatusController.java line 1559
in com.cloudera.server.web.cmf.AggregateStatusController$3 call()
LocalCache.java line 4792
in com.google.common.cache.LocalCache$LocalManualCache$1 load()
LocalCache.java line 3599
in com.google.common.cache.LocalCache$LoadingValueReference loadFuture()
LocalCache.java line 2379
in com.google.common.cache.LocalCache$Segment loadSync()
LocalCache.java line 2342
in com.google.common.cache.LocalCache$Segment lockedGetOrLoad()
LocalCache.java line 2257
in com.google.common.cache.LocalCache$Segment get()
LocalCache.java line 4000
in com.google.common.cache.LocalCache get()
LocalCache.java line 4789
in com.google.common.cache.LocalCache$LocalManualCache get()
AggregateStatusController.java line 1557
in com.cloudera.server.web.cmf.AggregateStatusController getHealthInfo()
AggregateStatusController.java line 464
in com.cloudera.server.web.cmf.AggregateStatusController servicesTable()
line -1
in sun.reflect.GeneratedMethodAccessor1159 invoke()
DelegatingMethodAccessorImpl.java line 43
in sun.reflect.DelegatingMethodAccessorImpl invoke()
Method.java line 606
in java.lang.reflect.Method invoke()
HandlerMethodInvoker.java line 176
in org.springframework.web.bind.annotation.support.HandlerMethodInvoker invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 436
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter invokeHandlerMethod()
AnnotationMethodHandlerAdapter.java line 424
in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter handle()
DispatcherServlet.java line 790
in org.springframework.web.servlet.DispatcherServlet doDispatch()
DispatcherServlet.java line 719
in org.springframework.web.servlet.DispatcherServlet doService()
FrameworkServlet.java line 669
in org.springframework.web.servlet.FrameworkServlet processRequest()
FrameworkServlet.java line 585
in org.springframework.web.servlet.FrameworkServlet doPost()
HttpServlet.java line 727
in javax.servlet.http.HttpServlet service()
HttpServlet.java line 820
in javax.servlet.http.HttpServlet service()
ServletHolder.java line 511
in org.mortbay.jetty.servlet.ServletHolder handle()
ServletHandler.java line 1221
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
UserAgentFilter.java line 78
in org.mortbay.servlet.UserAgentFilter doFilter()
GzipFilter.java line 131
in org.mortbay.servlet.GzipFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JAMonServletFilter.java line 48
in com.jamonapi.http.JAMonServletFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
JavaMelodyFacade.java line 109
in com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter doFilter()
ServletHandler.java line 1212
in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
FilterChainProxy.java line 311
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
FilterSecurityInterceptor.java line 116
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor invoke()
FilterSecurityInterceptor.java line 83
in org.springframework.security.web.access.intercept.FilterSecurityInterceptor doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
ExceptionTranslationFilter.java line 113
in org.springframework.security.web.access.ExceptionTranslationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SessionManagementFilter.java line 101
in org.springframework.security.web.session.SessionManagementFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AnonymousAuthenticationFilter.java line 113
in org.springframework.security.web.authentication.AnonymousAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RememberMeAuthenticationFilter.java line 146
in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextHolderAwareRequestFilter.java line 54
in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
RequestCacheAwareFilter.java line 45
in org.springframework.security.web.savedrequest.RequestCacheAwareFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
AbstractAuthenticationProcessingFilter.java line 182
in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
LogoutFilter.java line 105
in org.springframework.security.web.authentication.logout.LogoutFilter doFilter()
FilterChainProxy.java line 323
in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
SecurityContextPersistenceFilter.java line 87
in org.springfram

Posts: 1,007
Kudos: 119
Solutions: 62
Registered: ‎04-06-2015

Re: Keep getting Hibernate error in CDH5.8

I think it would be good to include some additional information about your current VM (which platform) and the resources allocated to it. My personal experience with the VM is limited but I can usually pick out simple issues related the installation. This one is new to me but lets get the additional information in case it helps you get an answer quicker. :)


Cy Jervis, Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Contributor
Posts: 27
Registered: ‎04-09-2016

Re: Keep getting Hibernate error in CDH5.8

vmware.JPGVmware settings

Contributor
Posts: 27
Registered: ‎04-09-2016

Re: Keep getting Hibernate error in CDH5.8

vmware1.JPGNo of cores per processor