grouper-users - Re: [grouper-users] Missing class file::JobStatistics::pspng
Subject: Grouper Users - Open Discussion List
List archive
- From: Andre Daniels <>
- To: Andre Daniels <>,
- Cc:
- Subject: Re: [grouper-users] Missing class file::JobStatistics::pspng
- Date: Thu, 15 Nov 2018 12:45:34 -0800
- Ironport-phdr: 9a23:i+ScdB17+zLGJQ60smDT+DRfVm0co7zxezQtwd8ZseISKvad9pjvdHbS+e9qxAeQG9mDu7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLnhykHODwj8G/XhMJ+j79Vrgy9qBFk2YHYfJuYOeBicq/Bf94XQ3dKUMZLVyxGB4Oxd5cCD+wcMuZCsYb2ulUAogG4BQmtGuzvziRIjWLx0KIg1eQuDBvG0xIiEt8MsnnZt8j1O7sJUe+p1qXH0yjMb+5P1Dr79YPGfBchofSWUrJxd8rc0UYvFxnCjlWNsYzqISmV2v4XvGiD9+ptU/+khW0/qwxpvDSix9sgh4vMi4IbyV3L7jl1zYM6KNC7SUN2btupHIVMuyyfMoZ5XN0uTmVutS0n0LMJo4S7czIPyJk/xx7QdfiHc4+Q7xLmTumRIDN4iGt7eLKkmhq+6EehxfPiWsSwylpKoS1Fkt7DtnAJyRPf8NSISvx4/ku52DaP0R7c6v1cLEwqlKfXN5wsz7s+lpcQqkvPAir7lUr1gaKXeUgp//ak5/jib7jjuJCQKYt5hhn7Mqs0m8y/Beo4MhIJX2ie4emzzrvj8lDjQLpUjPA7kKvUvYvHJcsHva62HxVZ3Zg+5BaiFzumysgXnWEbLFJZfxKKl4fpO0vJIPDlFfewnU6snC52x/DdILLhGI7NI2PHkLfgZrZ991VcxBQpwdBe4ZJUFq8OIOj1WkDvqNzUEAU1PBKpzOb6W51B0dY3X26VD+e1OaXTvFuTrrYmJeWWaacIsy32bfUp+qiqxXQ5kFMqZ6Sl2JIRQG2+FbJrL1jKW3f0hsY9FjIDuAYkQcT3g0aJFzNfeiWcRaU5sxg9BJirRavKQIGghKfJiC69EodbOT8ZIk2HCnyueomZDaRfIBmOK9Nsx2RXHYOqTJUsgEmj
Chad,The upgrade seems to have gone well and I had patched a couple of times but grouper-pspng-2.4.0.jar was not in /opt/app/grouper/grouper.apiBinary/lib/custom as you suspected.It is there now and gsh but I have a new error:groovy:000> loaderRunOneJob("CHANGE_LOG_consumer_pspng_au");
ERROR java.lang.NoSuchMethodError:
edu.internet2.middleware.grouper.pspng.LdapGroupProvisionerConfiguration.isBulkGroupSearchingEnabled()Z
at edu.internet2.middleware.grouper.pspng.LdapGroupProvisioner.fetchTargetSystemGroups (LdapGroupProvisioner.java:450)
at edu.internet2.middleware.grouper.pspng.Provisioner.fetchTargetSystemGroupsInBatches (Provisioner.java:866)
at edu.internet2.middleware.grouper.pspng.Provisioner.prepareGroupCache (Provisioner.java:825)
at edu.internet2.middleware.grouper.pspng.Provisioner.startProvisioningBatch (Provisioner.java:553)
at edu.internet2.middleware.grouper.pspng.Provisioner.provisionBatchOfItems (Provisioner.java:1657)
at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim.processChangeLogEntries (PspChangelogConsumerShim.java:71)
at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords (ChangeLogHelper.java:245)
at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$5.runJob (GrouperLoaderType.java:638)
at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob (GrouperLoaderJob.java:465)
at edu.internet2.middleware.grouper.app.loader.GrouperLoader.runOnceByJobName (GrouperLoader.java:1623)
at edu.internet2.middleware.grouper.app.gsh.loaderRunOneJob.invoke (loaderRunOneJob.java:95)
at edu.internet2.middleware.grouper.app.gsh.loaderRunOneJob$invoke.call (Unknown Source)
at groovysh_evaluate.loaderRunOneJob (groovysh_evaluate:4)
Andre
On Tue, Nov 13, 2018 at 7:34 PM Redman, Chad <> wrote:The classpaths all look right. The JobStatistics class should be in the pspng jar. Maybe something happened in the upgrade?
What is in /opt/app/grouper/grouper.apiBinary/lib/custom? Does it have grouper-pspng-2.4.0.jar (128089 bytes)?
What about `jar tvf /opt/app/grouper/grouper.apiBinary/lib/custom/grouper-pspng-2.4.0.jar | grep JobStatistics.class` ?
Finally, a deeper dive in gsh.
import edu.internet2.middleware.grouper.pspng.FullSyncProvisioner
import edu.internet2.middleware.grouper.pspng.JobStatistics
println FullSyncProvisioner.class.getProtectionDomain().getCodeSource().getLocation()
println JobStatistics.class.getProtectionDomain().getCodeSource().getLocation()
An updated FullSyncProvisioner class should be in conf/ because of pspng patch 0, and JobStatistics should be in the pspng jar.
-Chad
From: [mailto:] On Behalf Of Andre Daniels
Sent: Tuesday, November 13, 2018 8:54 PM
To:
Subject: [grouper-users] Missing class file::JobStatistics::pspng
Hello,
I am trying to upgrade to v2.4 but I am getting an error trying run provision with pspng using gsh. It seems the java is in the tarballs. Do I need to rebuild grouper or pspng maybe?
Thanks,
Andre
andre$ find . -name "JobStat*"
./tarballs/grouper.pspng-2.4.0/src/main/java/edu/internet2/middleware/grouper/pspng/JobStatistics.java
Detected Grouper directory structure 'api' (valid is api or webapp)
Using GROUPER_HOME: /opt/app/grouper/grouper.apiBinary
Using GROUPER_CONF: /opt/app/grouper/grouper.apiBinary/conf
Using JAVA: /opt/app/grouper/jdk/bin/java
Using CLASSPATH: /opt/app/grouper/grouper.apiBinary/conf:/opt/app/grouper/grouper.apiBinary/dist/lib/grouper.jar:/opt/app/grouper/grouper.apiBinary/lib/grouper/*:/opt/app/grouper/grouper.apiBinary/lib/custom/*:/opt/app/grouper/grouper.apiBinary/lib/jdbcSamples/*:/opt/app/grouper/grouper.apiBinary/lib/ant/*:/opt/app/grouper/grouper.apiBinary/lib/test/*:/opt/app/grouper/grouper.apiBinary/dist/lib/test/*:/opt/app/grouper/grouper.apiBinary/src/resources
using MEMORY: 64m-750m
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
Grouper starting up: version: 2.4.0, build date: 2018/08/23 07:48:38, env: <no label configured>
grouperPatchStatus read from: /opt/app/grouper/grouper.apiBinary/grouperPatchStatus.properties
api patches installed: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
pspng patches installed: 0
grouper.properties read from: /opt/app/grouper/grouper.apiBinary/conf/grouper.properties
Grouper current directory is: /opt/app/grouper/grouper.apiBinary/bin
log4j.properties read from: /opt/app/grouper/grouper.apiBinary/conf/log4j.properties
Grouper logs are not using log4j: class org.apache.commons.logging.impl.SLF4JLocationAwareLog
grouper.hibernate.properties: /opt/app/grouper/grouper.apiBinary/conf/grouper.hibernate.properties
grouper.hibernate.properties:
subject.properties read from: /opt/app/grouper/grouper.apiBinary/conf/subject.properties
sources configured in: subject.properties
subject.properties groupersource id: g:gsa
subject.properties groupersource id: grouperEntities
subject.properties ldap source id: ucscidm: ldap-main
Type help() for instructions
Groovy Shell (2.5.0-beta-2, JVM: 1.8.0_131)
Type ':help' or ':h' for help.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
groovy:000> :load '/opt/app/grouper/grouper.apiBinary/conf/groovysh.profile'
groovy:000> loaderRunOneJob("CHANGE_LOG_consumer_pspng_au");
ERROR java.lang.NoClassDefFoundError:
edu/internet2/middleware/grouper/pspng/JobStatistics
at edu.internet2.middleware.grouper.pspng.FullSyncProvisioner$FullSyncQueueItem.<init> (FullSyncProvisioner.java:67)
at edu.internet2.middleware.grouper.pspng.FullSyncProvisioner.queueGroupForSync (FullSyncProvisioner.java:617)
at edu.internet2.middleware.grouper.pspng.FullSyncProvisioner.scheduleGroupCleanup (FullSyncProvisioner.java:594)
at edu.internet2.middleware.grouper.pspng.FullSyncProvisioner.queueAllGroupsForFullSync (FullSyncProvisioner.java:560)
at edu.internet2.middleware.grouper.pspng.Provisioner.provisionItem (Provisioner.java:1094)
at edu.internet2.middleware.grouper.pspng.Provisioner.provisionBatchOfItems (Provisioner.java:1670)
at edu.internet2.middleware.grouper.pspng.PspChangelogConsumerShim.processChangeLogEntries (PspChangelogConsumerShim.java:71)
at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords (ChangeLogHelper.java:245)
at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$5.runJob (GrouperLoaderType.java:638)
at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob (GrouperLoaderJob.java:465)
at edu.internet2.middleware.grouper.app.loader.GrouperLoader.runOnceByJobName (GrouperLoader.java:1623)
at edu.internet2.middleware.grouper.app.gsh.loaderRunOneJob.invoke (loaderRunOneJob.java:95)
at edu.internet2.middleware.grouper.app.gsh.loaderRunOneJob$invoke.call (Unknown Source)
at groovysh_evaluate.loaderRunOneJob (groovysh_evaluate:4)
--
Andre Daniels
Sr. Developer/Security Analyst
University of California Santa Cruz
(831) 459-1980
--Andre DanielsSr. Developer/Security AnalystUniversity of California Santa Cruz(831) 459-1980
- [grouper-users] Missing class file::JobStatistics::pspng, Andre Daniels, 11/14/2018
- RE: [grouper-users] Missing class file::JobStatistics::pspng, Redman, Chad, 11/14/2018
- Re: [grouper-users] Missing class file::JobStatistics::pspng, Andre Daniels, 11/14/2018
- Re: [grouper-users] Missing class file::JobStatistics::pspng, Andre Daniels, 11/15/2018
- Re: [grouper-users] Missing class file::JobStatistics::pspng, Andre Daniels, 11/14/2018
- RE: [grouper-users] Missing class file::JobStatistics::pspng, Redman, Chad, 11/14/2018
Archive powered by MHonArc 2.6.19.