grouper-users - [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper'
Subject: Grouper Users - Open Discussion List
List archive
[grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper'
Chronological Thread
- From: "Pete St. Onge" <>
- To: "" <>
- Subject: [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper'
- Date: Thu, 26 Sep 2019 08:27:12 -0400
Hello all,
My google-fu hasn't yet proven fruitful, so here goes.
I'm trying to install 2.4 current (all patches), on a CentOS VM in our dev environment, but the process fails.
My previous installation in a proof of concept environment (Ubuntu VM on VirtualBox) went fine.
The grouper config table in both instances is empty, and the 'sa' user has ownership and privs on the PostgreSQL database used for Grouper as well as all of the tables & views.
.Sep. 26, 2019 8:17:37 A.M. edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils execCommandHelper
SEVERE: Process exit status=1: out: Detected Grouper directory structure 'api' (valid is api or webapp)
Using GROUPER_HOME: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0
Using GROUPER_CONF: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0/conf
Using JAVA: java
Using CLASSPATH: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0/conf:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/dist/lib/grouper.jar:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/lib/grouper/*:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/lib/custom/*:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/lib/jdbcSamples/*:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/lib/ant/*:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/lib/test/*:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/dist/lib/test/*:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/src/resources
using MEMORY: 64m-750m
Grouper starting up: version: 2.4.0, build date: null, env: <no label configured>
grouperPatchStatus read from: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0/grouperPatchStatus.properties
api patches installed: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73
grouper.properties read from: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0/conf/grouper.properties
Grouper current directory is: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0
log4j.properties read from: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0/conf/log4j.properties
Grouper is logging to file: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0/logs/grouper_error.log, at min level WARN for package: edu.internet2.middleware.grouper, based on log4j.properties
grouper.hibernate.properties: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0/conf/grouper.hibernate.properties
grouper.hibernate.properties: sa@jdbc:postgresql://localhost:5432/grouper240
subject.properties read from: /opt/grouper/2.4.0/grouper.apiBinary-2.4.0/conf/subject.properties
sources configured in: subject.properties
subject.properties groupersource id: g:gsa
subject.properties ldap source id: ldap: utorable
subject.properties groupersource id: grouperEntities
Script was executed successfully
, err: log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.postgresql.jdbc.TimestampUtils (file:/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/lib/jdbcSamples/postgresql-42.1.4.jar) to field java.util.TimeZone.defaultTimeZone
WARNING: Please consider reporting this to the maintainers of org.postgresql.jdbc.TimestampUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Grouper ddl object type 'Grouper' has dbVersion: 0 and java version: 31
Grouper ddl object type 'Subject' has dbVersion: 0 and java version: 1
Grouper database schema DDL requires updates
(should run script manually and carefully, in sections, verify data before drop statements, backup/export important data before starting, follow change log on confluence, dont run exact same script in multiple envs - generate a new one for each env),
script file is:
/opt/grouper/2.4.0/grouper.apiBinary-2.4.0/ddlScripts/grouperDdl_20190926_08_17_29_646.sql
edu.internet2.middleware.grouper.exception.GrouperException: unable to initialize registry: unable to retrieve GrouperSystem: Problem reading config: 'database:grouper'
[...]
Caused by: edu.internet2.middleware.grouper.exception.GrouperException: unable to retrieve GrouperSystem: Problem reading config: 'database:grouper'
[...]
Caused by: java.lang.RuntimeException: Problem reading config: 'database:grouper'
[...]
Caused by: java.lang.RuntimeException: unable to initialize hibernate: javax/xml/bind/JAXBException,
configFileName: grouper.properties,
Erroroperation: getDatabaseConfigsOrFromCache, configFileName: grouper.properties, hasDatabaseConfig: true, cacheForSeconds: 120, needsReload: true, needsReload2: true, initted: true, exception: java.lang.RuntimeException: unable to initialize hibernate: javax/xml/bind/JAXBException
Thanks in advance, -- pete
--
Peter St. Onge
Information Security Architect (416)978-5030
Business Continuity and Communications
Information + Technology Services University of Toronto
- [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper', Pete St. Onge, 09/26/2019
- RE: [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper', Redman, Chad, 09/26/2019
- Re: [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper', Pete St. Onge, 09/27/2019
- RE: [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper', Redman, Chad, 09/26/2019
Archive powered by MHonArc 2.6.19.