Description of problem:
RHN shows internal error 500 on some logins, problem is not consistant.
Difficult to reproduce.
Version-Release number of selected component (if applicable):
Current customer facing website.
One out of 20 login attempts.. maybe.. Log in and out, for a bit, try again
soon, maybe just close the page while logged in, then attempt to log in again.
Steps to Reproduce:
1. Visit rhn.redhat.com , log in.
2. close window ( do not log out )
3. visit http://rhn.redhat.com in same browser.
Error 500, see attachment.
RHN to display default login page.
Not reproducable every time.
I'm not going to clear my cache and cookies, because customers should not have
to "Clear cache and cookies". We have html headers for setting for not caching
files (see META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" ) and also one can set a
time limit on cookies.
Created attachment 132894 [details]
Exception shown on customer facing site.
I think I see the cause of this. The LocalizationService does not handle calls
to getMessage() with a null messageId well. It should detect null messageIds and
return the results of a call to getMissingMessageString().
For anyone interested, look at the following lines in LocalizationService: 259,
621, and 314.
I have a fix for this on my box, just waiting for review.
This has been pushed to production already.
changing the current release from rhn4101 to rhn411