https://issues.apache.org/bugzilla/show_bug.cgi?id=51744

--- Comment #4 from Anjana Fernando <laferna...@gmail.com> 2011-08-31 14:43:14 
UTC ---
Hi Mark,

Sorry, maybe I misunderstood, I guessed the modified version would be something
like the following,

public void close() throws NamingException {
    if (checkWriteable()) {
        env.clear();
    } else {
        throw something...
    }
}

so in the case of checkWriteable() == true, the environment is cleared and if
the user again looks up that context, wouldn't my same problem occur again? .. 

Cheers,
Anjana.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to