grouper-users - [grouper-users] Re: Problem upgrading to v2.2.2
Subject: Grouper Users - Open Discussion List
List archive
- From: Mickael Guyot <>
- To: Chris Hyzer <>
- Cc:
- Subject: [grouper-users] Re: Problem upgrading to v2.2.2
- Date: Fri, 2 Oct 2015 10:19:18 +0200 (CEST)
If reverting patches doesn’t work, and you skipped that part, then, before new patches are applied (right now there are none for 2.2.2):
Look through the WEB-INF/classes dir for classfiles, and if you have never overridden or coded your own, then delete all classfiles in the subdirs. If you have, then keep yours, and delete the others. Then you should be all set. Ok?
Thanks,
chris
From: [mailto:] On Behalf Of Mickael Guyot
Sent: Thursday, October 01, 2015 10:37 AM
To: Chris Hyzer
Cc:
Subject: [grouper-users] Re: Problem upgrading to v2.2.2
Thank you, but then I have some other problem.
When the installer want to revert patches, I have this error :
Cannot revert patch since this patch file:
/home/grouper-test/grouper.installer-2.2.2/grouper_v2_2_1_ui_patch_18/new/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Group$6.class
is not the same as what the patch expects:
/home/grouper-test/grouper.ui-2.2.1/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/serviceLogic/UiV2Group$6.class
There is no /home/grouper-test/grouper.ui-2.2.1/dist/grouper/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi directory.
I tried to not revert patches, and when the installer run "/home/grouper-test/grouper.ui-2.2.1/dist/grouper/WEB-INF/bin/gsh.sh -registry -check -noprompt", I have a java error :
stderr: java.lang.NoSuchMethodError: edu.internet2.middleware.subject.provider.SubjectImpl.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
at edu.internet2.middleware.grouper.subj.InternalSourceAdapter.createSubject(InternalSourceAdapter.java:326)
at edu.internet2.middleware.grouper.subj.InternalSourceAdapter._resolveSubject(InternalSourceAdapter.java:293)
at edu.internet2.middleware.grouper.subj.InternalSourceAdapter.getSubject(InternalSourceAdapter.java:136)
at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.find(SourcesXmlResolver.java:309)
at edu.internet2.middleware.grouper.subj.CachingResolver.find(CachingResolver.java:143)
at edu.internet2.middleware.grouper.subj.ValidatingResolver.find(ValidatingResolver.java:105)
at edu.internet2.middleware.grouper.SubjectFinder.findRootSubject(SubjectFinder.java:863)
at edu.internet2.middleware.grouper.misc.GrouperStartup.initData(GrouperStartup.java:674)
at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:255)
at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:162)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:214)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
... 2 more
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: edu.internet2.middleware.subject.provider.SubjectImpl.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:194)
... 7 more
Caused by: java.lang.NoSuchMethodError: edu.internet2.middleware.subject.provider.SubjectImpl.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
at edu.internet2.middleware.grouper.subj.InternalSourceAdapter.createSubject(InternalSourceAdapter.java:326)
at edu.internet2.middleware.grouper.subj.InternalSourceAdapter._resolveSubject(InternalSourceAdapter.java:293)
at edu.internet2.middleware.grouper.subj.InternalSourceAdapter.getSubject(InternalSourceAdapter.java:136)
at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.find(SourcesXmlResolver.java:309)
at edu.internet2.middleware.grouper.subj.CachingResolver.find(CachingResolver.java:143)
at edu.internet2.middleware.grouper.subj.ValidatingResolver.find(ValidatingResolver.java:105)
at edu.internet2.middleware.grouper.SubjectFinder.findRootSubject(SubjectFinder.java:863)
at edu.internet2.middleware.grouper.misc.GrouperStartup.initData(GrouperStartup.java:674)
at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:255)
at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:162)
... 7 more
Thanks for your help.
----- Le 1 Oct 15, à 16:06, Chris Hyzer <> a écrit :
You need to specify the directory of the expanded warfile. Thanks, Chris
From: [] On Behalf Of Mickael Guyot
Sent: Thursday, October 01, 2015 9:04 AM
To:
Subject: [grouper-users] Problem upgrading to v2.2.2
Hi everyone.
I installed grouper v2.2.1 a few month ago and today I wanted to try to upgrade it to v2.2.2 which just released.
I downloaded the grouper installer and successfully run it to upgrade the API. But when the installer ask me where is the grouper UI installed, I've got this message :
"Cant find Grouper UI properties files or libs, looked in the directory, /classes/ , /conf/ , /WEB-INF/classes/ , /lib/ , /WEB-INF/lib/ , /lib/grouper/ , /dist/lib/"
The directories are the default one created by the installer (grouper.apiBinary-2.2.1, grouper.ui-2.2.1, grouper.psp-2.2.1 etc... They're all in /home/grouper).
I don't understand why the installer can't find grouper ui's files in the grouper ui directory.
I also tried to answer "/home/grouper/grouper.apiBinary-2.2.1", and then the grouper UI upgraded successfully, creating grouperExternal, i2mi and others directories which are normally under /home/grouper/grouper.ui-2.2.1 in the API dir.
So the installer can't find UI's files in the UI directory, but find them in API directory ?
I have the same problem when I want to upgrade PSP : if I answer PSP is installed in /home/grouper/grouper.psp-2.2.1, I have :
"Cant find Grouper PSP properties files or libs, looked in the directory, /classes/ , /conf/ , /WEB-INF/classes/ , /lib/ , /WEB-INF/lib/ , /lib/grouper/ , /dist/lib/"
I don't understand how the upgrade is supposed to work... Can someone help me please ?
--
Mickaël Guyot
Direction du numérique - Sous direction des infrastructures
Université de Lorraine
Tel : 03 83 68 53 66
--
Mickaël Guyot
Direction du numérique - Sous direction des infrastructures
Université de Lorraine
Tel : 03 83 68 53 66
Direction du numérique - Sous direction des infrastructures
Université de Lorraine
Tel : 03 83 68 53 66
- [grouper-users] Problem upgrading to v2.2.2, Mickael Guyot, 10/01/2015
- [grouper-users] RE: Problem upgrading to v2.2.2, Chris Hyzer, 10/01/2015
- [grouper-users] Re: Problem upgrading to v2.2.2, Mickael Guyot, 10/01/2015
- [grouper-users] RE: Problem upgrading to v2.2.2, Chris Hyzer, 10/01/2015
- [grouper-users] Re: Problem upgrading to v2.2.2, Mickael Guyot, 10/02/2015
- [grouper-users] RE: Problem upgrading to v2.2.2, Chris Hyzer, 10/01/2015
- [grouper-users] Re: Problem upgrading to v2.2.2, Mickael Guyot, 10/01/2015
- [grouper-users] RE: Problem upgrading to v2.2.2, Chris Hyzer, 10/01/2015
Archive powered by MHonArc 2.6.16.