Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 78203 invoked by uid 500); 30 Jun 2003 19:58:04 -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 Received: (qmail 78168 invoked from network); 30 Jun 2003 19:58:03 -0000 Received: from mail.gmx.net (213.165.64.20) by daedalus.apache.org with SMTP; 30 Jun 2003 19:58:03 -0000 Received: (qmail 17195 invoked by uid 65534); 30 Jun 2003 19:58:07 -0000 Received: from unknown (EHLO WRPO) (193.81.161.147) by mail.gmx.net (mp009) with SMTP; 30 Jun 2003 21:58:07 +0200 Reply-To: From: =?iso-8859-1?Q?Reinhard_P=F6tz?= To: Subject: [Flow] Serious problem with cocoon.getComponent(id) Date: Mon, 30 Jun 2003 21:56:32 +0200 Message-ID: <005701c33f41$b5279480$1e01a8c0@WRPO> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: High X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20030630191110.39203.qmail@icarus.apache.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I think we have I serious problem with the lookup of components within flow scripts. Under load the component manager can become null!!! Could somebody with more knowledge about this part of Cocoon have a look at it? TIA! Cheers, Reinhard > -----Original Message----- > From: reinhard@apache.org [mailto:reinhard@apache.org] > Sent: Monday, June 30, 2003 9:11 PM > To: cocoon-2.1-cvs@apache.org > Subject: cvs commit: > cocoon-2.1/src/scratchpad/src/org/apache/cocoon/components/flo > w/javascript/fom FOM_Cocoon.java > > > reinhard 2003/06/30 12:11:10 > > Modified: > src/scratchpad/src/org/apache/cocoon/components/flow/javascript/fom > FOM_Cocoon.java > + public Object jsFunction_getComponent( String id ) { > + Object o = null; > + try { > + o = this.componentManager.lookup( id ); > + } catch (ComponentException e) { > + o = null; > + } > + return o; > + }