Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 71801 invoked by uid 500); 21 Aug 2001 16:05:29 -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 71771 invoked from network); 21 Aug 2001 16:05:29 -0000 Message-ID: <20010821160530.46274.qmail@web12805.mail.yahoo.com> Date: Tue, 21 Aug 2001 09:05:30 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Re: proposal: entity resolution capability To: cocoon-dev@xml.apache.org In-Reply-To: <998403370.3b826d2a268c2@mail.otego.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Thanks for the heads-up Giacomo. -- dims --- Giacomo Pati wrote: > Quoting Davanum Srinivas : > > > Please try the following. > > > > try { > > URLFactory urlFactory = > > (URLFactory)this.manager.lookup(URLFactory.ROLE); > > URL url = > > urlFactory.getURL("context://resources/entities/catalog"); > > } catch (Exception e) { > > log.error("cannot obtain the URLFactory", e); > > throw new SAXException ("cannot obtain the URLFactory", e); > > } finally { > > if(urlFactory != null) > > this.manager.release((Component)urlFactory); > > Just a FYI. It is no longer necessairy to do the above statement. The contract > to the release method is that null arguments gets ignored by the > ComponentManager, thus a > > this.manager.release((Component)urlFactory); > > is all you have to do in the finally block. > > Giacomo > > > } > > > > Thanks, > > dims > > > > > The only configuration information that we need to know > > > is the full run-time pathname to the default catalog > > > file which will be at webapps/cocoon/resources/entities/catalog > > > We should leave the CatalogManager.properties file for > > > local configuration. > > > > > > Any clues on how to determine that pathname are appreciated. > > > cheers, david > > > > ===== Davanum Srinivas, JNI-FAQ Manager http://www.jGuru.com/faq/JNI __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org