All, I have a serializable class name 'Owner' and while login to the application, i put the object of this class in the session. Later in my application, when i am trying to retrieve this obejct from the session using the following code, throwing class cast exception. Owner owner =(Owner)request.getSession().getAttribute( WebKeys.LOGGEDINOWNER_OWNER_KEY) This piece of code works fine in test enviornment(single server), ...