Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] WS retrieveSubjectLoggedIn Fails (SOLVED)

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] WS retrieveSubjectLoggedIn Fails (SOLVED)


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Colin Hudler <>, Grouper Users Mailing List <>
  • Subject: RE: [grouper-users] WS retrieveSubjectLoggedIn Fails (SOLVED)
  • Date: Thu, 8 Jan 2009 00:30:21 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US


> grouper.jar. WS is using grouper-1.4.0-rc2 for some reason?

Did you download it before the official web services version? I look here:

http://middleware.internet2.edu/dir/groups/grouper/grouper/1.4.0/grouper-ws-1.4.0.tar.gz

And look in the grouper.jar, and it says 1.4.0...

Hmm...

Chris


>
> Colin Hudler wrote:
> > Greetings,
> >
> > On a new install of grouper-1.4.0 WS using servicesRest/v1_4_000
> > for the first time, it always fails with an error returned to the
> client:
> >
> > "Cant find subject from login id: chudler"
> >
> > I noticed in the grouper startup message it does not list all of the
> > sources (see below)
> >
> > <snip>
> > sources.xml read from:
> > /var/lib/tomcat5/webapps/web/WEB-INF/classes/sources.xml
> > sources.xml groupersource id: g:gsa
> >
> > OKAY, where is the JDBC person source?
> >
> > I was able to confirm it missing by setting
> > ws.logged.in.subject.default.source = ucmcdb
> > in grouper-ws.properties
> >
> > The result is a different error:
> > SourceUnavailableException: Cant find source with id: 'ucmcdb',
> > Possible source id's: 'g:gsa', 'g:isa',
> >
> > So I know the source isn't being loaded, but how do I find out why?
> > It is the same sources.xml I am using everywhere else (UI, GSH/API,
> > etc). I have attached it to this message.
> >
> > The rest of the error is below:
> >
> > 2009-01-07 12:21:44,295: [TP-Processor3] ERROR
> > WsGetMembersResults.assignResultCodeException(123) - clientVersion:
> > v1_4_000, wsGroupLookups: Array size: 1: [0]:
> >
> edu.internet2.middleware.grouper.ws.soap.WsGroupLookup@50cc50cc[group=<
> null>,uuid=<null>,groupName=uc:delegated:nbs:members,groupFindResult=<n
> ull>]
> >
> >
> > , memberFilter: All, includeSubjectDetail: false, actAsSubject:
> >
> edu.internet2.middleware.grouper.ws.soap.WsSubjectLookup@10fc10fc[subje
> ct=<null>,member=<null>,cause=<null>,causeMember=<null>,subjectFindResu
> lt=<null>,memberFindResult=<null>,subjectId=<null>,subjectIdentifier=<n
> ull>,subjectSourceId=<null>],
> > fieldName: null, subjectAttributeNames: null
> > , paramNames:
> > , params: null
> > java.lang.RuntimeException: Cant find subject from login id: chudler
> > at
> >
> edu.internet2.middleware.grouper.ws.GrouperServiceJ2ee.retrieveSubjectL
> oggedIn(GrouperServiceJ2ee.java:214)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.GrouperServiceJ2ee.retrieveSubjectA
> ctAsHelper(GrouperServiceJ2ee.java:277)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.GrouperServiceJ2ee.retrieveSubjectA
> ctAs(GrouperServiceJ2ee.java:262)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.util.GrouperServiceUtils.retrieveGr
> ouperSession(GrouperServiceUtils.java:661)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.GrouperServiceLogic.getMembers(Grou
> perServiceLogic.java:1080)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.GrouperServiceLogic.getMembersLite(
> GrouperServiceLogic.java:1346)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.soap.GrouperService.getMembersLite(
> GrouperService.java:345)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.rest.GrouperServiceRest.getMembersL
> ite(GrouperServiceRest.java:148)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.rest.method.GrouperWsRestGetGroup$1
> .service(GrouperWsRestGetGroup.java:49)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.rest.method.GrouperWsRestGet$1.serv
> ice(GrouperWsRestGet.java:78)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.rest.method.GrouperRestHttpMethod$1
> .service(GrouperRestHttpMethod.java:42)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.rest.GrouperRestServlet.service(Gro
> uperRestServlet.java:156)
> >
> > <snip>
> > Caused by:
> > edu.internet2.middleware.subject.SubjectNotFoundException: subject
> not
> > found: chudler
> > at
> >
> edu.internet2.middleware.grouper.subj.SourcesXmlResolver.thereCanOnlyBe
> One(SourcesXmlResolver.java:286)
> >
> > at
> >
> edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findByIdentifi
> er(SourcesXmlResolver.java:181)
> >
> > at
> >
> edu.internet2.middleware.grouper.subj.CachingResolver.findByIdentifier(
> CachingResolver.java:159)
> >
> > at
> >
> edu.internet2.middleware.grouper.subj.ValidatingResolver.findByIdentifi
> er(ValidatingResolver.java:130)
> >
> > at
> >
> edu.internet2.middleware.grouper.SubjectFinder.findByIdentifier(Subject
> Finder.java:187)
> >
> > at
> >
> edu.internet2.middleware.grouper.ws.GrouperServiceJ2ee.retrieveSubjectL
> oggedIn(GrouperServiceJ2ee.java:198)
> >




Archive powered by MHonArc 2.6.16.

Top of Page