grouper-users - RE: [grouper-users] Problems creating stem in grouper 2.0
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Lynn Garrison <>, "" <>
- Subject: RE: [grouper-users] Problems creating stem in grouper 2.0
- Date: Fri, 23 Sep 2011 05:12:34 +0000
- Accept-language: en-US
Is there a grouper_attribute_def_name row with the name:
'iamTag:attribute:rules:rule'?
Here's what I did, I get the API 2.0, created a db database (mysql), and
user, and granted the user access to the DB, then configured
grouper.hibernate.properties:
hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
hibernate.connection.driver_class = com.mysql.jdbc.Driver
hibernate.connection.url = jdbc:mysql://localhost:3306/grouper_v2_0
hibernate.connection.username = grouper_v2_0
hibernate.connection.password = xxxxxxxx
Initted the registry:
C:\mchyzer\grouper\v2_0\grouper\bin>gsh -registry -runscript
Run GSH:
C:\mchyzer\grouper\v2_0\grouper\bin>gsh
I see built in attributes created:
...
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInviteEmail
Grouper note: auto-created attributeDefName: etc:attribute:rules:rule
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleActAsSubjectId
...
Then I do the commands you did:
gsh 0% grouperSession = GrouperSession.startRootSession();
edu.internet2.middleware.grouper.GrouperSession:
c20f7ff48df342b99f9ab0da0175c947,'GrouperSystem','application'
gsh 1% stemTest = addRootStem("test", "test");
stem: name='test' displayName='test' uuid='ff6dc7f1ec054cb3b5a7a9c5e087ecc4'
gsh 2%
So whats different from your setup than mine so I can reproduce? :)
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Lynn Garrison
Sent: Thursday, September 22, 2011 10:00 AM
To:
Subject: [grouper-users] Problems creating stem in grouper 2.0
I get the following error trying to create a new stem in grouper 2.0
gsh 0% grouperSession = GrouperSession.startRootSession();
stemTest = addRootStem("test", "test");
edu.internet2.middleware.grouper.GrouperSession:
c45df589ae75444ead6d5ef459e956b2,'GrouperSystem','application'
gsh 1% // Error: unable to evaluate command: Sourced file: inline evaluation
of: ``stemTest = addRootStem("test", "test");'' : Error invoking compiled
command: : Error in compiled command:
edu.internet2.middleware.grouper.exception.AttributeDefNotFoundException:
Cannot find (or not allowed to find) attribute def name with name:
'iamTag:attribute:rules:rule',
Problem in HibernateSession: HibernateSession: isNew: true, isReadonly:
false, grouperTransactionType: READ_WRITE_NEW
Any help would be appreciated,
Lynn
- [grouper-users] Problems creating stem in grouper 2.0, Lynn Garrison, 09/22/2011
- RE: [grouper-users] Problems creating stem in grouper 2.0, Chris Hyzer, 09/23/2011
- Re: [grouper-users] Problems creating stem in grouper 2.0, Lynn Garrison, 09/23/2011
- RE: [grouper-users] Problems creating stem in grouper 2.0, Chris Hyzer, 09/23/2011
- Re: [grouper-users] Problems creating stem in grouper 2.0, Lynn Garrison, 09/23/2011
- RE: [grouper-users] Problems creating stem in grouper 2.0, Chris Hyzer, 09/23/2011
Archive powered by MHonArc 2.6.16.