compCtx.createSubcontext("env");
Context envCtx = compCtx.createSubcontext("env");
    protected void createEnvContext ()    throws NamingException    {        Context context = new InitialContext();        Context compCtx =  (Context)context.lookup ("java:comp");        compCtx.createSubcontext("env");        if (Log.isDebugEnabled())            Log.debug("Created java:comp/env for webapp "+getWebAppContext().getContextPath());    }