You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Yamen Ajjour <ya...@gmail.com> on 2016/07/08 13:53:25 UTC

Basic question about UIMA as service deployment

Hello ,

I have a node on which I want to deploy an asynchronous analysis engine.
After running ActiveMq broker there I deployed the analysis engine on that
machine from the client as specified in the specification. Even though
everything seems to be working correclty I got the feeling that the
analysis engines are still running in my the client's JVM and not on the
node only the queue seems to be running there . Is deploying a UIMA as
service implies its execution on the computer where the broker is ?

Cheers,
Yamen

Re: Basic question about UIMA as service deployment

Posted by Jaroslaw Cwiklik <ui...@gmail.com>.
Hello Yamen, you can deploy uima-as service on a node which does not have a
broker. One of the benefits of JMS is location transparency. The broker can
run on any node in a cluster and mediates messages between client(s) and
service(s). A service connects to a broker and registers its queue. Client
which needs the service creates a connection to the same broker and sends
messages to the service queue.

The uima-as client deploy function does not exec a service process. It
actually deploys a service in the same jvm. To externalize the service use
$UIMA_HOME/bin/deployAsyncService.sh script and provide your deployment
descriptor with appropriate values for endpoint name and brokerURL. The
following is a relevant xml snippet from a deployment descriptor:

<inputQueue endpoint="<Queue Name>"  brokerURL="${defaultBrokerURL}"/>"/>

Jerry



On Fri, Jul 8, 2016 at 9:53 AM, Yamen Ajjour <ya...@gmail.com> wrote:

> Hello ,
>
> I have a node on which I want to deploy an asynchronous analysis engine.
> After running ActiveMq broker there I deployed the analysis engine on that
> machine from the client as specified in the specification. Even though
> everything seems to be working correclty I got the feeling that the
> analysis engines are still running in my the client's JVM and not on the
> node only the queue seems to be running there . Is deploying a UIMA as
> service implies its execution on the computer where the broker is ?
>
> Cheers,
> Yamen
>