Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Problems creating stem in grouper 2.0

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Problems creating stem in grouper 2.0

Chronological Thread 
  • 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:

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

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:


I see built in attributes created:

Grouper note: auto-created attributeDefName:
Grouper note: auto-created attributeDefName: etc:attribute:rules:rule
Grouper note: auto-created attributeDefName:

Then I do the commands you did:

gsh 0% grouperSession = GrouperSession.startRootSession();
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? :)


-----Original Message-----

On Behalf Of Lynn Garrison
Sent: Thursday, September 22, 2011 10:00 AM

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");
gsh 1% // Error: unable to evaluate command: Sourced file: inline evaluation
of: ``stemTest = addRootStem("test", "test");'' : Error invoking compiled
command: : Error in compiled command:
Cannot find (or not allowed to find) attribute def name with name:
Problem in HibernateSession: HibernateSession: isNew: true, isReadonly:
false, grouperTransactionType: READ_WRITE_NEW

Any help would be appreciated,


Archive powered by MHonArc 2.6.16.

Top of Page