grouper-users - RE: [grouper-users] Missing class file::JobStatistics::pspng
Subject: Grouper Users - Open Discussion List
List archive
- From: "Redman, Chad" <>
- To: "" <>, "" <>
- Subject: RE: [grouper-users] Missing class file::JobStatistics::pspng
- Date: Wed, 14 Nov 2018 03:34:50 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:y2hNAhziPkGRqVfXCy+O+j09IxM/srCxBDY+r6Qd2uMfIJqq85mqBkHD//Il1AaPAd2Eraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHolikJKiI5/m/UhMx+jq1boQ6uqBNkzoHOfI2ZKOBzcr/Bcd4YQ2dKQ8ZfVzZGAoO5d4YDAfYPMvhFoIn4vVQOqwOyDhSyCePv0DBHm3H61rA93us9EQHJxhEvEMoUsHvKsdr1Mb0dUeauwanVyzXMc+la1ing54jVax0sp+yHU7x3ccrU00YvFgXFg02fqYz/ODOVy/wNvHaB7+Z6T+2vk3YnpgdsqTas3schkpfFiZgJxlzZ8Ch13Zs5KcC9RU51btOoDIdcuiSUN4RoTc4tWWRltSM7x7Eap5K3ZCoHxIk9yxPeb/GLaYmF7xH5WOqMJTp1i2ppeLyhiBux7UStz+jxW8ap3FlWoCpIl8fDuW4R2xPO78WKReBy8luj1DuK2A3f9PxILlwymKHGMZAu2KQwmYAWsUnbHi/5hkH2jKiOe0s85uWm7Pjrb7v/qpKBNYB4lBjyMqM1lcOhG+g4NRUOX3SA9uS7yb3j+1D2TK9Sjv0slanZrI7VKtgHpq64BA9V1Jwv6xGiDze61NQYmn4HLFFfdB2biIjpPknCIPH+Dfihn1ShiClnyOraMrH8B5jBM2XPnKrkcLZz5ENQ1BY/wNVR551KBbwOOvf+V0rwudDEEBM1Kwm0zPzmCNV52IMeQ2WPAqqBPazOsV+H/P8gLPGWZIALpTn9LuIq5/j1gH8kn18SYbOl0oUKZ3ClBvhmOVmWYWLwgtcdFmcHpgU+TPbtiF2fST5ceWyyU7sh5jEgFo2mF5zDS5upgLyAxye7AoZWan5cBlCNF3foa5uLW+0KaC2MPs9tjCYIWqa8RI88hlmSs1qwwrxrNOf85yYDvtTu2MU/r7nakx0o+BRpBN+WlWyBUjcw1ikHXTgrxK1l5FFmx02Y+al+n/FCE9FPvbVEXhpwfcrT1etnE93oHx/ac82SYFegXti8BzwtFJQ8z8JYMGhnHND3xCrO0y+jBftdvLyCCNZ8pqnc1nTGPctxzn/A/LQnhB8rTtYZZj7uvbJ26wWGX92BqE6ejav/Lf5GjifQ6GeOy3aPt0hEUQl2FL/IRm0belCI94bi/k2XSbioBPxnKQZHxcOYYopyItzyxRQjJr/4PcjGJWe4mmO+HxGNk7iMZYbdYWgR2SzbIFUCmEYe8WvVfQU=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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 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 |
- [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.