{
WebBeansContext webBeansContext = WebBeansContext.getInstance();
ContextFactory contextFactory = webBeansContext.getContextFactory();
contextFactory.destroyRequestContext(null);
contextFactory.destroyConversationContext();
contextFactory.destroySessionContext(session);
contextFactory.destroyApplicationContext(servletContext);
contextFactory.destroySingletonContext(servletContext);
//Comment out for OWB-502