Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] concept of subject source

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] concept of subject source

Chronological Thread 
  • From: Gagné Sébastien <>
  • To: "Chris Hyzer" <>, "Dick Visser" <>, <>
  • Subject: RE: [grouper-users] concept of subject source
  • Date: Mon, 6 Aug 2012 13:58:23 -0400

Also note that UI and API each uses a copy of the configuration, i.e. if you make change in “grouper.apiBinary/conf”, you have to copy those changes in your Tomcat application :




De : [mailto:] De la part de Chris Hyzer
Envoyé : 6 août 2012 12:26
À : Dick Visser;
Objet : RE: [grouper-users] concept of subject source



> Does Grouper now do 1) 'live' searches in this database?

> Or 2) some sort of batch import/update into its local database (the

> one from and query that?


Answer: 1.5.  It does mostly live searches in the database, but some things are cached in memory and some things are stored in the local database.




> If I now want to add members and search from something, nothgin is returned.

> By using tcpdump I can tell that no outgoing connection on port 5432

> are made either.


Start with GSH.  When you start it, you should see source, below in yellow.  Then try a findSubject from GSH and see if you can find people in that source:




[appadmin@theprince ~]$ cd /opt/appserv/tomcat_2v/webapps/grouper/WEB-INF/bin

[appadmin@theprince bin]$ pwd


[appadmin@theprince bin]$ ls -lat

total 48

drwxr-xr-x 2 appadmin users 4096 Jul  9 01:25 .

drwxr-xr-x 8 appadmin users 4096 Jul  9 01:25 ..

-rw-r--r-- 1 appadmin users 3312 Jul  9 01:25 gsh

-rw-r--r-- 1 appadmin users 3154 Jul  9 01:25 gsh.bat

-rw-r--r-- 1 appadmin users 3312 Jul  9 01:25

-rw-r--r-- 1 appadmin users 1807 Jul  9 01:25 README.txt

[appadmin@theprince bin]$ dos2unix gsh

dos2unix: converting file gsh to UNIX format ...

[appadmin@theprince bin]$ chmod +x gsh

[appadmin@theprince bin]$ ./gsh

Using GROUPER_HOME: /opt/appserv/tomcat_2v/webapps/grouper/WEB-INF/bin/..

Using GROUPER_CONF: /opt/appserv/tomcat_2v/webapps/grouper/WEB-INF/bin/../classes

Using JAVA: /opt/appserv/java6/bin/java

using MEMORY: 64m-750m

Grouper starting up: version: 2.1.1, build date: 2012/07/02 13:18:13, env: TEST read from: /opt/appserv/tomcat_2v/webapps/grouper/WEB-INF/classes/

Grouper current directory is: /opt/appserv/tomcat_2v/webapps/grouper/WEB-INF/bin read from:   /opt/appserv/tomcat_2v/webapps/grouper/WEB-INF/classes/

Grouper warning, it is detected that you are logging edu.internet2.middleware.grouper as ERROR and not WARN level.  It is recommended to log at at least WARN level in

Grouper is logging to file:   appender type: SMTPAppender, /opt/appserv/tomcat_2v/logs/grouper/grouper_error.log, at min level ERROR for package: edu.internet2.middleware.grouper, based on /opt/appserv/tomcat_2v/webapps/grouper/WEB-INF/classes/ user@jdbc:oracle:thin:@(DESCRIPTION...

sources.xml read from:        /opt/appserv/tomcat_2v/webapps/grouper/WEB-INF/classes/sources.xml

sources.xml jdbc source id:   servPrinc: GrouperJdbcConnectionProvider

sources.xml groupersource id: g:gsa

sources.xml jdbc source id:   pennperson: user@jdbc:oracle:thin:@(DESCRIPTION...

Type help() for instructions

gsh 0% GrouperSession.startRootSession();

edu.internet2.middleware.grouper.GrouperSession: 435c67d69dae4a61ba90f447c59b0028,'GrouperSystem','application'

gsh 1% SubjectFinder.findByIdOrIdentifierAndSource("mchyzer", "pennperson", true);

subject: id='12345678' type='person' source='pennperson' name='Chris Hyzer'

Archive powered by MHonArc 2.6.16.

Top of Page