grouper-users - RE: [grouper-users] Help with importing users
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Lynn Garrison <>, "" <>
- Subject: RE: [grouper-users] Help with importing users
- Date: Wed, 23 Feb 2011 17:37:37 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
It looks like the root cause exception is being swallowed... are you using
Grouper source or binary? If binary, do you want me to send you a new jar
that wont swallow the exceptions?
However, before we worry about that, about the memberFinder question:
It should create if not found, can you send me the full log for that problem
(make sure to exit, and start root session again)? Maybe it is related to
the other issue, but the cause exception is more likely to be there... or
you could try setting this (temporarily) in the grouper.properties... it
seems to be related:
audit.requireAuditsForAllActions = false
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Lynn Garrison
Sent: Wednesday, February 23, 2011 2:29 PM
To:
Subject: [grouper-users] Help with importing users
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.