On Tuesday 01 April 2003 06:01 pm, Rob van Maris wrote:
> Is the basic implementation of Cloud threadsafe?
> I.e. can multiple threads share a BasicCloud instance safely?

I have the same question here.
one "known" problem is that when you change something to security
your cloud instance becomes invalid

CloudTag.java
    /**
     * Makes the cloud variable null (may not be null already) if it
     * is 'expired'. This means normally that the security
     * configuration has been changed, or MMBase restarted or
     * something like that. This means that the cloud (probably gotten
     * from the session), cannot be used anymore.
     */


    private final void checkValid() {
        if (! cloud.getUser().isValid()) {
            log.debug("found a cloud in the session, but is was expired, 
throwing it away");
            cloud = null;
        }
    }

I am also experiancing caching problems that might be related to using ony one 
cloud instance.


I'm not shure when a problem will arize, do know any problem situation?



Reply via email to