From user-return-2990-apmail-uima-user-archive=uima.apache.org@uima.apache.org Thu Apr 22 13:29:00 2010 Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 83646 invoked from network); 22 Apr 2010 13:28:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Apr 2010 13:28:59 -0000 Received: (qmail 6071 invoked by uid 500); 22 Apr 2010 13:28:59 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 6047 invoked by uid 500); 22 Apr 2010 13:28:58 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 6038 invoked by uid 99); 22 Apr 2010 13:28:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 13:28:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of uimaee@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vw0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 13:28:52 +0000 Received: by vws6 with SMTP id 6so680120vws.6 for ; Thu, 22 Apr 2010 06:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=hmIb1vYBzHC+LFvApaZW9ndytv+AItcv5/SNkZMwZhM=; b=O1yPaJvntGe3ypZcWv1DeAkgMUb9cElBtAuNE/XZE11+2Y3v1K1naBirNYZWC2SFSJ 4l001pusX8JjE3o06M1zsPHahEJML3yHV1Dp4rzeJsycFpPEW7u/zAY1T9pw/Q5+VGq9 5OSYEgOvQ8yqyutx5b/Y8CElCmRywMnBVZk/Q= 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=Q5FTsI+oS9L+G/5Hv5CkzBBIaVOOvgzZIEk7ajccCHAR0KkxkUY4oj+LNJyDIr8Uh9 egai1w9V0FRqf0sxYMJMDI7VlJ9rG9lID6FSh8FxZsaQo6AI50+Ug9pNrjPgg+UrSzMb IbdFD9xr00VAk/sf6mEHe4wZ1p/4kJzXViUHU= MIME-Version: 1.0 Received: by 10.229.46.129 with HTTP; Thu, 22 Apr 2010 06:28:30 -0700 (PDT) In-Reply-To: References: Date: Thu, 22 Apr 2010 09:28:30 -0400 Received: by 10.229.99.143 with SMTP id u15mr163218qcn.105.1271942910853; Thu, 22 Apr 2010 06:28:30 -0700 (PDT) Message-ID: Subject: Re: Problem configuring a UIMA component as a Vinci service. From: Jaroslaw Cwiklik To: user@uima.apache.org Content-Type: multipart/alternative; boundary=0016363b7f9c6042f80484d349f9 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b7f9c6042f80484d349f9 Content-Type: text/plain; charset=ISO-8859-1 Chuck, I think that the problem is with your setup. The errors that you see occur during initialization of the CPE and have nothing to do with the CR. Based on what you wrote (I think) you are deploying a managed Vinci service. In such case, the CPE uses an internal VNS on port 9005. There is no need to use an external VNS, unless you have a more complicated setup with unmanaged Vinci services. Read section 2.5.1 (2.5.1. Deploying Managed CAS Processors) of the Tutorial and User Guide for details if in fact you are trying to deploy a managed service. There is an example how to setup a CPE descriptor for that kind of deployment. Also when you start the CPE, check if your service starts. Check the service log file if you continue having problems. Regards, Jerry C On Wed, Apr 21, 2010 at 5:25 PM, Chuck Bearden wrote: > I'm building my first, very simple CPE, and I want to run the > aggregate analysis engine as a loca Vinci service. The engine > comprises a collection reader that takes paragraphs of text from a > database, and an aggregate AE that includes a sentence annotator, a > CAS multiplier to create one CAS per sentence, a concept extractor, > and an AE that writes the concept annotations to a database. > > To this end, I created a Service Deployment Descriptor for the > aggregate AE, and I modified the CPE configuration to call the service > via Vinci, trying to follow the user guide and reference as best I > could. > > I am able to start VNS and then run the CPE with runCPE.sh (an earlier > post to this list [1] told me that the GUI doesn't support managed > services), but everything seems to stall once the collection reader > has selected the initial batch of input lines. The uima.log file > repeats the "The service port is not available yet. There are xxxx > retries left to acquire the port. (Thread Name: BaseCPMImpl-Thread)" > message until the number of retries is exhausted. netstat reveals > that port 9005 was opened by the CPE in addition to 9000 for VNS. > Both ports are accessible on the localhost. > > I notice from two posts in an earlier thread [2][3] that some UIMA CAS > data types (e.g. ByteArray) may not be supported in managed > deployments. My AE needs uima.cas.{FSArray,StringArray}. Could this > be my problem? > > In case they might be relevant, here are links to my CPE descriptor > [4] and my service deployment descriptor [5]. > > [1] > [2] > [3] > [4] > [5] > > Thanks for any help, > Chuck Bearden > --0016363b7f9c6042f80484d349f9--