Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Scott Koranda <>, grouper-users <>
  • Subject: RE: [grouper-users] Re: upgrade with grouperInstaller.jar problem generating DDL script
  • Date: Thu, 23 Jun 2016 21:50:17 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Can you send a list of your jar names on the classpath? When did you
download the installer? If not recently, can you download again and try?

Thanks
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Scott Koranda
Sent: Thursday, June 23, 2016 5:38 PM
To: grouper-users
<>
Subject: [grouper-users] Re: upgrade with grouperInstaller.jar problem
generating DDL script

> > Hi,
> >
> > I am using the grouperInstaller.jar from version 2.3.0 to
> > attempt to upgrade from version 2.1.5 to 2.3.0.
> >
> > I am focusing first on upgrading the API.
> >
> > During the upgrade process I am receiving the error with stack
> > trace shown below.
> >
> > Note that I have given the process 2000m of memory.
> >
> > Any ideas on how I should proceed?
> >
>
> I should add that grouper_error.log has this:
>
>
> 2016-06-23 17:03:28,851: [main] WARN GrouperStartup.printConfigOnce(167) -
> - Grouper starting up: version: 2.3.0, build date: 2016/04/16 05:37:21,
> env: GROUPDEV
> grouper.properties read from:
> /opt/grouper/grouper.api-2.1.5/conf/grouper.properties
> Grouper current directory is: /opt/grouper/grouper.api-2.1.5/bin
> log4j.properties read from:
> /opt/grouper/grouper.api-2.1.5/conf/log4j.properties
> Grouper logs are not using log4j: class
> org.apache.commons.logging.impl.SLF4JLocationAwareLog
> grouper.hibernate.properties:
> /opt/grouper/grouper.api-2.1.5/conf/grouper.hibernate.properties
> grouper.hibernate.properties:
> grouper@jdbc:oracle:thin:@myorg.edu:1521:GRPDEV
> sources.xml read from:
> /opt/grouper/grouper.api-2.1.5/conf/sources.xml
> sources.xml groupersource id: g:gsa
> sources.xml ldap source id: MYORG: ldap.properties
> sources.xml groupersource id: grouperEntities
> 2016-06-23 17:03:33,356: [main] ERROR
> Hib3DAO.initHibernateIfNotInitted(236) - - unable to initialize hibernate:
> Unable to create requested service [org.hibernate.cache.spi.RegionFactory]
> org.hibernate.service.spi.ServiceException: Unable to create requested
> service [org.hibernate.cache.spi.RegionFactory]
> at
> org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:244)
> at
> org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:208)
> at
> org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:189)
> at
> org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl.<init>(MetadataBuilderImpl.java:663)
> at
> org.hibernate.boot.internal.MetadataBuilderImpl.<init>(MetadataBuilderImpl.java:127)
> at
> org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:135)
> at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:655)
> at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
> at
> edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.initHibernateIfNotInitted(Hib3DAO.java:223)
> at
> edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:263)
> at
> edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:162)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
> at
> edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
> Caused by: org.hibernate.HibernateException: could not instantiate
> RegionFactory [net.sf.ehcache.hibernate.EhCacheRegionFactory]
> at
> org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:84)
> at
> org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:29)
> at
> org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
> at
> org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:234)
> ... 17 more
> Caused by:
> org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable
> to resolve name [net.sf.ehcache.hibernate.EhCacheRegionFactory] as strategy
> [org.hibernate.cache.spi.RegionFactory]
> at
> org.hibernate.boot.registry.selector.internal.StrategySelectorImpl.selectStrategyImplementor(StrategySelectorImpl.java:113)
> at
> org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:71)
> ... 20 more
> 2016-06-23 17:03:35,784: [main] ERROR
> GrouperDdlUtils.retrieveDdlsFromCache(1533) - - maybe the grouper_ddl
> table isnt there... if that is the reason its ok. info level logging will
> show underlying reason.Problem in HibernateSession: null,
> Exception in list: (class
> edu.internet2.middleware.grouper.app.loader.db.Hib3GrouperDdl),
> ByCriteriaStatic, persistentClass: 'class
> edu.internet2.middleware.grouper.app.loader.db.Hib3GrouperDdl', criterions:
> null', cacheable: null, cacheRegion: null, entityName: null, tx type: null
> 2016-06-23 17:03:35,827: [main] ERROR GrouperDdlUtils.bootstrapHelper(486)
> - - Grouper ddl object type 'Grouper' has dbVersion: 0 and java version: 30
>

I changed the logging level to INFO as suggested in the log
entry above. It only added these lines:

2016-06-23 17:33:51,406: [main] INFO Version.logVersion(37) - - HHH000412:
Hibernate Core {5.0.4.Final}
2016-06-23 17:33:51,409: [main] INFO Environment.<clinit>(213) - -
HHH000206: hibernate.properties not found
2016-06-23 17:33:51,411: [main] INFO Environment.buildBytecodeProvider(317) -
- HHH000021: Bytecode provider name : javassist

Thanks,

Scott K




Archive powered by MHonArc 2.6.16.

Top of Page