Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 58011 invoked by uid 500); 17 Feb 2003 12:24:56 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Delivered-To: moderator for cocoon-dev@xml.apache.org Received: (qmail 30913 invoked from network); 17 Feb 2003 04:58:19 -0000 Date: Sun, 16 Feb 2003 20:58:35 -0500 From: Charles Yates Subject: SourceFactory instantiated twice To: cocoon-dev@xml.apache.org Message-id: <3E5041CB.2020800@stanford.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.3b) Gecko/20030207 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I've been working on a custom SourceFactory and was getting some odd behavior suggesting that it was not a singleton (SourceFactory extends ThreadSafe) as expected. I investigated a bit and discovered that 2 were being instantiated. You can see this behavior in the logs with the cocoon 2.0.4 samples if you 'grep SourceHandlerImpl core.log'. Both the file and blob source factories get created twice. I went as far as printing out a stack trace when the instantiation happens to my factory. My feeble understanding was not able to make much sense of them. Is this what is 'sposed to happen? If not I'll put in a bug report. Charles Yates Lane Medical Library http://lane.stanford.edu/index.html --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org