grouper-users - [grouper-users] RE: Hibernate Error running Grouper UI
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: "Klug, Lawrence" <>, "" <>
- Subject: [grouper-users] RE: Hibernate Error running Grouper UI
- Date: Fri, 20 Apr 2012 14:17:39 +0000
- Accept-language: en-US
Sent: Thursday, April 19, 2012 6:30 PM
To:
Subject: [grouper-users] Hibernate Error running Grouper UI
Hi,
I’m getting this Hibernate error after upgrading to 2.1 – MYSQL - running from Eclipse.
Any Ideas of the cause?
Thanks,
Lawrence
2012-04-19 10:43:45,336: [main] FATAL RegistryInstall.install(97) - - unable to initialize registry: unable to retrieve GrouperSystem: unable to initialize hibernate: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge],
Problem in HibernateSession: null,
Exception in uniqueResult: (class edu.internet2.middleware.grouper.Member), ByHqlStatic, query: 'from Member as m where m.subjectIdDb = :sid and m.subjectSourceIdDb = :source and m.subjectTypeId = :type', cacheable: true, cacheRegion: edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.FindBySubject, tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String): 'sid'->'GrouperSystem', Bind var[1]: 'Param (class java.lang.String): 'type'->'application'Bind var[2]: 'Param (class java.lang.String): 'source'->'g:isa',
edu.internet2.middleware.grouper.exception.GrouperException: unable to retrieve GrouperSystem: unable to initialize hibernate: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge],
Problem in HibernateSession: null,
Exception in uniqueResult: (class edu.internet2.middleware.grouper.Member), ByHqlStatic, query: 'from Member as m where m.subjectIdDb = :sid and m.subjectSourceIdDb = :source and m.subjectTypeId = :type', cacheable: true, cacheRegion: edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.FindBySubject, tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String): 'sid'->'GrouperSystem', Bind var[1]: 'Param (class java.lang.String): 'type'->'application'Bind var[2]: 'Param (class java.lang.String): 'source'->'g:isa',
at edu.internet2.middleware.grouper.SubjectFinder.findRootSubject(SubjectFinder.java:698)
at edu.internet2.middleware.grouper.registry.RegistryInstall.install(RegistryInstall.java:63)
at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:750)
at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:189)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)
Caused by: java.lang.RuntimeException: unable to initialize hibernate: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge],
Problem in HibernateSession: null,
Exception in uniqueResult: (class edu.internet2.middleware.grouper.Member), ByHqlStatic, query: 'from Member as m where m.subjectIdDb = :sid and m.subjectSourceIdDb = :source and m.subjectTypeId = :type', cacheable: true, cacheRegion: edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.FindBySubject, tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String): 'sid'->'GrouperSystem', Bind var[1]: 'Param (class java.lang.String): 'type'->'application'Bind var[2]: 'Param (class java.lang.String): 'source'->'g:isa',
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.initHibernateIfNotInitted(Hib3DAO.java:219)
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.session(Hib3DAO.java:303)
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAOFactory.getSession(Hib3DAOFactory.java:179)
at edu.internet2.middleware.grouper.hibernate.HibernateSession.<init>(HibernateSession.java:138)
at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSession(HibernateSession.java:345)
at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:505)
at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:297)
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:202)
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:184)
at edu.internet2.middleware.grouper.MemberFinder.internal_findOrCreateBySubject(MemberFinder.java:330)
at edu.internet2.middleware.grouper.MemberFinder.internal_findBySubject(MemberFinder.java:294)
at edu.internet2.middleware.grouper.GrouperSession.start(GrouperSession.java:281)
at edu.internet2.middleware.grouper.GrouperSourceAdapter.internal_getSessionOrRootForSubjectFinder(GrouperSourceAdapter.java:528)
at edu.internet2.middleware.grouper.subj.CachingResolver.getFromFindCache(CachingResolver.java:236)
at edu.internet2.middleware.grouper.subj.CachingResolver.find(CachingResolver.java:126)
at edu.internet2.middleware.grouper.subj.ValidatingResolver.find(ValidatingResolver.java:89)
at edu.internet2.middleware.grouper.SubjectFinder.findRootSubject(SubjectFinder.java:695)
... 10 more
Caused by: org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge]
at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:423)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:280)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.initHibernateIfNotInitted(Hib3DAO.java:205)
... 26 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:409)
... 31 more
Caused by: org.hibernate.cache.CacheException: could not instantiate CacheProvider [org.hibernate.cache.EhCacheProvider]
at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.<init>(RegionFactoryCacheProviderBridge.java:66)
... 36 more
Caused by: java.lang.ClassNotFoundException: org.hibernate.cache.EhCacheProvider
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)
at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.<init>(RegionFactoryCacheProviderBridge.java:63)
... 36 more
Lawrence Klug
IMS Platform Development
310 825-2061
ext 52061
- [grouper-users] Hibernate Error running Grouper UI, Klug, Lawrence, 04/19/2012
- [grouper-users] RE: Hibernate Error running Grouper UI, Chris Hyzer, 04/20/2012
Archive powered by MHonArc 2.6.16.