ClassLoader oldLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(webAppContext.getClassLoader()); unbindLocalNamingEntries(); compCtx.destroySubcontext("env"); NamingEntry.destroyContext(localContextName); NamingEntry.setThreadLocalContext(null); Thread.currentThread().setContextClassLoader(oldLoader);
    public void deconfigureWebApp() throws Exception    {    }