grouper-users - RE: [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper'
Subject: Grouper Users - Open Discussion List
List archive
RE: [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper'
Chronological Thread
- From: "Redman, Chad" <>
- To: "Pete St. Onge" <>, "" <>
- Subject: RE: [grouper-users] 2.4.x installer fails, Problem reading config: 'database:grouper'
- Date: Thu, 26 Sep 2019 12:59:04 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unc.edu; dmarc=pass action=none header.from=unc.edu; dkim=pass header.d=unc.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=oeDHWnOqTQOeJ+IEZguYaLRU8/MxalSFijitPv8aZig=; b=C6FwIz+wSsDbW8AMbnjYNxwPrdT4s4JNvNihrKZhCXSIdErG+i7uyaEnqJP1OmyNlA+Y8y0l/qdBQWkIiEcWHSLv40DiIvOgcYaqa3JbQARpr9tRKNYS2ye5n5cCOE72AYxXgH1A8qt36xkzVSPXWsOVOFyu5Y7bdYiH4D624My45/msUwbnL2Qi8YjPHunbBLofGWwfAeM4usXa9hOhmcYPqy3ww2libfahR/ifbcB0L93bQaDgoIBt4EU+w2Z8PqPqZ0rM4RHhQslD9D8J7qokgAg887KkMVIaMkhl18fO6dMEPqKMoK+fEy1o3CBDLvKRnvNwxIPxicYrNDZ5ug==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fb2oI18SbXlXB8O8wqEVqenvsVR9qVByeWgmqKoAK+3SVN8QQm+SDR54ntKBL9xYKwOJIQrpAImVUCYr7lJc0uifdKekrP1kO3C21dqWKY0jPTqBk54G7euFdfk8UJ5Ee0eJrvv42vs+7dB/AmKGyhbQEgnmbUCVyNNrQqGzMC1jqkriE7KAm1PSQgJeM+MCQzDxsikCuy0Sj325jzASgTAwcJ3t6P/MOchi/1zDvfIoXxFpeX8hEjfckGSdEmqCdsHdxTbWR28o4KdTF8e3dEdUvkRD4XPEACuvHaVO5tkZFQJ9pXvcGjnGKpSySRcyF9/27F4Ot+BC4UKWJK7FvQ==
Are you on Java 11 by chance? We're working on that for 2.5, but not there
yet. You can add these jars manually which are no longer in the Java 11
distribution:
javax.xml.bind:jaxb-api:2.3.1
com.sun.xml.bind:jaxb-impl:2.3.2
com.sun.xml.bind:jaxb-core:2.3.0.1
For gsh to work, you may need to replace groovy-all-2.5.0-beta-2.jar with
some or all of the groovy-* jars that are now split up into smaller
components instead of one big jar file. We haven't identified which of them
are necessary yet. Testing so far also indicates upgrading to
javassist:3.24.1-GA.jar.
-Chad
-----Original Message-----
From:
[] On Behalf Of Pete St. Onge
Sent: Thursday, September 26, 2019 8:27 AM
To:
Subject: [grouper-users] 2.4.x installer fails, Problem reading config:
'database:grouper'
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.