uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaroslaw Cwiklik <uim...@gmail.com>
Subject Re: Problem configuring a UIMA component as a Vinci service.
Date Thu, 22 Apr 2010 13:28:30 GMT
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 <cfbearden@gmail.com> 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] <http://article.gmane.org/gmane.comp.apache.uima.general/522>
> [2] <http://article.gmane.org/gmane.comp.apache.uima.general/2559>
> [3] <http://article.gmane.org/gmane.comp.apache.uima.general/2561>
> [4] <http://pastebin.com/PhYFufXV>
> [5] <http://pastebin.com/nC7NxCAV>
> Thanks for any help,
> Chuck Bearden

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message