org.springframework.orm.hibernate4.HibernateSystemException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]; nested exception is org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]

Stack Overflow | BALAJI RAJ | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    KAA IoT Server Configuration - Spring+Hibernate Exception

    Stack Overflow | 7 months ago | BALAJI RAJ
    org.springframework.orm.hibernate4.HibernateSystemException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]; nested exception is org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
  2. 0

    Server Configuration - Spring+Hibernate Exception

    Google Groups | 7 months ago | Lakshmi R
    org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
  3. 0

    Spring/Hibernate: org.hibernate.service.UnknownServiceException: Unknown service requested

    Stack Overflow | 2 years ago | Stefan Falk
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List com.mahlzeit.web.shared.service.restaurant.RestaurantInformationService.getAvailableRestaurants()' threw an unexpected exception: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.service.jdbc.connections.spi.ConnectionProvider]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Calling getCurrentSession() getting: org.hibernate.service.UnknownServiceException: Unknown service requested

    Stack Overflow | 2 years ago | Stefan Falk
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List com.mahlzeit.web.shared.service.restaurant.RestaurantInformationService.getAvailableRestaurants()' threw an unexpected exception: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.service.jdbc.connections.spi.ConnectionProvider]
  6. 0

    Getting: org.hibernate.service.UnknownServiceException: Unknown service requested

    Stack Overflow | 2 years ago | Stefan Falk
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List com.mahlzeit.web.shared.service.restaurant.RestaurantInformationService.getAvailableRestaurants()' threw an unexpected exception: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.service.jdbc.connections.spi.ConnectionProvider]

  1. DoktorDoener666 5 times, last 2 months ago
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hibernate.service.UnknownServiceException

    Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]

    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService()
  2. Hibernate
    SessionFactoryImpl.openSession
    1. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:201)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    2. org.hibernate.internal.AbstractSessionImpl.getJdbcConnectionAccess(AbstractSessionImpl.java:341)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    3. org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.<init>(JdbcCoordinatorImpl.java:114)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    4. org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.<init>(TransactionCoordinatorImpl.java:89)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    5. org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:258)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    6. org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1589)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    7. org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:999)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    7 frames
  3. Spring ORM
    SpringSessionContext.currentSession
    1. org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:122)[spring-orm-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    1 frame
  4. Hibernate
    SessionFactoryImpl.getCurrentSession
    1. org.hibernate.internal.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:1014)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    1 frame
  5. org.kaaproject.kaa
    HibernateAbstractDao.find
    1. org.kaaproject.kaa.server.common.dao.impl.sql.HibernateAbstractDao.getSession(HibernateAbstractDao.java:56)[dao-0.9.0.jar:na]
    2. org.kaaproject.kaa.server.common.dao.impl.sql.HibernateAbstractDao.getSession(HibernateAbstractDao.java:63)[dao-0.9.0.jar:na]
    3. org.kaaproject.kaa.server.common.dao.impl.sql.HibernateAbstractDao.getCriteria(HibernateAbstractDao.java:72)[dao-0.9.0.jar:na]
    4. org.kaaproject.kaa.server.common.dao.impl.sql.HibernateAbstractDao.find(HibernateAbstractDao.java:227)[dao-0.9.0.jar:na]
    4 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
    4 frames
  7. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3 frames
  8. Spring Tx
    PersistenceExceptionTranslationInterceptor.invoke
    1. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    1 frame
  9. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2 frames
  10. com.sun.proxy
    $Proxy113.find
    1. com.sun.proxy.$Proxy113.find(Unknown Source)[na:na]
    1 frame
  11. org.kaaproject.kaa
    UserServiceImpl.findAllTenantAdmins
    1. org.kaaproject.kaa.server.common.dao.service.UserServiceImpl.findAllTenants(UserServiceImpl.java:135)[dao-0.9.0.jar:na]
    2. org.kaaproject.kaa.server.common.dao.service.UserServiceImpl.findAllTenantAdmins(UserServiceImpl.java:146)[dao-0.9.0.jar:na]
    2 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
    4 frames
  13. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3 frames
  14. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    3 frames
  15. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2 frames
  16. com.sun.proxy
    $Proxy114.findAllTenantAdmins
    1. com.sun.proxy.$Proxy114.findAllTenantAdmins(Unknown Source)[na:na]
    1 frame
  17. org.kaaproject.kaa
    KaaAdminServiceImpl.getTenants
    1. org.kaaproject.kaa.server.control.service.DefaultControlService.getTenantAdmins(DefaultControlService.java:406)[kaa-node-0.9.0.jar:na]
    2. org.kaaproject.kaa.server.admin.services.KaaAdminServiceImpl.getTenants(KaaAdminServiceImpl.java:439)[kaa-node-0.9.0.jar:na]
    2 frames
  18. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
    4 frames
  19. org.spring4gwt.server
    SpringGwtRemoteServiceServlet.processCall
    1. org.spring4gwt.server.RPCHelper.invokeAndEncodeResponse(RPCHelper.java:56)[kaa-node-0.9.0.jar:na]
    2. org.spring4gwt.server.RPCHelper.invokeAndEncodeResponse(RPCHelper.java:40)[kaa-node-0.9.0.jar:na]
    3. org.spring4gwt.server.SpringGwtRemoteServiceServlet.processCall(SpringGwtRemoteServiceServlet.java:59)[kaa-node-0.9.0.jar:na]
    3 frames
  20. Jetty Contrib :: jetty-gwt RemoteServiceServlet
    AbstractRemoteServiceServlet.doPost
    1. com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)[gwt-user-2.7.0.jar:na]
    2. com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)[gwt-user-2.7.0.jar:na]
    2 frames
  21. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:755)[gwt-user-2.7.0.jar:na]
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)[gwt-user-2.7.0.jar:na]
    2 frames
  22. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)[jetty-servlet-9.2.2.v20140723.jar:9.2.2.v20140723]
    2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667)[jetty-servlet-9.2.2.v20140723.jar:9.2.2.v20140723]
    2 frames
  23. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    7. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    9. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    11. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    13. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    15. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    16. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    17. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    18. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    18 frames
  24. org.springframework.security
    WebAsyncManagerIntegrationFilter.doFilterInternal
    1. org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    1 frame
  25. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    1 frame
  26. Spring Security
    FilterChainProxy.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    2. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    4. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    5. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)[spring-security-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    5 frames
  27. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    2 frames
  28. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)[jetty-servlet-9.2.2.v20140723.jar:9.2.2.v20140723]
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)[jetty-servlet-9.2.2.v20140723.jar:9.2.2.v20140723]
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[jetty-security-9.2.2.v20140723.jar:9.2.2.v20140723]
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-servlet-9.2.2.v20140723.jar:9.2.2.v20140723]
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    12. org.eclipse.jetty.server.Server.handle(Server.java:485)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:290)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)[jetty-server-9.2.2.v20140723.jar:9.2.2.v20140723]
    15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[jetty-io-9.2.2.v20140723.jar:9.2.2.v20140723]
    16. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:606)[jetty-util-9.2.2.v20140723.jar:9.2.2.v20140723]
    17. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:535)[jetty-util-9.2.2.v20140723.jar:9.2.2.v20140723]
    17 frames
  29. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
    1 frame