Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 21439 invoked from network); 30 Aug 2007 23:06:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 23:06:03 -0000 Received: (qmail 90507 invoked by uid 500); 30 Aug 2007 23:05:58 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 90480 invoked by uid 500); 30 Aug 2007 23:05:58 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 90470 invoked by uid 99); 30 Aug 2007 23:05:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 16:05:58 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of danaiw@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 23:05:53 +0000 Received: by nf-out-0910.google.com with SMTP id h3so595411nfh for ; Thu, 30 Aug 2007 16:05:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=XpW73Ni0LldfGu0HKUwpKuB2GrX7OEvGe+tPBS0P2I7PW5bv0nTSU/LHUjmuCCPR7mQ0Swk64h5xJcopeL00/xDifyHeHTrQiccQM+2Tppwqww7QVUcD3MqO17KTSb4c66twBdQBvf0cUR8PBKZHRHV2cGMYe+QKM/zA2BzR+58= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=I9NmRJ9f7C8stttZFIwdTwjcvcuItcPoz+rOeGJp4xMMuSzr5IWiGeCk3SjKedN3LbUgL3F+muNnNevfFlNfgFBqCWjheYwqfTAEmoKZIQimqelCuyEw2piFTPo+yy2Yw5Q7nBJjxhduQOKsS+ner/x/mNQ5TXuxvEzp43bx6BU= Received: by 10.86.4.2 with SMTP id 2mr749841fgd.1188515131269; Thu, 30 Aug 2007 16:05:31 -0700 (PDT) Received: by 10.86.90.12 with HTTP; Thu, 30 Aug 2007 16:05:31 -0700 (PDT) Message-ID: Date: Thu, 30 Aug 2007 16:05:31 -0700 From: "Danai Wiriyayanyongsuk" To: uima-user@incubator.apache.org, mba@michael-baessler.de Subject: Re: UIMA 2.2 Class Loader In-Reply-To: <46D68732.6070800@michael-baessler.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1672_30119729.1188515131247" References: <46D63BC7.3020205@schor.com> <46D68732.6070800@michael-baessler.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1672_30119729.1188515131247 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Michael. Yes, I have my primitive engines available as PEAR files. I also have the auto-generated PEAR descriptors. Michael's Quote: "This descriptor have to be used in the aggregate to refer to the primitive AEs." Question: How to refer the PEAR descriptors to their primitive AEs in the aggregate? Is it documented somewhere? In the aggregate AE description, I tried to specify the location of the PEAR descriptors in "delegateAnalysisEngine/import" but didn't work. Thanks, Danai Wiriyayanyongsuk On 8/30/07, Michael Baessler wrote: > > Are your primitive engines available as PEAR files? That is needed since > only if you have them as PEAR files > you can use the PEAR descriptor. > > After you have installed the PEAR files a PEAR descriptor is > automatically generated (located in the install directory). This > descriptor have to > be used in the aggregate to refer to the primitive AEs. > > -- Michael > > Danai Wiriyayanyongsuk wrote: > > Thanks Marshall for the information and for asking :) > > > > What I have tried is that I have a description of an aggregate analysis > > engine which has 4 primitive analysis engine defined. Those primitive AE > > descriptions are all fully defined (no imports) under the > > "delegateAnalysisEngine/analysisEngineDescription" tag. I do this > because > > those primitive AE descriptions are generated on the fly. For one thing, > > each primitive AE has its own PEAR-compliant directory. In this case, I > > could not figure out how to tell UIMA the location those directories. > > > > Excerpt from section 5.8 in the UIMA References page: > > "As of version 2.2, the framework supports component descriptors which > are > > PEAR descriptors. These descriptors define components plus include > > information on the class path needed to run them." > > Question: To get the individual class loader for each primitive AE > defined > > in an aggregate AE, do we have to specify/map the PEAR descriptor > > (_pear.xml?) for each of every primitive AE? If so, where > and > > how to do it? > > > > Any comments/recommendations would be appreciated. > > > > Thanks, > > Danai Wiriyayanyongsuk > > > > > > > > On 8/29/07, Marshall Schor < msa@schor.com> wrote: > > > >> Version 2.2 includes support for aggregates composed of PEAR > >> descriptors, which include the class path information. > >> > >> This should allow you to run a pipeline where each annotator could have > >> different versions of classes. > >> See > >> > >> > http://incubator.apache.org/uima/downloads/releaseDocs/2.2.0-incubating/docs/html/references/references.html#ugr.ref.jcas.pear_support > >> > >> Is that what you're trying to do? > >> > >> -Marshall > >> > >> Danai Wiriyayanyongsuk wrote: > >> > >>> Hi Guys, > >>> > >>> I'd like to ask a couple of questions regarding the classloader in > UIMA > >>> > >> 2.2. > >> > >>> For an aggregate analysis engine, is there a way to have/set different > >>> > >> class > >> > >>> loaders for each aggregated primitive analysis engines, so that the > >>> > >> classes > >> > >>> won't interfere each others? > >>> > >>> If there is so, could you please shed some light how to do it? I've > >>> > >> looked > >> > >>> into the source code and documentation but no luck :( > >>> > >>> Many Thanks, > >>> Danai Wiriyayanyongsuk > >>> > >>> > >>> > >> > > > > > > ------=_Part_1672_30119729.1188515131247--