Chuck, You caught me. Rookie mistake. It's refreshing to know I can still make rookie mistakes after almost 30 years in software. What I did was do a WebContextFactory.get() on class initialization as a private static variable. I should have been doing the get on each call.
Thanks, Doug -----Original Message----- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, January 25, 2010 3:09 PM To: Tomcat Users List Subject: RE: Return from getRemoteUser and isUserInRole Inconsistent > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Return from getRemoteUser and isUserInRole Inconsistent > > If it's the functions above that return random stuff, > I'd look at those. I'd be looking for incorrect variable scope: storing a request- or session-specific item in a servlet's instance variable, for example. You can get wondrous strange results with that kind of mistake. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.