Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Run from GSH

If the UI doesnt start

grouper.properties (temporarily)

Code Block
gsh.exitOnSubjectCheckConfigProblem = false

if gsh doesnt start, try:

  1. take source out of subject.properties
  2. start gsh and get prompt
  3. add source back in to subject.properties
  4. run this in GSH

    Code Block
    GrouperSession.startRootSession();
    edu.internet2.middleware.grouper.cache.GrouperCacheUtils.clearAllCaches();
    GrouperUtil.assignField(edu.internet2.middleware.subject.provider.SourceManager.class, null, "manager", null, null);
    -- continue below --


gsh

Code Block
GrouperSession.startRootSession();
new edu.internet2.middleware.grouper.grouperUi.serviceLogic.SubjectSourceDiagnostics().assignSourceId("SMUPerson_DEV").assignSubjectId("empl1").assignSubjectIdentifier("netid@school.edu").assignSearchString("em").subjectSourceDiagnosticsFromGsh()
===> 
SUCCESS: Found subject by id in 37ms: 'empl1'
         with SubjectFinder.findByIdAndSource("empl1", "SMUPerson_DEV", false)
SUCCESS: Subject id in returned subject matches the subject id searched for: 'empl1'
WARNING: No subject found by identifier in 14ms: 'netid@school.edu'
         with SubjectFinder.findByIdentifierAndSource("netid@school.edu", "SMUPerson_DEV", false)

...