Done. See http://www.ja-sig.org/issues/browse/UP-2218
--
Andy Gherna
CITES, University of Illinois
Senior Research Programmer
Email: [EMAIL PROTECTED]
Phone: (217)265-9490
On Nov 21, 2008, at 8:32 AM, Eric Dalquist wrote:
Yeah, that is simply a case of the session already being invalid.
The code should just handle the ISE and ignore it. Create a Jira
issue and attach a .patch.
-Eric
Andy Gherna wrote:
Hello all,
We're on version 2.6.1 of uPortal and we are noticing that when a
user logs out, we are seeing IllegalStateExceptions show up in the
log thrown by CPortletAdapter (we have a lot of portlets). This
occurs in the code that ends the session for the user by calling
the invalidate() method on the PortletSession. However, the
PortletSession is the same as their HttpSession (from what I can
tell) and by the time CPortletAdapter tries to invalidate the
PortletSession its parent HttpSession has already been invalidated
thus the exception is thrown, caught and logged as an error.
As you can imagine, our logs are full of these messages and we
would like to avoid seeing them since they are harmless. I have a
patch that I'd like to contribute that addresses this issue.
Basically, it adds a handler for the IllegalStateException that
will log it at the debug level rather than Error (it's not really
an error from what I can tell). This would at least quiet the
production logs but it would still be loggable if there were anyone
interested in it. Should I open a JIRA ticket for this?
--
Andy Gherna
CITES, University of Illinois
Senior Research Programmer
Email: [EMAIL PROTECTED]
Phone: (217)265-9490
--
You are currently subscribed to [email protected] as: [EMAIL
PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev