Context (ServletContext) attributes cannot be failed over. Only the HttpSession objects will be persisted onto HADB. I think J2EE spec discourages (prohibits ?) persisting/failing over the context attributes in a cluster environment (See Servlet Spec 3.4 - Context Attributes).
Hope that helps,
Vasanth