Hi,

At 13:05 +0100 16-12-2003, Michiel Meeuwissen wrote:
Andr? van Toly <[EMAIL PROTECTED]> wrote:
 >    I added these errors to bug #6091 (in comments), seems similar to me.

It looks more like #6212. Did you see this issue before or after its fix?

I'm running MMBase 1.7.0.20031207. Bug #6212 was fixed on 01/12, and i use the mmbase-community.jar of 14/12.


In applicatins/community/builders/Community.java though i noticed a fragment of code to open all the (open) channels. Maybe that's our suspect.

    /**
     * Opens all the channels that are connected to this community
     *
     */
    public void openAllCommunities() {
        //ensure the communitybuilder is initialized.
        init();
        if (channelBuilder == null) {
            log.error("No channel builder");
            return;
        }
        ClusterBuilder cluster=mmb.getClusterBuilder();

        Vector builders = new Vector();
        builders.add("community");
        builders.add("channel");

Vector fields = new Vector();
fields.add("community.number");
fields.add("channel.number");
Vector allchannels=cluster.searchMultiLevelVector(null,fields,"YES",builders,
"channel.open = "+channelBuilder.OPEN+" OR channel.open = "+channelBuilder.WANT_OPEN,
null,null,ClusterBuilder.SEARCH_EITHER);
if (allchannels!=null) {
for (Iterator channels=allchannels.iterator(); channels.hasNext(); ) {
MMObjectNode channel = (MMObjectNode)channels.next();
log.info("open channel"+channel);


channelBuilder.open(channel.getNodeValue("channel"),channel.getNodeValue("community"));
            }
        }
    }

---Andr�
--

------------------------------------------------------------------>><<--
Andr� van Toly
http://www.toly.nl
06-27233562



Reply via email to