Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Problem with GrouperSession

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Problem with GrouperSession


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Michal Prochazka <>, "" <>
  • Subject: RE: [grouper-users] Problem with GrouperSession
  • Date: Tue, 28 Jun 2011 16:24:06 +0000
  • Accept-language: en-US

It is a threadlocal, so you cant just call it when the webapp starts, you
need to call it for each request. Is that what you are doing? And if not
can you try it? You should stop the session when done with it at the end of
the request too...

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Michal Prochazka
Sent: Tuesday, June 28, 2011 9:26 AM
To:

Subject: [grouper-users] Problem with GrouperSession

Hi all,

Firstly thanks for this great piece of software!

We are using Grouper as a component inside our project. We use directly
Java API. Now when we have deployed our web GUI of our application which
calls API of our application which then calls Grouper API for some tasks
we observe randomly this kind of exception: There is no open
GrouperSession detected. Make sure to start a grouper session (e.g.
GrouperSession.start() ) before calling this method.

When the web application starts it calls method which calls
GrouperSession.startRootSession(true), so the session exists. We have
gone through a source code of the GSH and Grouper UI, but we couldn't
find the right way how to start and maintain GrouperSession.

Any help will be appreciated.

Cheers,

Michal P.
--
Michal Prochazka //


CERIT-SC www.cerit.cz
Institute of Computer Science
Masaryk University
Botanicka 68a, 60200 Brno, CZ

CESNET z.s.p.o.
Zikova 4, 16200 Praha 6, CZ




Archive powered by MHonArc 2.6.16.

Top of Page