grouper-dev - [grouper-dev] RE: Grouper .../lib/custom libraries not copied in Web Services ?
Subject: Grouper Developers Forum
List archive
[grouper-dev] RE: Grouper .../lib/custom libraries not copied in Web Services ?
Chronological Thread
- From: Gagné Sébastien <>
- To: "Chris Hyzer" <>, <>
- Cc: "Marchand Robert" <>
- Subject: [grouper-dev] RE: Grouper .../lib/custom libraries not copied in Web Services ?
- Date: Fri, 4 May 2012 08:45:30 -0400
Thanks a lot ! Will there be an official 2.1.1 release ? It might be worth noting that this fix also removes the need to comment out the searchResultHandlers when using the PSP provisioning : I tried it with both the UI and WS with the line uncommented and it works well without exception, maybe it should be removed from the wiki ? De : Chris Hyzer [mailto:] This is fixed in 2.1.1 https://bugs.internet2.edu/jira/browse/GRP-782 Yes, you can manually copy the jars to the lib dir no problem, or diff the build.xml in 2.1.1 and merge into 2.1.0 build.xml to fix it. From: On Behalf Of Gagné Sébastien Hello, I notice an error when doing some tests with Grouper’s WebService. This was in Tomcat’s catalina.out when Grouper is starting when I accessed the WebService status page : Grouper error: Cant process property hooks.group.class in resource: grouper.properties, the current value is 'ca.umontreal.dgtic.grouper.hooks.GroupUniqueExtensionHook', which should be of type: edu.internet2.middleware.grouper.hooks.GroupHooks, java.lang.RuntimeException: Problem loading class: ca.umontreal.dgtic.grouper.hooks.GroupUniqueExtensionHook We added a Group Hook in the Grouper API in Grouper’s …/api/lib/custom (groupUniqueExtension.jar) and included it in grouper.properties : hooks.group.class=ca.umontreal.dgtic.grouper.hooks.GroupUniqueExtensionHook After rebuilding the web service (using ant dist or ant quick) I did a search in the web service’s dist folder and the groupUniqueExtension.jar file wasn’t found. I figured this was the problem since the WS tried to load a class that doesn’t exist. I tried to copy it in the WebService’s lib folder (WebService/build/dist/grouper-ws/WEB-INF/lib/) and the exception is gone. Building the UI doesn’t have that problem, since the whole lib/custom folder (containing the Hook jar file) is copied and the hook is working properly. My question : Should the jar be copied automatically in the WS’s lib folder ? As far as a I know the whole lib/custom folder isn’t copied in the web service. or Should I copy it manually ? It doesn’t sound practical but my test showed that it worked or Should I edit grouper.property to remove the hook in the WebServices ? I don’t think so since we wouldn’t want WS transaction to create groups with the same extension. Thank you all Sébastien Gagné, | Analyste en informatique 514-343-6111 x33844 | Université de Montréal, | Pavillon Roger-Gaudry, local X-100-11 |
- [grouper-dev] Grouper .../lib/custom libraries not copied in Web Services ?, Gagné Sébastien, 05/02/2012
- [grouper-dev] RE: Grouper .../lib/custom libraries not copied in Web Services ?, Chris Hyzer, 05/03/2012
- [grouper-dev] RE: Grouper .../lib/custom libraries not copied in Web Services ?, Gagné Sébastien, 05/04/2012
- [grouper-dev] RE: Grouper .../lib/custom libraries not copied in Web Services ?, Chris Hyzer, 05/03/2012
Archive powered by MHonArc 2.6.16.