From ejones@example.org Tue Feb 01 09:04:37 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 66636 invoked from network); 1 Feb 2011 09:04:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2011 09:04:37 -0000 Received: (qmail 96513 invoked by uid 500); 1 Feb 2011 09:04:35 -0000 Delivered-To: ejones@example.org Received: (qmail 95514 invoked by uid 500); 1 Feb 2011 09:04:30 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 95496 invoked by uid 99); 1 Feb 2011 09:04:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 09:04:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 09:04:21 +0000 Received: by ewy28 with SMTP id 28so2707068ewy.6 for <ejones@example.org>; Tue, 01 Feb 2011 01:04:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=mUEXXkt9kM0WI6SSLus3jAuahv9RShR0YSEOqfiI224=; b=ZpW1i+N50KeAF8Qjnz7/cXeaqB4hI0/2AGbNYrmWzo/Cv+rlSDcidRh51V1oC5C5V+ DUqQV7nNYhkRPMZ2qEIaVQd4wXk0NR21EIX/opJZ3zvHkBpIqzEXkAIE4TCuImIfP+v5 z/VRzDgoS4NGvI06p0Fxeb8RrSQmosecewsqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WnAN4F6pd8V5vjlFPMpQ1XUMDM56GOV5jErrfNSzfhwAzRcxt9GzQZM2PyC6Vv2tRy dGkrgsfkfnRDGQwjblzHpqqdkm42RC47Y1zmwpzYi0nKmqRDG7+HO8hvsSbcr8RQ1WjQ tsckY6oO3vFfiDGiw6Z1G18P9jYyez8ovXbAY= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id z16mr9804494ebz.45.1296551041631; Tue, 01 Feb 2011 01:04:01 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 1 Feb 2011 01:04:01 -0800 (PST) Date: Tue, 1 Feb 2011 10:04:01 +0100 Message-ID: <ejones@example.org> Subject: Feature structure list - help From: Alessandro Rossi <ejones@example.org> To: ejones@example.org Content-Type: multipart/alternative; boundary=0015174c46264506d4049b34d002 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c46264506d4049b34d002 Content-Type: text/plain; charset=ISO-8859-1 Hi, Im new user of UIMA. I would know if it's possible create a type system that contains a list of another type system already defined. Example : I have defined a type system Person that contains FirstName and LastName. I want to define a type system PersonList that contains a list of Person. In this way I would obtain a java class PersonList with method get(int index) that return a Person. Thanks. --0015174c46264506d4049b34d002-- From ejones@example.org Tue Feb 01 12:49:25 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 98293 invoked from network); 1 Feb 2011 12:49:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2011 12:49:25 -0000 Received: (qmail 65175 invoked by uid 500); 1 Feb 2011 12:49:25 -0000 Delivered-To: ejones@example.org Received: (qmail 64523 invoked by uid 500); 1 Feb 2011 12:49:21 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 64475 invoked by uid 99); 1 Feb 2011 12:49:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 12:49:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 12:49:13 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <ejones@example.org>) id 1PkFf7-000234-4g for ejones@example.org; Tue, 01 Feb 2011 13:48:51 +0100 Received: from isp-mod194-b13.spectranet.com ([isp-mod194-b13.spectranet.com]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ejones@example.org>; Tue, 01 Feb 2011 13:48:49 +0100 Received: from arun.tewatia by isp-mod194-b13.spectranet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ejones@example.org>; Tue, 01 Feb 2011 13:48:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ejones@example.org From: Arun Tewatia <ejones@example.org> Subject: Re: UIMA-AS source files not compiling at runtime Date: Tue, 1 Feb 2011 12:48:33 +0000 (UTC) Lines: 35 Message-ID: <ejones@example.org> References: <ejones@example.org> <ejones@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: ejones@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:83.161.120.155) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13) X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am trying to run UIMA-AS from command line. When I make any changes to source file of Collection Reader in eclipse and try to run it. The new changed source file is compiled and new .class file is generated. But when i try to run the same using UIMA-AS from command line. It gives above said error. If I compile the source file from eclipse and place the .class file at appropriate classpath. It works fine. Now if I want to make changes to source file of collection reader. Then i have to again compile it using eclipse or else changes wont reflect. I use following commands..... Start Broker /home/apache-uima/bin/startBroker.sh Deploy service /home/apache-uima/bin/deployAsyncService.sh examples/deploy/as/Deploy_UIMA.xml -brokerURL tcp://ws28-arun-lin:61616 Run client /home/apache-uima/bin/runRemoteAsyncAE.sh tcp://ws28-arun-lin:61616 UIMAQueue -c /home/apache-uima/collection_reader/DBCollectionReader.xml -Arun Tewatia From ejones@example.org Tue Feb 01 18:42:54 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 21962 invoked from network); 1 Feb 2011 18:42:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2011 18:42:54 -0000 Received: (qmail 68788 invoked by uid 500); 1 Feb 2011 18:42:54 -0000 Delivered-To: ejones@example.org Received: (qmail 68546 invoked by uid 500); 1 Feb 2011 18:42:52 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 68535 invoked by uid 99); 1 Feb 2011 18:42:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 18:42:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yi0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 18:42:44 +0000 Received: by yie16 with SMTP id 16so2648072yie.6 for <ejones@example.org>; Tue, 01 Feb 2011 10:42:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=LZERw2jZeZTcW7r7tI6hSzoAfFqUZYxoNobjw1p3nsM=; b=frtghTQ+iuhwKLEbtURy/g3N8Z68PFk9UMO2LkapPDw/lHo7HZEA9V0CcJVx0HONXg 04esytP+orCOrl0HEGzTp25IFmZZxcsIJD/o+rU7opqTWXOAaVY3z0RVjIlqvQ1Bc7oJ +aRkQU+U6lmHtk7609ZpPemnrh25R4nPLIjLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=D+26bNMt0hJ/lOKRiSmOvIfjNmwMRiHFuhh6JLzJhnKYpcZ3QhVJ5d828ctK22yetM 9fs4jt6Uo3oFnrGmWvr0Bh+Y5PO1ZY61y/zAvKzfmxGOwO3f4aCUP3EyVlW8/rDSbXhj N4EFawLNqxANT5Fxenncm4EGedpsS+9H8giX4= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id q9mr11768313yae.33.1296585743509; Tue, 01 Feb 2011 10:42:23 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 1 Feb 2011 10:42:23 -0800 (PST) In-Reply-To: <ejones@example.org> References: <ejones@example.org> Date: Tue, 1 Feb 2011 13:42:23 -0500 Message-ID: <ejones@example.org> Subject: Re: Feature structure list - help From: Eddie Epstein <ejones@example.org> To: ejones@example.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Yes. Use the FSList type. Each element is a reference to feature structure. See http://uima.apache.org/d/uimaj-2.3.1/api/index.html On Tue, Feb 1, 2011 at 4:04 AM, Alessandro Rossi <ejones@example.org> wrote: > Hi, > Im new user of UIMA. I would know if it's possible create a type system that > contains a list of another type system already defined. > > Example : > I have defined a type system Person that contains FirstName and LastName. > I want to define a type system PersonList that contains a list of Person. > > In this way I would obtain a java class PersonList with method get(int > index) that return a Person. > > > Thanks. > From ejones@example.org Tue Feb 01 18:51:24 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 25274 invoked from network); 1 Feb 2011 18:51:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2011 18:51:24 -0000 Received: (qmail 94940 invoked by uid 500); 1 Feb 2011 18:51:23 -0000 Delivered-To: ejones@example.org Received: (qmail 94497 invoked by uid 500); 1 Feb 2011 18:51:21 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 94489 invoked by uid 99); 1 Feb 2011 18:51:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 18:51:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO gateway09.websitewelcome.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Feb 2011 18:51:14 +0000 Received: (qmail 12970 invoked from network); 1 Feb 2011 18:49:53 -0000 Received: from gator74.hostgator.com (83.161.120.155) by gateway09.websitewelcome.com with SMTP; 1 Feb 2011 18:49:53 -0000 Received: from [83.161.120.155] (port=1587 helo=[83.161.120.155]) by gator74.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <ejones@example.org>) id 1PkLJY-0003Ei-TB for ejones@example.org; Tue, 01 Feb 2011 12:50:57 -0600 Message-ID: <ejones@example.org> Date: Tue, 01 Feb 2011 13:50:52 -0500 From: Marshall Schor <ejones@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:83.161.120.155) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: ejones@example.org Subject: Re: UIMA-AS source files not compiling at runtime References: <ejones@example.org> <ejones@example.org> <ejones@example.org> In-Reply-To: <ejones@example.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator74.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-Source: X-Source-Args: X-Source-Dir: Maybe there's a misconception. Running UIMA from the command line will not run the Java compile against your changed Collection Reader source code - this is how it is designed to work. You have to have some other method (Eclipse, or running a command to compile the Java source changes using a Java compiler of your choice), and have the resulting class file available to UIMA in the runtime classpath. Sorry if I've misunderstood the issue. -Marshall On 2/1/2011 7:48 AM, Arun Tewatia wrote: > Hi all, > > I am trying to run UIMA-AS from command line. > > When I make any changes to source file of Collection Reader in eclipse and try > to run it. > The new changed source file is compiled and new .class file is generated. > > But when i try to run the same using UIMA-AS from command line. > It gives above said error. > If I compile the source file from eclipse and place the .class file at > appropriate classpath. > It works fine. Now if I want to make changes to source file of collection > reader. > Then i have to again compile it using eclipse or else changes wont reflect. > I use following commands..... > > Start Broker > /home/apache-uima/bin/startBroker.sh > > Deploy service > /home/apache-uima/bin/deployAsyncService.sh examples/deploy/as/Deploy_UIMA.xml > -brokerURL tcp://ws28-arun-lin:61616 > > Run client > /home/apache-uima/bin/runRemoteAsyncAE.sh tcp://ws28-arun-lin:61616 UIMAQueue > -c /home/apache-uima/collection_reader/DBCollectionReader.xml > > > -Arun Tewatia > > > > > > > > From ejones@example.org Tue Feb 01 20:45:08 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 8857 invoked from network); 1 Feb 2011 20:45:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2011 20:45:07 -0000 Received: (qmail 20736 invoked by uid 500); 1 Feb 2011 20:45:07 -0000 Delivered-To: ejones@example.org Received: (qmail 20468 invoked by uid 500); 1 Feb 2011 20:45:06 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 20454 invoked by uid 99); 1 Feb 2011 20:45:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 20:45:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gy0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 20:44:59 +0000 Received: by gyd8 with SMTP id 8so1328208gyd.6 for <ejones@example.org>; Tue, 01 Feb 2011 12:44:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=swxPKIZWmOGd/c1D70nDpZIJhGSTe1d5q+pQE4mlrSQ=; b=Gb7zv39T+QHe63K4zXVzfuVNQxFc4fZns0G5Cie2rhA4BowNtPS7anUohbPtqYtXoo xGAssiJmphSj+DlS4yxDUk49mtlO8m16uoyQAvglzOa5CCcQbPPu5RJSmjnWpbewOmUx DzBBRKHY56lMmh98K8wr3r9SMrj2Qa07xRLds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=olx+1j+pZJDJ84stTdwSbtuuXcYqVKYRCHLTXIDyI/jADhZLqWy1rhbxvmWfMMrd4i 1dzJEnC7IA92bNm9pTYljMyKFq0yIaLzaZqPrf9ME/ShA0at7jePC/hk3ms6wUw17P6g FHPQtWg5exvlX8hVpxrEL1jtFLm+VP0bf7uHo= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id m17mr10388691ybd.259.1296593078760; Tue, 01 Feb 2011 12:44:38 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 1 Feb 2011 12:44:38 -0800 (PST) In-Reply-To: <ejones@example.org> References: <ejones@example.org> <ejones@example.org> <ejones@example.org> <ejones@example.org> Date: Tue, 1 Feb 2011 15:44:38 -0500 Message-ID: <ejones@example.org> Subject: Re: UIMA-AS source files not compiling at runtime From: Burn Lewis <ejones@example.org> To: ejones@example.org Content-Type: multipart/alternative; boundary=000e0cd5cff0e0b4d9049b3e99d8 --000e0cd5cff0e0b4d9049b3e99d8 Content-Type: text/plain; charset=ISO-8859-1 > > > FWIW I usually develop under Eclipse and let it compile as usual. Then when I run from the command line I include the Eclipse-created classes in the classpath. e.g. for 2 projects in $HOMEDIR and $FACTDIR and after setting a few environment variables such as UIMA_HOME ... export UIMA_LOGGER_CONFIG_FILE=iodLogger.properties export UIMA_CLASSPATH=$HOMEDIR/bin:$FACTDIR/bin export UIMA_DATAPATH=$HOMEDIR/descriptors:$FACTDIR/desc/typesystem;$FACTDIR/desc runRemoteAsyncAE.sh $BROKERURL $QUEUENAME -c descriptors/IODCollectionSetup.xml -d descriptors/deploy-${QUEUENAME}.xml -p 2 -it 120 Note that the -d option lets you skip the deployAsyncService step. -Burn. --000e0cd5cff0e0b4d9049b3e99d8-- From ejones@example.org Wed Feb 02 11:53:36 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 12382 invoked from network); 2 Feb 2011 11:53:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2011 11:53:36 -0000 Received: (qmail 89099 invoked by uid 500); 2 Feb 2011 11:53:36 -0000 Delivered-To: ejones@example.org Received: (qmail 88840 invoked by uid 500); 2 Feb 2011 11:53:33 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 88402 invoked by uid 99); 2 Feb 2011 11:53:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 11:53:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 11:53:24 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <ejones@example.org>) id 1PkbGd-0004Ei-AO for ejones@example.org; Wed, 02 Feb 2011 12:53:03 +0100 Received: from isp-mod194-b13.spectranet.com ([isp-mod194-b13.spectranet.com]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ejones@example.org>; Wed, 02 Feb 2011 12:52:59 +0100 Received: from arun.tewatia by isp-mod194-b13.spectranet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ejones@example.org>; Wed, 02 Feb 2011 12:52:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ejones@example.org From: Arun Tewatia <ejones@example.org> Subject: Re: UIMA-AS source files not compiling at runtime Date: Wed, 2 Feb 2011 11:52:48 +0000 (UTC) Lines: 9 Message-ID: <ejones@example.org> References: <ejones@example.org> <ejones@example.org> <ejones@example.org> <ejones@example.org> <ejones@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: ejones@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:83.161.120.155) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13) X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Thanks Marshall ! You are right ......... UIMA_AS dosen't compile source ejones@example.org. It is dependent on eclipse for its .class files. I am a newbie to UIMA-AS. Is there any way we can remove this dependency ? Thanks !! From ejones@example.org Wed Feb 02 13:01:49 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 47485 invoked from network); 2 Feb 2011 13:01:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2011 13:01:49 -0000 Received: (qmail 64573 invoked by uid 500); 2 Feb 2011 13:01:49 -0000 Delivered-To: ejones@example.org Received: (qmail 64345 invoked by uid 500); 2 Feb 2011 13:01:46 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 64336 invoked by uid 99); 2 Feb 2011 13:01:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 13:01:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 13:01:37 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <ejones@example.org>) id 1PkcKg-0003CU-0t for ejones@example.org; Wed, 02 Feb 2011 14:01:14 +0100 Received: from isp-mod194-b13.spectranet.com ([isp-mod194-b13.spectranet.com]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ejones@example.org>; Wed, 02 Feb 2011 14:01:14 +0100 Received: from arun.tewatia by isp-mod194-b13.spectranet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ejones@example.org>; Wed, 02 Feb 2011 14:01:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ejones@example.org From: Arun Tewatia <ejones@example.org> Subject: Service not accepting repeated requests form client !! Date: Wed, 2 Feb 2011 13:01:02 +0000 (UTC) Lines: 34 Message-ID: <ejones@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: ejones@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:83.161.120.155) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13) X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I deployed a UIMA-AS service with 2 CAS Consumers TokenDBCasConsumer and NEDCasConsumer_DB Next i sent a request from client side, which reads input from a database server and writes the results back. The output was fine for the first request. But when i sent another request to the same service from same client. It didn't initialize properly and stopped giving following error ..... Error on process CAS call to remote service: org.apache.uima.aae.error.UimaEEServiceException: org.apache.uima.aae.error.UimaAsDelegateException: ----> Controller:/UIMA_back Received Exception on CAS:-56fbce62:12de6651bfe:-7ffd From Delegate:ejones@example.org(JmsOutputChanne .java:1076) Terminating Client... If I try only one cas consumer TokenDBCasConsumer then everything works fine. I tried sending simultaneous client requests to this service instance. Both client requests run simultaneously fine until one of them finishes. As soon as one is completed other request terminates abruptly giving same error as above. What can be possible reason ? Am i missing something ? Thanks ! From ejones@example.org Wed Feb 02 14:03:43 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 80788 invoked from network); 2 Feb 2011 14:03:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2011 14:03:43 -0000 Received: (qmail 50389 invoked by uid 500); 2 Feb 2011 14:03:42 -0000 Delivered-To: ejones@example.org Received: (qmail 50197 invoked by uid 500); 2 Feb 2011 14:03:40 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 50189 invoked by uid 99); 2 Feb 2011 14:03:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 14:03:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 14:03:33 +0000 Received: by ywi6 with SMTP id 6so3019523ywi.6 for <ejones@example.org>; Wed, 02 Feb 2011 06:03:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=xfDrSLf2NYzJdVu4m8X/BPP5GvH2Vg7JXsv9bOn3MGQ=; b=nccXYL3C847IbsX8/o9fn/bq3Lavbs8plQ/jozLy39aIinuwcJmQNtSh4kDf2/ZOl9 H64MPzGr01h+wsLpobQeVvlWib96BaFccREFbp6BBe2VYir19JZEnpZ6itJcSg0QotEW opiobOwKbbSafjDPtcB9qzKebtdS37SmldV6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EoLfhE0MmqqWafSNvky5iv1lZXw6+GWosfbDFqXiBLTtRj2LIPQC6zu2wvDLeagb9m 3I3Xh45FmyoMUdGjYJVlZDswvAwWHYtbqDze/ZmHywO37Cuhwta7LOHIgMvSRu1ux6em 1qBmKpJI3ne+VWL1MYxDFAl4IwBuEaGdajfJI= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s15mr3997186ybf.94.1296655392807; Wed, 02 Feb 2011 06:03:12 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 2 Feb 2011 06:03:12 -0800 (PST) In-Reply-To: <ejones@example.org> References: <ejones@example.org> Date: Wed, 2 Feb 2011 09:03:12 -0500 Message-ID: <ejones@example.org> Subject: Re: Service not accepting repeated requests form client !! From: Eddie Epstein <ejones@example.org> To: ejones@example.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ideally the aggregate deployed as a UIMA AS service was tested before deployment. Assuming that works OK it is possible, depending on the UIMA AS service deployment options, that the two CAS consumers are running in separate threads but their code is not thread safe. For example, both are accessing the same DB with a shared connection which is closed by one them while the other is trying to use it. On Wed, Feb 2, 2011 at 8:01 AM, Arun Tewatia <ejones@example.org> wrot= e: > Hi all, > > I deployed a UIMA-AS service with 2 CAS Consumers > TokenDBCasConsumer and NEDCasConsumer_DB > > Next i sent a request from client side, which reads input from a database= server > and writes the results back. The output was fine for the first request. B= ut when > i sent another request to the same service from same client. It didn't in= itialize > properly and stopped giving following error ..... > > > Error on process CAS call to remote service: > org.apache.uima.aae.error.UimaEEServiceException: > org.apache.uima.aae.error.UimaAsDelegateException: ----> Controller:/UIMA= _back > Received Exception =A0on CAS:-56fbce62:12de6651bfe:-7ffd From > Delegate:NEDCasConsumer_DB > =A0 =A0 =A0 =A0at > org.apache.uima.adapter.jms.activemq.JmsOutputChannel.sendReply(JmsOutput= Channe > .java:1076) > > Terminating Client... > > > > If I try only one cas consumer TokenDBCasConsumer then everything works f= ine. I > tried sending simultaneous client requests to this service instance. Both= client > requests run simultaneously fine until one of them finishes. As soon as o= ne is > completed other request terminates abruptly giving same error as above. > > > What can be possible reason ? Am i missing something ? > > Thanks ! > > > From ejones@example.org Wed Feb 02 14:15:00 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 93936 invoked from network); 2 Feb 2011 14:14:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2011 14:14:59 -0000 Received: (qmail 68571 invoked by uid 500); 2 Feb 2011 14:14:59 -0000 Delivered-To: ejones@example.org Received: (qmail 68502 invoked by uid 500); 2 Feb 2011 14:14:57 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 68493 invoked by uid 99); 2 Feb 2011 14:14:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 14:14:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gy0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 14:14:50 +0000 Received: by gyd8 with SMTP id 8so1642692gyd.6 for <ejones@example.org>; Wed, 02 Feb 2011 06:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Y/Etw6PtZnH9SacuMXCFBaNERqJc7w5/jHotyxam5i0=; b=a4N+2KJ6euLmhL2VhN6Cx6qGxCaritoSChcs+oItAPYbE1r86Kgr5eUeUTzq5jbVZ9 bMEgRn2h/IMt3raxIv7bcgNNpSwoe1HT86fpLBKl21kxHZqBp6vpHg8fALd0lhodXLRn ZW9z2gtWWhTz5Qgub0nuQ2ztFWUEKPXxB9fE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=f74Sz5fw0jaso61e4kZ9X/+oIze/5IQNTNnY8A2F4NZhVu7ZPpMjVnFJFJRO3SOvpb bh/4w0PbpPugxY261mt+Z/7PmGx9bUbnxXJvqccq8Erz/muTBUbIJD42I3zHzLGqOt80 51+zIvnHFGaoUUe2NhIN7rV+hi6CEWdvZ7HDs= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s15mr4005349ybf.94.1296655692362; Wed, 02 Feb 2011 06:08:12 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 2 Feb 2011 06:08:12 -0800 (PST) In-Reply-To: <ejones@example.org> References: <ejones@example.org> <ejones@example.org> <ejones@example.org> <ejones@example.org> <ejones@example.org> <ejones@example.org> Date: Wed, 2 Feb 2011 09:08:12 -0500 Message-ID: <ejones@example.org> Subject: Re: UIMA-AS source files not compiling at runtime From: Eddie Epstein <ejones@example.org> To: ejones@example.org Content-Type: text/plain; charset=ISO-8859-1 UIMA runs compiled Java code. You'll need to compile the code before trying to run it. On Wed, Feb 2, 2011 at 6:52 AM, Arun Tewatia <ejones@example.org> wrote: > Hi all, > > Thanks Marshall ! You are right ......... > UIMA_AS dosen't compile source ejones@example.org. It is dependent on eclipse for > its .class files. > > I am a newbie to UIMA-AS. Is there any way we can remove this dependency ? > > Thanks !! > > From ejones@example.org Thu Feb 03 06:28:32 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 67296 invoked from network); 3 Feb 2011 06:28:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2011 06:28:32 -0000 Received: (qmail 91708 invoked by uid 500); 3 Feb 2011 06:28:32 -0000 Delivered-To: ejones@example.org Received: (qmail 91424 invoked by uid 500); 3 Feb 2011 06:28:28 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 91416 invoked by uid 99); 3 Feb 2011 06:28:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 06:28:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 06:28:20 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <ejones@example.org>) id 1PksfW-0001xA-Jt for ejones@example.org; Thu, 03 Feb 2011 07:27:54 +0100 Received: from isp-mod194-b13.spectranet.com ([isp-mod194-b13.spectranet.com]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ejones@example.org>; Thu, 03 Feb 2011 07:27:50 +0100 Received: from arun.tewatia by isp-mod194-b13.spectranet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ejones@example.org>; Thu, 03 Feb 2011 07:27:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ejones@example.org From: Arun Tewatia <ejones@example.org> Subject: Re: Service not accepting repeated requests form client !! Date: Thu, 3 Feb 2011 06:27:40 +0000 (UTC) Lines: 15 Message-ID: <ejones@example.org> References: <ejones@example.org> <ejones@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: ejones@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:83.161.120.155) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13) Hi Eddie, Thanks for previous reply ! As you said the code of two cas consumers needs to be thread safe if i run two client requests simultaneously. But in my first scenario, I send second request after the first request has finished successfully. In that case too i get the above mentioned error. Here the reason doesn't seem to cas consumers code. Thanks ! Arun Tewatia From ejones@example.org Thu Feb 03 17:07:13 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 64555 invoked from network); 3 Feb 2011 17:07:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2011 17:07:13 -0000 Received: (qmail 5930 invoked by uid 500); 3 Feb 2011 17:07:13 -0000 Delivered-To: ejones@example.org Received: (qmail 5606 invoked by uid 500); 3 Feb 2011 17:07:10 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 5590 invoked by uid 99); 3 Feb 2011 17:07:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 17:07:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vx0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 17:07:01 +0000 Received: by vxa37 with SMTP id 37so368080vxa.6 for <multiple recipients>; Thu, 03 Feb 2011 09:06:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=R7J+7EbSAwBw7y9tPNUD5nbMJu9Y5PmYFPgrA2kBHIk=; b=vaa9MfRbR1gtGqJjA2yrIiW9r4OS2CJtHGIpjKx8B4ykMQWOkT14d2tqxG04ovlDo+ SxpWAi4aagvBaKt+XqcJvAe1+2p8rechwWdbYjGSaVMF1sOiK9Banxub+REbV9P7XFUU bJ/29XmRRhP/IZPzyp3gmDpVfVPmjWTTRA8q0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Vc55BqslOLwfDlU37vzmAidcakZMvQ4ukhqB6n+pBL+AS+0yQmarXO7mIBV2qAnhTS rhUXRaB0vCX+HhJeUDO7jfousWpVAnS77oOW/+ST5O4GVJexUBEy5pHNs81UHXhy4vrm 9dwG2rJusoIyb0+abpzFCWkTOq6/l+vQkjXbU= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id g6mr2968960vcm.109.1296752800788; Thu, 03 Feb 2011 09:06:40 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 3 Feb 2011 09:06:40 -0800 (PST) Date: Thu, 3 Feb 2011 12:06:40 -0500 Message-ID: <ejones@example.org> Subject: StringIndexOutOfBoundsException using Solrcas From: David Thibault <ejones@example.org> To: ejones@example.org, ejones@example.org Content-Type: multipart/alternative; boundary=0016e6464e100d7225049b63ca51 --0016e6464e100d7225049b63ca51 Content-Type: text/plain; charset=ISO-8859-1 Hello all, First off, I apologize for sending this to both the user and dev lists, but I'm not sure which list should get it. This is my first email to either list. I am working with UIMA and Solrcas and I'm getting this error: ejones@example.org(SolrCASConsumer.java:138) at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295) at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267) at org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.processNext(ProcessingUnit.java:897) at org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.run(ProcessingUnit.java:577) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -ejones@example.org(String.java:1931) at org.apache.uima.jcas.tcas.Annotation.getCoveredText(Annotation.java:119) at org.apache.uima.solrcas.SolrCASConsumer.process(SolrCASConsumer.java:126) ... 6 more ejones@example.org(SolrCASConsumer.java:138) at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295) at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267) at org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.processNext(ProcessingUnit.java:897) at org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.run(ProcessingUnit.java:577) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -ejones@example.org(String.java:1931) at org.apache.uima.jcas.tcas.Annotation.getCoveredText(Annotation.java:119) at org.apache.uima.solrcas.SolrCASConsumer.process(SolrCASConsumer.java:126) ... 6 more I edited SolrCASConsumer with the following lines right before line 126: Annotation fsTemp = (Annotation) fs; System.out.println("Processing Annotation: " + fsTemp.toString()); Therefore, now right before it calls fs.getCoveredText() it prints this: Processing Annotation: Phrase sofa: _InitialView begin: -1 end: 60 candidates: FSArray mappings: FSArray Therefore, it's obvious why it's saying the string index is out of bounds. However, I'm not sure why it's getting those values from my analysis engine. I'm using MetaMapAEApi from the NIH's MetaMap project. This is the first phrase it is processing on this document and the first time int prints that subsection of debug tex. If I use the same AE in DocumentAnalyzer it correctly shows the first Document as starting on position 0 and ending on position 191, with the first phrase as being from positions 0 to 7. I'm trying to run this in the CPE GUI with the following CPEDescriptor.xml: <?xml version="1.0" encoding="UTF-8"?> <cpeDescription xmlns="http://uima.apache.org/resourceSpecifier"> <collectionReader> <collectionIterator> <descriptor> <import location="../../../../../../../usr/local/apache-uima/examples/descriptors/collection_reader/FileSystemCollectionReader.xml"/> </descriptor> <configurationParameterSettings> <nameValuePair> <name>InputDirectory</name> <value> <string>/Users/davidt/Documents/workspace/BioSearch/resources/test_input</string> </value> </nameValuePair> </configurationParameterSettings> </collectionIterator> </collectionReader> <casProcessors casPoolSize="3" processingUnitThreadCount="1"> <casProcessor deployment="integrated" name="MetaMapApiAE"> <descriptor> <import location="../../../MetaMap UIMA Annotator/descriptors/MetaMapApiAE.xml"/> </descriptor> <deploymentParameters/> <errorHandling> <errorRateThreshold action="terminate" value="0/1000"/> <maxConsecutiveRestarts action="terminate" value="30"/> <timeout max="100000" default="-1"/> </errorHandling> <checkpoint batch="10000" time="1000ms"/> <configurationParameterSettings> <nameValuePair> <name>tempdir_path</name> <value> <string>/Users/davidt/tmp</string> </value> </nameValuePair> </configurationParameterSettings> </casProcessor> <casProcessor deployment="integrated" name="SolrcasAE.xml"> <descriptor> <import location="../../../Apache_UIMA_Sandbox/Solrcas/desc/SolrcasAE.xml"/> </descriptor> <deploymentParameters/> <errorHandling> <errorRateThreshold action="terminate" value="0/1000"/> <maxConsecutiveRestarts action="terminate" value="30"/> <timeout max="100000" default="-1"/> </errorHandling> <checkpoint batch="10000" time="1000ms"/> </casProcessor> </casProcessors> <cpeConfig> <numToProcess>-1</numToProcess> <deployAs>immediate</deployAs> <checkpoint batch="0" time="300000ms"/> <timerImpl/> </cpeConfig> </cpeDescription> I'm at a loss as to where that -1 is coming from or how to debug it further. Any ideas would be greatly appreciated. Best, Dave --0016e6464e100d7225049b63ca51-- From ejones@example.org Thu Feb 03 18:09:22 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 5297 invoked from network); 3 Feb 2011 18:09:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2011 18:09:22 -0000 Received: (qmail 36514 invoked by uid 500); 3 Feb 2011 18:09:22 -0000 Delivered-To: ejones@example.org Received: (qmail 36285 invoked by uid 500); 3 Feb 2011 18:09:19 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 36270 invoked by uid 99); 3 Feb 2011 18:09:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 18:09:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vx0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 18:09:12 +0000 Received: by vxa37 with SMTP id 37so392998vxa.6 for <multiple recipients>; Thu, 03 Feb 2011 10:08:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=CG4c0uebOqTFXumAwHfNiUMTIA1F1yLC0BLnjn5qsVM=; b=ZtYRcnyKzxAVznkzaAljOVVeHfPQ2Xc9WdXTWK36f0oR9AM9xesIfeQt1HEceqzrJo vSkB8ZseV8obLOa3+SwCXgPLTSaQsrpqj2GlUVCSFrZ+13YsU03DbmC9ogl0rTUdCMZs r1SeGS8etUH/y+D4gytQBbc4NerpzRLRTwzUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hc9QI8z6h7wmzzQahzD9l8x2ohVe6ug82C9CPiRCMC6i1gR+js1SUshnG7x/2JuJKZ G0JYK3XNiynRMGBSUgv42Y1TBYnZ9rVanz7IfPA7ZM60+WxSNS+2ut/n7AUBPyTkCJaA YqTqfTe5KJ/Qp1cjSLYB+nTLdwAts432SN4CY= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id dj5mr629622vcb.4.1296756531288; Thu, 03 Feb 2011 10:08:51 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 3 Feb 2011 10:08:51 -0800 (PST) In-Reply-To: <ejones@example.org> References: <ejones@example.org> Date: Thu, 3 Feb 2011 13:08:51 -0500 Message-ID: <ejones@example.org> Subject: Re: StringIndexOutOfBoundsException using Solrcas From: David Thibault <ejones@example.org> To: ejones@example.org, ejones@example.org Content-Type: multipart/alternative; boundary=90e6ba53b3f6685b10049b64a86e --90e6ba53b3f6685b10049b64a86e Content-Type: text/plain; charset=ISO-8859-1 Actually, I just tried it with the Annotation Printer instead of Solrcas and it got the same exception. I will back up and troubleshoot this by inspecting the output of the MetaMapApiAE. Dave On Thu, Feb 3, 2011 at 12:06 PM, David Thibault <ejones@example.org>wrote: > Hello all, > > First off, I apologize for sending this to both the user and dev lists, but > I'm not sure which list should get it. This is my first email to either > list. > > I am working with UIMA and Solrcas and I'm getting this error: > org.apache.uima.analysis_engine.AnalysisEngineProcessException > at > org.apache.uima.solrcas.SolrCASConsumer.process(SolrCASConsumer.java:138) > at > org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267) > at > org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.processNext(ProcessingUnit.java:897) > at > org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.run(ProcessingUnit.java:577) > Caused by: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1931) > at > org.apache.uima.jcas.tcas.Annotation.getCoveredText(Annotation.java:119) > at > org.apache.uima.solrcas.SolrCASConsumer.process(SolrCASConsumer.java:126) > ... 6 more > org.apache.uima.analysis_engine.AnalysisEngineProcessException > at > org.apache.uima.solrcas.SolrCASConsumer.process(SolrCASConsumer.java:138) > at > org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377) > at > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295) > at > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267) > at > org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.processNext(ProcessingUnit.java:897) > at > org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.run(ProcessingUnit.java:577) > Caused by: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1931) > at > org.apache.uima.jcas.tcas.Annotation.getCoveredText(Annotation.java:119) > at > org.apache.uima.solrcas.SolrCASConsumer.process(SolrCASConsumer.java:126) > ... 6 more > > I edited SolrCASConsumer with the following lines right before line 126: > Annotation fsTemp = (Annotation) fs; > System.out.println("Processing Annotation: " + fsTemp.toString()); > > Therefore, now right before it calls fs.getCoveredText() it prints this: > Processing Annotation: Phrase > sofa: _InitialView > begin: -1 > end: 60 > candidates: FSArray > mappings: FSArray > > Therefore, it's obvious why it's saying the string index is out of bounds. > However, I'm not sure why it's getting those values from my analysis > engine. I'm using MetaMapAEApi from the NIH's MetaMap project. > > This is the first phrase it is processing on this document and the first > time int prints that subsection of debug tex. If I use the same AE in > DocumentAnalyzer it correctly shows the first Document as starting on > position 0 and ending on position 191, with the first phrase as being from > positions 0 to 7. > > I'm trying to run this in the CPE GUI with the following CPEDescriptor.xml: > <?xml version="1.0" encoding="UTF-8"?> > <cpeDescription xmlns="http://uima.apache.org/resourceSpecifier"> > <collectionReader> > <collectionIterator> > <descriptor> > <import > location="../../../../../../../usr/local/apache-uima/examples/descriptors/collection_reader/FileSystemCollectionReader.xml"/> > </descriptor> > <configurationParameterSettings> > <nameValuePair> > <name>InputDirectory</name> > <value> > > <string>/Users/davidt/Documents/workspace/BioSearch/resources/test_input</string> > </value> > </nameValuePair> > </configurationParameterSettings> > </collectionIterator> > </collectionReader> > <casProcessors casPoolSize="3" processingUnitThreadCount="1"> > <casProcessor deployment="integrated" name="MetaMapApiAE"> > <descriptor> > <import location="../../../MetaMap UIMA > Annotator/descriptors/MetaMapApiAE.xml"/> > </descriptor> > <deploymentParameters/> > <errorHandling> > <errorRateThreshold action="terminate" value="0/1000"/> > <maxConsecutiveRestarts action="terminate" value="30"/> > <timeout max="100000" default="-1"/> > </errorHandling> > <checkpoint batch="10000" time="1000ms"/> > <configurationParameterSettings> > <nameValuePair> > <name>tempdir_path</name> > <value> > <string>/Users/davidt/tmp</string> > </value> > </nameValuePair> > </configurationParameterSettings> > </casProcessor> > <casProcessor deployment="integrated" name="SolrcasAE.xml"> > <descriptor> > <import > location="../../../Apache_UIMA_Sandbox/Solrcas/desc/SolrcasAE.xml"/> > </descriptor> > <deploymentParameters/> > <errorHandling> > <errorRateThreshold action="terminate" value="0/1000"/> > <maxConsecutiveRestarts action="terminate" value="30"/> > <timeout max="100000" default="-1"/> > </errorHandling> > <checkpoint batch="10000" time="1000ms"/> > </casProcessor> > </casProcessors> > <cpeConfig> > <numToProcess>-1</numToProcess> > <deployAs>immediate</deployAs> > <checkpoint batch="0" time="300000ms"/> > <timerImpl/> > </cpeConfig> > </cpeDescription> > > I'm at a loss as to where that -1 is coming from or how to debug it > further. Any ideas would be greatly appreciated. > > Best, > Dave > > --90e6ba53b3f6685b10049b64a86e-- From ejones@example.org Thu Feb 03 23:28:41 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 62109 invoked from network); 3 Feb 2011 23:28:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2011 23:28:41 -0000 Received: (qmail 47112 invoked by uid 500); 3 Feb 2011 23:28:41 -0000 Delivered-To: ejones@example.org Received: (qmail 46995 invoked by uid 500); 3 Feb 2011 23:28:40 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 46987 invoked by uid 99); 3 Feb 2011 23:28:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 23:28:39 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 23:28:33 +0000 Received: by ywi6 with SMTP id 6so724305ywi.6 for <ejones@example.org>; Thu, 03 Feb 2011 15:28:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=fdmmFWWgPSxSbUeoPb+hIEIaGIDJsosBqxTPUFLz+v0=; b=moDbYWXQkEa57v6FgmCH4d5YjTbPQJeulMNLZ00OhD23sqWXfjaJdSIDY5zT8OZKd7 xEz4mzKqcKzqCTQ84Znc1uenMlrOgLjqbzAkVkXqwk3OTX5/K2+OD55aiXUfCk/mnGvJ h6jPunFxeqxjYu2j6aqN6SSng9yqogViIxVY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YE9lHO7cFeG2MbXCqEeCdmIosAFme7FqwW9JKVFxbx0GFY9WsIdMwvq5ywujUoxoE1 JTSlzj1Vieg65waa2gH5UJU/0/gqbKxxbtSgvxHj0mV99okz68OoZejuIfLv754EqVsl no3kqsmLo+RxwPZ8FL2zUUPvLq337E7/BvyXQ= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id t1mr4070085ybb.37.1296775692784; Thu, 03 Feb 2011 15:28:12 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 3 Feb 2011 15:28:12 -0800 (PST) In-Reply-To: <ejones@example.org> References: <ejones@example.org> <ejones@example.org> <ejones@example.org> Date: Thu, 3 Feb 2011 18:28:12 -0500 Message-ID: <ejones@example.org> Subject: Re: Service not accepting repeated requests form client !! From: Eddie Epstein <ejones@example.org> To: ejones@example.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Arun, Can you try testing your aggregates using base UIMA tools, such as runAE.sh (a command line tool) or documentAnalyzer.sh (a GUI tool). Run the same set of input CASes as you have been doing with the service. Thansk, Eddie On Thu, Feb 3, 2011 at 1:27 AM, Arun Tewatia <ejones@example.org> wrote: > Hi Eddie, > > Thanks for previous reply ! > > As you said the code of two cas consumers needs to be thread safe if i run two > client requests simultaneously. But in my first scenario, I send second request > after the first request has finished successfully. In that case too i get the > above mentioned error. Here the reason doesn't seem to cas consumers code. > > > Thanks ! > Arun Tewatia > > > > > From ejones@example.org Wed Feb 09 14:57:06 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 249 invoked from network); 9 Feb 2011 14:57:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Feb 2011 14:57:06 -0000 Received: (qmail 64561 invoked by uid 500); 9 Feb 2011 14:57:06 -0000 Delivered-To: ejones@example.org Received: (qmail 64352 invoked by uid 500); 9 Feb 2011 14:57:02 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Delivered-To: moderator for ejones@example.org Received: (qmail 13790 invoked by uid 99); 9 Feb 2011 11:43:01 -0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Message-ID: <ejones@example.org> Date: Wed, 09 Feb 2011 12:42:30 +0100 From: Frank Enders <ejones@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:83.161.120.155) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: ejones@example.org Subject: SpringContainerDeployer deploy: Missing display name (AS 2.3.1 RC4) X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 110208-1, 08.02.2011), Outbound message X-Antivirus-Status: Clean X-Provags-ID: V02:K0:HphgomG7Cszpslgw67/dquCVn+rcSIZOd7OY9BrHuph XEuQihKwxZmzCRKs7Ls+6ESO/Hj7LzE123xGRUJ8Aqavrn/WZ0 vrOyQKVUIDchspPkJ6xx0YpJgB1z0uQ0p98W3eBvpu1L7TgkXo ncVgQfECb8126IUoTnrA/y+2+GgTowfoe/L52VIH4R/H5EUmRa Nt3KYq+Wzm1MrCe4I/ljjS85EIbnx0U3wAsO8YVshc= X-Virus-Checked: Checked by ClamAV on apache.org Hello, when trying to deploy an engine using UIMA AS 2.3.1 RC4 it fails because of a missing display name: org.apache.uima.adapter.jms.activemq.SpringContainerDeployer deploy WARNING: java.lang.IllegalArgumentException: Display name must not be ejones@example.org(Assert.java:136) at org.springframework.context.support.AbstractApplicationContext.setDisplayName(AbstractApplicationContext.java:254) at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeTopLevelController(SpringContainerDeployer.java:161) at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeContainer(SpringContainerDeployer.java:282) at org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy(SpringContainerDeployer.java:413) [...] Am I missing a configuration parameter? UimaAsynchronousEngine.Endpoint and UimaAsynchronousEngine.ApplicationName are set. The engine runs well using AS 2.3.0. Thanks for any help! Frank From ejones@example.org Wed Feb 09 16:38:34 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 55293 invoked from network); 9 Feb 2011 16:38:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Feb 2011 16:38:34 -0000 Received: (qmail 42508 invoked by uid 500); 9 Feb 2011 16:38:33 -0000 Delivered-To: ejones@example.org Received: (qmail 42312 invoked by uid 500); 9 Feb 2011 16:38:31 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 42304 invoked by uid 99); 9 Feb 2011 16:38:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 16:38:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO gateway13.websitewelcome.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 Feb 2011 16:38:21 +0000 Received: (qmail 1966 invoked from network); 9 Feb 2011 16:36:11 -0000 Received: from gator74.hostgator.com (83.161.120.155) by gateway13.websitewelcome.com with SMTP; 9 Feb 2011 16:36:11 -0000 Received: from [83.161.120.155] (port=18236 helo=[83.161.120.155]) by gator74.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <ejones@example.org>) id 1PnD2x-0008Jk-7R for ejones@example.org; Wed, 09 Feb 2011 10:37:39 -0600 Message-ID: <ejones@example.org> Date: Wed, 09 Feb 2011 11:37:41 -0500 From: Marshall Schor <ejones@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:83.161.120.155) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: ejones@example.org Subject: Re: SpringContainerDeployer deploy: Missing display name (AS 2.3.1 RC4) References: <ejones@example.org> In-Reply-To: <ejones@example.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator74.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-Source: X-Source-Args: X-Source-Dir: Do all of the annotator (aggregate and primitive) xml descriptors you are referring to in your deployment, include a <name> ... </name> part in their metaData section? -Marshall On 2/9/2011 6:42 AM, Frank Enders wrote: > Hello, > > when trying to deploy an engine using UIMA AS 2.3.1 RC4 it fails because > of a missing display name: > > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer deploy > WARNING: > java.lang.IllegalArgumentException: Display name must not be empty > at org.springframework.util.Assert.hasLength(Assert.java:136) > at > org.springframework.context.support.AbstractApplicationContext.setDisplayName(AbstractApplicationContext.java:254) > at > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeTopLevelController(SpringContainerDeployer.java:161) > at > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeContainer(SpringContainerDeployer.java:282) > at > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy(SpringContainerDeployer.java:413) > [...] > > Am I missing a configuration parameter? UimaAsynchronousEngine.Endpoint > and UimaAsynchronousEngine.ApplicationName are set. > The engine runs well using AS 2.3.0. > > Thanks for any help! Frank > > From ejones@example.org Wed Feb 09 16:58:36 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 72822 invoked from network); 9 Feb 2011 16:58:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Feb 2011 16:58:33 -0000 Received: (qmail 84652 invoked by uid 500); 9 Feb 2011 16:58:33 -0000 Delivered-To: ejones@example.org Received: (qmail 84367 invoked by uid 500); 9 Feb 2011 16:58:29 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 84356 invoked by uid 99); 9 Feb 2011 16:58:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 16:58:28 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO moutng.kundenserver.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 16:58:19 +0000 Received: from [83.161.120.155] (cl7.averbis.uni-freiburg.de [83.161.120.155]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LiGd5-1QQRnh30WB-00n29s; Wed, 09 Feb 2011 17:57:58 +0100 Message-ID: <ejones@example.org> Date: Wed, 09 Feb 2011 17:57:59 +0100 From: Frank Enders <ejones@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:83.161.120.155) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: ejones@example.org Subject: Re: SpringContainerDeployer deploy: Missing display name (AS 2.3.1 RC4) References: <ejones@example.org> <ejones@example.org> In-Reply-To: <ejones@example.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 110209-0, 09.02.2011), Outbound message X-Antivirus-Status: Clean X-Provags-ID: V02:K0:FSi/IogkDCDDoi5UYj5lRWSYJ6Ln0Qq6hCe4RNgOVyV oGqVnkMUGRPf6EYMCp1qYGHbq4Pbf1IzqgN6FkwZIIxD+D2qpO lkAbYV8hbexSfcAjoc5x/MajLlbdLiPSJ+jVkCpIeIfnLEGZCM 3man+C+tSMgpzXajQUr861v5kWYpWLnxSo1bLBCbCdCTk5pEgS EHr2bIT2hLFXeypH6LqmuOJxa6x1mqCjweKXpTEots= X-Virus-Checked: Checked by ClamAV on apache.org Am 09.02.2011 17:37, schrieb Marshall Schor: > Do all of the annotator (aggregate and primitive) xml descriptors you are > referring to in your deployment, include a <name> ... </name> part in their > metaData section? Thanks, Marshall! There was an empty <name/> tag in the AAE's descriptor, which caused the error. Thanks! From ejones@example.org Wed Feb 09 17:25:41 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 95461 invoked from network); 9 Feb 2011 17:25:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Feb 2011 17:25:41 -0000 Received: (qmail 43102 invoked by uid 500); 9 Feb 2011 17:25:41 -0000 Delivered-To: ejones@example.org Received: (qmail 42912 invoked by uid 500); 9 Feb 2011 17:25:37 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 42903 invoked by uid 99); 9 Feb 2011 17:25:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 17:25:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 17:25:29 +0000 Received: by fxm17 with SMTP id 17so417401fxm.6 for <ejones@example.org>; Wed, 09 Feb 2011 09:25:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=IvwMg5neF4D/9/UJO3Poojhc1fhnnR6RRKt8FttQQOU=; b=nhcv8su0u/BtnU9e4BTPVdooXVvGpXsGqF82BOdGN3G0yquRAlJwkQO+F+ThATMZjC lti+7F7KlH34gARGSytV8UTh/80TyKEbk9TZ7sDMT4WYfJb/QVCN8AldQevG1ZmKcNQe zTym+vSVKTSuZRGsXSY7cWDjNfmkcTg58vPc8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=uEyWrM7PjhNc9aZ/MYQWphy+TGwwGYOrDZEWCGTkoFY+QbGTaxz2yxd5Uvzx0LS3Bx /y++opRulyrcYtTMbvkBxyISvpoLN4snfCs9TeHJJ9mn6b1uOiGEiMPMSQPeDHGo/46c CBznpKRw+04bNp0CqtD8EudjXNRlHD9Xxsr9s= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id u15mr14438321faj.27.1297272309500; Wed, 09 Feb 2011 09:25:09 -0800 (PST) Received: by 83.161.120.155 with HTTP; Wed, 9 Feb 2011 09:25:09 -0800 (PST) In-Reply-To: <ejones@example.org> References: <ejones@example.org> Date: Wed, 9 Feb 2011 12:25:09 -0500 Message-ID: <ejones@example.org> Subject: Re: SpringContainerDeployer deploy: Missing display name (AS 2.3.1 RC4) From: Jaroslaw Cwiklik <ejones@example.org> To: ejones@example.org Content-Type: multipart/alternative; boundary=20cf3054a5312f4e16049bdcbf3c X-Virus-Checked: Checked by ClamAV on apache.org --20cf3054a5312f4e16049bdcbf3c Content-Type: text/plain; charset=ISO-8859-1 First, thank you for identifying the problem. The interim fix is to add <name> element in the AE descriptor and specify a value. I was able to verify that if the <name> element is missing OR it has no value, the Spring Container throws the exception. I will create a JIRA to detect missing/undefined AE name and generate one. Probably a descriptive log message would also be useful. JC Check if the AE descriptor includes the <name> element like here: analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier"> <frameworkImplementation>org.apache.uima.java</frameworkImplementation> <primitive>true</primitive> <annotatorImplementationName>org.apache.uima.examples.cas.PersonTitleAnnotator</annotatorImplementationName> <analysisEngineMetaData> ------------------> <name>Person Title Annotator - Within Names only</name> <----------------------------- The reason why 2.3.0 worked and the 2.3.1 does not has to do with a newer version of Spring that is bundled with 2.3.1. It appears that the newer Spring has better validation. -JC On Wed, Feb 9, 2011 at 6:42 AM, Frank Enders <ejones@example.org> wrote: > Hello, > > when trying to deploy an engine using UIMA AS 2.3.1 RC4 it fails because > of a missing display name: > > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer deploy > WARNING: > java.lang.IllegalArgumentException: Display name must not be empty > at org.springframework.util.Assert.hasLength(Assert.java:136) > at > > org.springframework.context.support.AbstractApplicationContext.setDisplayName(AbstractApplicationContext.java:254) > at > > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeTopLevelController(SpringContainerDeployer.java:161) > at > > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeContainer(SpringContainerDeployer.java:282) > at > > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy(SpringContainerDeployer.java:413) > [...] > > Am I missing a configuration parameter? UimaAsynchronousEngine.Endpoint > and UimaAsynchronousEngine.ApplicationName are set. > The engine runs well using AS 2.3.0. > > Thanks for any help! Frank > --20cf3054a5312f4e16049bdcbf3c-- From ejones@example.org Fri Feb 11 15:55:03 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 84039 invoked from network); 11 Feb 2011 15:55:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Feb 2011 15:55:03 -0000 Received: (qmail 33399 invoked by uid 500); 11 Feb 2011 15:55:03 -0000 Delivered-To: ejones@example.org Received: (qmail 33105 invoked by uid 500); 11 Feb 2011 15:55:00 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 33081 invoked by uid 99); 11 Feb 2011 15:54:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 15:54:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO lnx500.hrz.tu-darmstadt.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 15:54:52 +0000 Received: from pandora.tk.informatik.tu-darmstadt.de (pandora.tk.informatik.tu-darmstadt.de [83.161.120.155]) by lnx500.hrz.tu-darmstadt.de (8.14.4/8.14.4/HRZ/PMX) with ESMTP id p1BFsLZ8022229 for <ejones@example.org>; Fri, 11 Feb 2011 16:54:21 +0100 (envelope-from ejones@example.org) Received: from highfire.tk.informatik.tu-darmstadt.de (83.161.120.155) by pandora.tk.informatik.tu-darmstadt.de (83.161.120.155) with Microsoft SMTP Server (TLS) id 83.161.120.155; Fri, 11 Feb 2011 16:54:21 +0100 From: Richard Eckart de Castilho <ejones@example.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Feb 2011 16:54:20 +0100 Subject: DKPro Core 1.1.0 released To: <ejones@example.org> Message-ID: <ejones@example.org> MIME-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) X-PMX-TU: seen v1.1 by 83.161.120.1555439, Antispam-Engine: 83.161.120.1556379, Antispam-Data: 283.161.120.155215 X-PMX-RELAY: mailout X-Virus-Checked: Checked by ClamAV on apache.org We are pleased to announce the release of DKPro Core 1.1.0 - a = collection of software components for natural language processing (NLP) = based on the Apache UIMA framework.=20 http://www.ukp.tu-darmstadt.de/software/dkpro/ DKPro Core consists of a number of pre-processing components for NLP = tasks, often wrapping existing libraries or tools for easy use in an = UIMA pipeline. * tokenization/segmentation * compound splitting (Banana Split, JWordSplitter) * stemming (Snowball) * part-of-speech tagging (TreeTagger) * parsing (Stanford Parser) * language identification (TextCat) * spelling correction (Jazzy) * IO support for various data types (text, XML, PDF, WSDL, Wikipedia, = ...)=20 A basic UIMA type system is provided with which all of the components = work out-of-the-box. Some components can be configured for use with = other type systems. DKPro Core builds heavily on uimaFIT, making use of features such as = injection of configuration parameters and automatic type detection. = Because using DKPro in Java code with uimaFIT is so easy, we do at = present not provide traditional UIMA XML descriptors for our analysis = engines, readers and consumers - only for the type systems. We offer two sets of components with DKPro Core: * DKPro Core ASL provides components under the Apache Software License = 2.0 http://code.google.com/p/dkpro-core-asl * DKPro Core GPL provides components under the GNU Public License 3.0 http://code.google.com/p/dkpro-core-gpl Currently DKPro Core is meant to be used with Apache Maven. We host a = public Maven repository containing DKPro Core ASL, DKPro Core GPL and = all their dependendies. You can also obtain JARs for individual = components from that repository. With future releases of DKPro, we may = add the option of a downloadable archive. This project was initiated by the Ubiquitous Knowledge Processing Lab = (UKP) at the Technische Universit=E4t Darmstadt, Germany under the = auspices of Prof. Dr. Iryna Gurevych. All former and current member of = the UKP Lab have contributed in code, as testers or in spirit to this = project. It constitutes an essential cornerstone for our research = environment at the UKP Lab. DKPro Core requires Java 1.6, UIMA 2.3.1 and uimaFIT 1.1.0 (amongst = other component-specific dependencies). An introduction to DKPro Core can be found at http://code.google.com/p/dkpro-core-asl/wiki/MyFirstDKProProject Please feel free to direct your questions to = ejones@example.org . If you wish to be notified about new releases, please subscribe to = http://groups.google.com/group/dkpro-core-announce . --=20 -------------------------------------------------------------------=20 Richard Eckart de Castilho Technical Lead Ubiquitous Knowledge Processing Lab=20 FB 20 Computer Science Department =20 Technische Universit=E4t Darmstadt=20 Hochschulstr. 10, D-64289 Darmstadt, Germany=20 phone (825)766-2144, fax -5455, room S2/02/E225 ejones@example.org=20 www.ukp.tu-darmstadt.de=20 -------------------------------------------------------------------=20 From ejones@example.org Mon Feb 14 03:50:00 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 26826 invoked from network); 14 Feb 2011 03:49:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 14 Feb 2011 03:49:59 -0000 Received: (qmail 54243 invoked by uid 500); 14 Feb 2011 03:49:59 -0000 Delivered-To: ejones@example.org Received: (qmail 53969 invoked by uid 500); 14 Feb 2011 03:49:56 -0000 Mailing-List: contact ejones@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:ejones@example.org> List-Unsubscribe: <mailto:ejones@example.org> List-Post: <mailto:ejones@example.org> List-Id: <user.uima.apache.org> Reply-To: ejones@example.org Delivered-To: mailing list ejones@example.org Received: (qmail 53960 invoked by uid 500); 14 Feb 2011 03:49:55 -0000 Delivered-To: ejones@example.org Received: (qmail 53957 invoked by uid 99); 14 Feb 2011 03:49:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 03:49:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ejones@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 03:49:47 +0000 Received: by wyb40 with SMTP id 40so4158233wyb.6 for <ejones@example.org>; Sun, 13 Feb 2011 19:49:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=tcMCHJjGUyA7Tjeej9G6X2lAe/eJ9j3RP623UNgAmL0=; b=JxJQxEQMLWrW9tu7ThK171/HojgCP2z0o/m0hiCeqwA9HdhfczGVPKyjlQpqwIVO2w Ks8J08BLjTAeAcNBijGe1K4KX8wOGk6WrLwctu5sQDmVfhSON3gMxG3q4Xv0FLfnywIb uVOBYdiqcvdCVXCS8hK4X4gGq4KO6GOT+bjV4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=LESphqbjYlrXCFayMM3H3+56ezhkEK83+pQxVdLqHBZpTXZHphXQqeH6+J1ltIL7nq JD+HIpTuNeuhfQsg80IJlIIdNeGdvDw53JH5m/wx0ytdpwrhB++MHYbAwVjJloFhdsec R3JfNcU+d1aO4O2P6UKaDXqhvSBFcyrtJOqMU= Received: by 83.161.120.155 with SMTP id c17mr2082778wbt.135.1297655367027; Sun, 13 Feb 2011 19:49:27 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Sun, 13 Feb 2011 19:49:06 -0800 (PST) From: Radhouane Aniba <ejones@example.org> Date: Sun, 13 Feb 2011 22:49:06 -0500 Message-ID: <ejones@example.org> Subject: Analysis Engines for mbox like data To: uima-user <ejones@example.org> Content-Type: multipart/alternative; boundary=0016363b95cc31597d049c35efeb X-Virus-Checked: Checked by ClamAV on apache.org --0016363b95cc31597d049c35efeb Content-Type: text/plain; charset=ISO-8859-1 Hello everyone, Quite unusual request to this list, I am wondering if there is any analysis engine that allow to mine MBOX like formats such as the famous mailman mailing list archives in a way that it allow to structure these kind of data into messages-replies ? If anyone have already treated this topic I will be very interested in discussing it further. Regards Radhouane -- --0016363b95cc31597d049c35efeb-- From ejones@example.org Mon Feb 14 08:05:10 2011 Return-Path: <ejones@example.org> Delivered-To: ejones@example.org Received: (qmail 33480 invoked from network); 14 Feb 2011 08:05:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by
{'source': 'Apache Software Foundation Public Mail Archives'}