Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 19019 invoked from network); 27 Aug 2009 08:29:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 08:29:08 -0000 Received: (qmail 72187 invoked by uid 500); 27 Aug 2009 08:29:08 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 72140 invoked by uid 500); 27 Aug 2009 08:29:08 -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 72130 invoked by uid 99); 27 Aug 2009 08:29:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:29:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kottmann@gmail.com designates 209.85.219.210 as permitted sender) Received: from [209.85.219.210] (HELO mail-ew0-f210.google.com) (209.85.219.210) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:28:57 +0000 Received: by ewy6 with SMTP id 6so996331ewy.34 for ; Thu, 27 Aug 2009 01:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=tIFIhlzTLRjRPc1dmW9wZqd7T67Kq3cm3ieowmYlDL0=; b=hu5Yy+wBwkNsvNLu/2GbtMGGxwcqVmXYL2i/34jw+fEiBBfdI/puT2jnrcF2FZAIn8 uJL9A0j9w2D9eftTxibBH019VOHEeh0QWmzQoV3ZMBbtDutfEkUS5Xr9rGTK+ArN32e/ HiQAbev1yFiCcWNn2aoLOGTbmj+QN/B5RX2tc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=bzoPQhJwf84uTTl/xRdMDA/WHHnsJ4aHsD0hqTjd64d2Igm0PtMAFf2ubgo6GuxvUf TxoHYG/4mvp5wRjjiygjbMnGo3AWsL6B0WxSXTwsRMNQbzwghTqy7GxCQae9igZzgsEq tpZJI+kgX/+eRFCj9lFjurE9Dvxd/rjFt71zc= Received: by 10.210.206.12 with SMTP id d12mr70044ebg.32.1251361717027; Thu, 27 Aug 2009 01:28:37 -0700 (PDT) Received: from ?192.168.0.177? (dkcphfw01.infopaq.dk [213.150.59.2]) by mx.google.com with ESMTPS id 5sm1367660eyf.31.2009.08.27.01.28.35 (version=SSLv3 cipher=RC4-MD5); Thu, 27 Aug 2009 01:28:35 -0700 (PDT) Message-ID: <4A9643B2.5080808@gmail.com> Date: Thu, 27 Aug 2009 10:28:34 +0200 From: =?ISO-8859-1?Q?J=F6rn_Kottmann?= User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: uima-user@incubator.apache.org Subject: Re: UIMA AS: XXXCasMultiplier specifies a casMultipler element, but the analysisEngine is not a CAS multiplier References: <4A954157.7020604@gmail.com> <4A95A490.7090407@schor.com> In-Reply-To: <4A95A490.7090407@schor.com> Content-Type: multipart/alternative; boundary="------------080004080802050407060907" X-Virus-Checked: Checked by ClamAV on apache.org --------------080004080802050407060907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Marshall Schor wrote: > J�rn Kottmann wrote: > >> *** ERROR: line-number: 21 deployment descriptor for analysisEngine: >> XXXCasMultiplier specifies a casMultipler element, but the >> analysisEngine is not a CAS multiplier >> >> Yes the casMultiplier element is specified for the AE in question, but >> its also a Cas Multiplier. Which UIMA AS >> later even prints out on the console: >> 37 >>>>>> CAS Multiplier::XXXCasMultiplier Initializing its Cas Pool >> >> Whats going wrong here ? >> > > This message comes from the dd2spring.xsl transformation (see line 1886 > in uima-as-distr/src/main/scripts/dd2spring.xsl). It is issued when you > have a casMultiplier element (which you do), but the referenced AE > descriptor in the same position (in the case of nested aggregates, > etc.), fails this xsl test: > test="(string($local_ae_descriptor/*/u:analysisEngineMetaData/u:operationalProperties/u:outputsNewCASes) > eq 'true') > or > $local_ae_descriptor/u:collectionReaderDescription"> > > where $local_ae_descriptor is the part of the referenced main descriptor > corresponding to this part of the deployment descriptor. > Basically, it's looking to see that you have in the AE's metadata > "operationalProperties" element the outputsNewCASes set to true, or the > AE is defined as a collectionReader > > Is this the case in your situation? Can you post the part of the base > UIMA Descriptor that specifies it's a CAS Multiplier? > The root element of the CAS Multiplier descriptor was still taeDescription and not analysisEngineDescription. After changing that, the warning vanished and the CAS pool size was set correct, which solved another issue I had. When the a cas mulitplier cas pool size is 1 the application cannot scale even when the global cas pool size is larger than 1. J�rn --------------080004080802050407060907--