grouper-users - [grouper-users] Help with importing users
Subject: Grouper Users - Open Discussion List
List archive
- From: Lynn Garrison <>
- To:
- Subject: [grouper-users] Help with importing users
- Date: Wed, 23 Feb 2011 14:28:53 -0500
We are trying to move groups from our existing group management
system into grouper in order to evaluate ldappcng. I am running into a
problem importing the data. I have included the error and the import file
below. The import succeeds as long as the subject identifiers have an
associated uuid.
gsh 0% xml = new XmlImport();
gsh 1% sess=GrouperSession.startRootSession()
gsh 2% xml.grouperSession(sess)
gsh 8% xml.importFromFile(new File("../data/a.xml"))
// Error: unable to evaluate command: Sourced file: inline evaluation of:
``xml.importFromFile(new File("../data/a.xml"));'' : Method Invocation
xml.importFromFile
// See error log for full stacktrace
// caused by: java.lang.RuntimeException:
// Error importing file: /usr/local/grouper/grouper.apiBinary-1.6.3/data/a.xml
gsh 9%
<registry>
<data>
<stem extension="psustand" displayExtension="Penn State
Standing">
<privileges type="create">
<subject identifier="etc:sysadmingroup"
type="group"></subject>
</privileges>
<privileges> type="stem">
<subject>identifier="etc:sysadmingroup"</subject>
</privileges>
<group extension="facstaff" displayExtension=
"Faculty and Staff">
<list field="members" groupType='base'>
<subject identifier="llg5"
type='person' source='psu-person' immediate='true' name='PSU
People'></subject>
<subject identifier="zzl1"
type='person' source='psu-person' immediate='true' name='PSU
People'></subject>
</list>
<privileges type="admin">
<subject identifier="llg5" type='person'
source='psu-person' immediate='true'></subject>
</privileges>
</group>
</stem>
</data>
</registry>
gsh 9% findSubject("zzl1") ----------- zzl1 is in the source= psu-person
subject: id='zzl1' type='person' source='psu-person'
gsh 12% member = MemberFinder.findBySubject(sess,subj);
// Error: unable to evaluate command: Sourced file: inline evaluation of:
``member = MemberFinder.findBySubject(sess,subj);'' : Method Invocation
MemberFinder.findBySubject
// See error log for full stacktrace
// caused by: java.lang.RuntimeException:
// No context found,
Exception in save: edu.internet2.middleware.grouper.Member,
edu.internet2.middleware.grouper.hibernate.ByObject@5cf0d3a6,
Problem in HibernateSession: HibernateSession: isNew: true, isReadonly:
false, grouperTransactionType: READ_WRITE_NEW,
Exception in save: edu.internet2.middleware.grouper.Member, ByObjectStatic,
query: ', cacheable: null, cacheRegion: null, entityName: null, tx type: null
Is there something else that I need to add to my subject data in the members
list? Or do have something incorrectly configure in grouper?
Thanks,
Lynn Garrison
IAM TAG
Penn State University
- [grouper-users] Help with importing users, Lynn Garrison, 02/23/2011
- RE: [grouper-users] Help with importing users, Chris Hyzer, 02/23/2011
- RE: [grouper-users] Help with importing users, Chris Hyzer, 02/23/2011
- RE: [grouper-users] Help with importing users, Chris Hyzer, 02/23/2011
Archive powered by MHonArc 2.6.16.