grouper-dev - [grouper-dev] RE: release candidate candidate
Subject: Grouper Developers Forum
List archive
- From: Chris Hyzer <>
- To: "Klug, Lawrence" <>, Grouper Dev <>
- Subject: [grouper-dev] RE: release candidate candidate
- Date: Tue, 9 Aug 2011 14:52:12 +0000
- Accept-language: en-US
you need to compare your config files with the new examples and merge. in this case it is sources.xml and sources.example.xml. See this page:
https://spaces.internet2.edu/display/Grouper/v2.0+Upgrade+Instructions+from+v1.6.* and this page: https://spaces.internet2.edu/display/Grouper/Grouper+changes+v2.0 The issue is that the grouper_members table holds some search and sort info for subjects so we can improve performance. Specifically this section: The default for the jndi source: <init-param> <param-name>subjectVirtualAttribute_0_searchAttribute0</param-name> <param-value>${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('uid'), "")},${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('cn'), "")},${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('exampleEduRegId'), "")}</param-value> </init-param> <init-param> <param-name>sortAttribute0</param-name> <param-value>cn</param-value> </init-param> <init-param> <param-name>searchAttribute0</param-name> <param-value>searchAttribute0</param-value> </init-param> <internal-attribute>searchAttribute0</internal-attribute> ///Attributes you would like to display when doing a search <attribute>cn</attribute> <attribute>sn</attribute> <attribute>uid</attribute> <attribute>department</attribute> <attribute>exampleEduRegId</attribute> chris From: [] on behalf of Klug, Lawrence []
Sent: Tuesday, August 09, 2011 10:47 AM To: Grouper Dev Subject: [grouper-dev] RE: release candidate candidate Hi,
I’m attempting to run Grouper 2.0.0 and I’m getting runtime error (see below) – how/where is the sort column to be specified?
Thanks,
Lawrence
NOTE: database table/object structure (ddl) is up to date Couldnt startup grouper: At least one sort column should be specified for source ldap java.lang.RuntimeException: At least one sort column should be specified for source ldap at edu.internet2.middleware.grouper.misc.GrouperStartup.verifyMemberSortAndSearchConfig(GrouperStartup.java:139) at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:117) at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:188) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:128) at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16) java.lang.RuntimeException: At least one sort column should be specified for source ldap at edu.internet2.middleware.grouper.misc.GrouperStartup.verifyMemberSortAndSearchConfig(GrouperStartup.java:139) at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:117) at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:188) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:128) at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16) Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:198) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:128) at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:188) ... 2 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: At least one sort column should be specified for source ldap at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:178) ... 7 more Caused by: java.lang.RuntimeException: At least one sort column should be specified for source ldap at edu.internet2.middleware.grouper.misc.GrouperStartup.verifyMemberSortAndSearchConfig(GrouperStartup.java:139) at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:117) at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:172) ... 7 more
From: [mailto:]
On Behalf Of Chris Hyzer
We have more work to do before the actual release, but here is a build which at least passes the api unit tests…
http://www.internet2.edu/grouper/release/2.0.0/
ldappc isn’t there, still doenst build for me, TomZ, do you mind sudo su – mchyzer on the build machine to see why maven doesn’t like me?
Thanks, Chris
|
- [grouper-dev] release candidate candidate, Chris Hyzer, 08/07/2011
- [grouper-dev] RE: release candidate candidate, Klug, Lawrence, 08/09/2011
- [grouper-dev] RE: release candidate candidate, Chris Hyzer, 08/09/2011
- [grouper-dev] RE: release candidate candidate, Klug, Lawrence, 08/09/2011
- [grouper-dev] RE: release candidate candidate, Chris Hyzer, 08/09/2011
- [grouper-dev] RE: release candidate candidate, Klug, Lawrence, 08/09/2011
Archive powered by MHonArc 2.6.16.