Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Grouper 2.5.29 Installer errors on hibernate connections

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Grouper 2.5.29 Installer errors on hibernate connections


Chronological Thread 
  • From: "Hafer, Christopher G" <>
  • To: "Hyzer, Chris" <>, Grouper Users <>
  • Subject: RE: [grouper-users] Grouper 2.5.29 Installer errors on hibernate connections
  • Date: Tue, 21 Jul 2020 20:12:00 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=musc.edu; dmarc=pass action=none header.from=musc.edu; dkim=pass header.d=musc.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CBN6CYppGyte/aw9+6XrS2huACmYmLXnAddLOSNUoYM=; b=ZIbHUTCCyLCpkNqigw0doquo8QyrYxsP/LVs2+uh4z4Mj3VQ+QkHJnYZsL1R4iJn3F7N+P1xSD4ddhJ56+BOxuPzDhUqHjJFJ+LGZ8xBkBuDx4g5LVcUNvaU7T1rJ7LwmT6Pr4T5ufdQ4ejNZ7K+hGCAn1y+sH+ekQ//BlC9Qf0zSMP/AqiPWB73JYL3HgzMLURcNw6dRFpZs4LsUqAsdPOYSGuZGhVUTW0brIvxgtmo8cXRbspv8PYUuykISyH5cwM9fBjvBczqOJmkabyE9iVs5mk4sIbxCMfFnm1oajmFYoa8Pj5CZmYBQ6Y1601uRBVWxFY6VIkAPUZBC/JXlw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B5RZojlK2fuA/N8KqtvaV9xieP8nssIoUMFF5TApw9JHrZ4qZQ3nwUGCU2MUg0ZE15H/PH2W7ipS1xQ8/cIJW3vK7guA4MliDk2P9XxhYAecuMr8IF7ukyDJK2CzpWpWklkDHQoQUQOg4Ixd0A0+HF728VGTYsEmrjGk6dUFnSm65f3jBa1THtqQOSvMYQDa9zVPRoX7JigxRLNto1tklXLAjsqopY2Dfk6X8eaOgXPj10xlCc2l/79FapFV5Tj5G92b30hwtHQ0z18m4ZPJNknTUoANhEQFR5Nlp+nZSO1xkktIpOGTKn3s0hCplMm9HSjwGCRZXK75uPdT06Y3ZA==

Thanks Chris,  I’ll try the manual install.  I didn’t see any information that the ‘installer’ only works up to, or for, a specific version.  The website says to use the ‘latest stable version’ and I was able to download a jar for v2.5.29 which is the latest version at this time.    

 

https://spaces.at.internet2.edu/display/Grouper/Install+the+Grouper+v2.5+container+with+maturity+level+0+using+installer

Grouper installer will install the container

See which container to user from release notes.  In this case we will do 2.5.19 but you should substitute for latest stable version

 

Thank you,
Christopher G. Hafer

MUSC Information Solutions

Integration Engineer II | Business Application Integrations

Medical University of South Carolina

| Ph: 843-209-3315

 

"Harnessing the power of information to improve the lives we touch"

 

From: Hyzer, Chris <>
Sent: Tuesday, July 21, 2020 3:41 PM
To: Grouper Users <>; Hafer, Christopher G <>
Subject: Re: [grouper-users] Grouper 2.5.29 Installer errors on hibernate connections

 

CAUTION: External

I think the installer only works on 2.5.22... want to try that, and then once its installed you could upgrade?   Or use the manual method?

 

thanks

Chris

 


From: <> on behalf of Hafer, Christopher G <>
Sent: Tuesday, July 21, 2020 1:44 PM
To: Grouper Users <>
Subject: [grouper-users] Grouper 2.5.29 Installer errors on hibernate connections

 

Good afternoon, I am getting the below error for a PostgreSQL 10 database when running the Grouper installer jar "grouper-installer-2.5.29.jar" as root.  Using openjdk version "1.8.0_252" and JAVA_HOME is set.  I have looked in the 2.5.29 Docker image and the postgresql driver jar is in the lib folder.  I am following the Maturity Level 0 w/ Installer to get familiar with this setup. 

1) Does the installer need to use an outside config file so the driver class is known to the installer for the hibernate connections?  
2) If the x.properties files were created from a previous installer run with connection errors, do I need to allow the installer to over-write them again or should they be file to use?

-------------- Grouper 2.5.29 installer error ------------------
__GROUPER_LOG_PREFIX__;grouper_error.log;;;2020-07-21 17:15:49,884: [main] FATAL Hib3DAO.initHibernateIfNotInittedHelper(337) -  - unable to initialize hibernate: Unable to create
requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:264)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:228)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
        at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:51)
        at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
        at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.handleTypes(MetadataBuildingProcess.java:352)
        at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:111)
        at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)
        at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)
        at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:692)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:727)
        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.initHibernateIfNotInittedHelper(Hib3DAO.java:323)
        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.initHibernateIfNotInitted(Hib3DAO.java:154)
        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO.initHibernateIfNotInitted(Hib3DAO.java:117)
        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:345)
        at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:173)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:227)
        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:160)
        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: org.hibernate.boot.registry.classloading.spi.ClassLoadingException: HHH010003: JDBC Driver class not found:
        at org.hibernate.c3p0.internal.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:131)
        at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:237)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:207)
        at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:145)
        at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:66)
        at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
        at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
        at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:254)
        ... 25 more
Caused by: org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class []
        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:229)
        at org.hibernate.c3p0.internal.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:128)
        ... 33 more
Caused by: java.lang.ClassNotFoundException:
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:226)
        ... 34 more
------------------------------------------------------------------  

Thank you,
Christopher G. Hafer
MUSC Information Solutions
Integration Engineer II | Business Application Integrations
Medical University of South Carolina
| Ph: 843-209-3315
 
"Harnessing the power of information to improve the lives we touch"




Archive powered by MHonArc 2.6.19.

Top of Page