Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Errors using gsh obliterateStem command

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Errors using gsh obliterateStem command


Chronological Thread 
  • From: Gagné Sébastien <>
  • To: "Keith Hazelton" <>, <>
  • Subject: RE: [grouper-users] Errors using gsh obliterateStem command
  • Date: Fri, 26 Oct 2012 08:13:51 -0400

There’s a second boolean parameter to obliterate stem, try :

 

bin/gsh -runarg 'obliterateStem("attributeRegistry",false,false)'

 

 

De : [mailto:] De la part de Keith Hazelton
Envoyé : 25 octobre 2012 20:52
À :
Objet : [grouper-users] Errors using gsh obliterateStem command

 

I have Grouper 2.1.2 running on a CentOS box.

 

I'm following the examples given at https://bugs.internet2.edu/jira/browse/GRP-684 to wipe out a stem and its subcontents.

I've looked at https://spaces.internet2.edu/display/Grouper/GrouperShell+(gsh) as well.

 

The gsh obliterateStem command errors out:

----------

[root@arche bin]# ./gsh -

Using GROUPER_HOME: /opt/grouper-2.1.2/grouper.apiBinary-2.1.2/bin/..

Using GROUPER_CONF: /opt/grouper-2.1.2/grouper.apiBinary-2.1.2/bin/../conf

Using JAVA: /usr/lib/jvm/java-1.6.0-openjdk/bin/java

using MEMORY: 64m-750m

Grouper starting up: version: 2.1.2, build date: 2012/08/14 15:02:01, env: <no label configured>

grouper.properties read from: /opt/grouper-2.1.2/grouper.apiBinary-2.1.2/conf/grouper.properties

Grouper current directory is: /opt/grouper-2.1.2/grouper.apiBinary-2.1.2/bin

log4j.properties read from:   /opt/grouper-2.1.2/grouper.apiBinary-2.1.2/conf/log4j.properties

Grouper is logging to file:   /opt/grouper-2.1.2/grouper.apiBinary-2.1.2/bin/../logs/grouper_error.log, at min level WARN for package: edu.internet2.middleware.grouper, based on log4j.properties

grouper.hibernate.properties: /opt/grouper-2.1.2/grouper.apiBinary-2.1.2/conf/grouper.hibernate.properties

grouper.hibernate.properties: grouper@jdbc:postgresql://localhost:5432/grouperdb

sources.xml read from:        /opt/grouper-2.1.2/grouper.apiBinary-2.1.2/conf/sources.xml

sources.xml groupersource id: g:gsa

sources.xml groupersource id: grouperEntities

sources.xml jdbc source id:   jdbc: GrouperJdbcConnectionProvider

Type help() for instructions

grouperSession = GrouperSession.startRootSession();

edu.internet2.middleware.grouper.GrouperSession: 35364d0e80bd41de870ee15f4ae00599,'GrouperSystem','application'

obliterateStem("attributeRegistry", false);          

// Error: unable to evaluate command: Sourced file: inline evaluation of: ``obliterateStem("attributeRegistry", false);'' : Error invoking compiled command: : Error invoking compiled command: bsh.ReflectError: Static method invoke( bsh.Interpreter, bsh.CallStack, java.lang.String, boolean ) not found in class'edu.internet2.middleware.grouper.app.gsh.obliterateStem'

----------

 

     Any thoughts?   --Keith




Archive powered by MHonArc 2.6.16.

Top of Page