You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Florian Allgöwer <f....@web.de> on 2018/12/17 13:41:00 UTC

Register service with customized pinger

Hello uiam-team,

 
I'm currently working in a UIMA project on my university. I have a question regarding registering a custom pinger in UIMA-Ducc. If we want to register a service with (--process_descriptor_DD 'deployment_BreakIteratorSegmenter.xml'") to the custom pinger we get following warning:
 

WARNING - Option --process_descriptor_DD is ignored for CUSTOM services
 
How can we register a custom service with our descriptor xml?
 
Here is our serivice xml which we used in this example:
 

<?xml version="1.0" encoding="UTF-8"?>

<analysisEngineDeploymentDescription xmlns="http://uima.apache.org/resourceSpecifier[https://deref-web-02.de/mail/client/1A1dox01iDk/dereferrer/?redirectUrl=https%3A%2F%2Fderef-web-02.de%2Fmail%2Fclient%2FhV9NdACd-F0%2Fdereferrer%2F%3FredirectUrl%3Dhttp%253A%252F%252Fuima.apache.org%252FresourceSpecifier]">

<name>BreakIteratorSegmenter</name>

<vendor>TextImager</vendor>

<version>0.1.0</version>

<deployment protocol="jms" provider="activemq">

<service>

<inputQueue endpoint="BreakIteratorSegmenter" brokerURL="${defaultBrokerURL}" prefetch="0"/>

<topDescriptor>

<import location="BreakIteratorSegmenter.xml"/>

</topDescriptor>

</service>

</deployment>

</analysisEngineDeploymentDescription>
 
 
Thank you in advance.
 
Best Regards
 
Florian Allgoewer

Re: Register service with customized pinger

Posted by Lou DeGenaro <lo...@gmail.com>.
Hello Florian,

There is an example of a custom DUCC service running here
http://uima-ducc-demo.apache.org:42133/service.details.jsp?name=CUSTOM:localhost:7175

See the Registry tab and note the "user" specified entries.  These
correspond to the ducc_services --register parameters.

Lou.

On Mon, Dec 17, 2018 at 8:41 AM "Florian Allgöwer" <f....@web.de>
wrote:

> Hello uiam-team,
>
>
> I'm currently working in a UIMA project on my university. I have a
> question regarding registering a custom pinger in UIMA-Ducc. If we want to
> register a service with (--process_descriptor_DD
> 'deployment_BreakIteratorSegmenter.xml'") to the custom pinger we get
> following warning:
>
>
> WARNING - Option --process_descriptor_DD is ignored for CUSTOM services
>
> How can we register a custom service with our descriptor xml?
>
> Here is our serivice xml which we used in this example:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <analysisEngineDeploymentDescription xmlns="
> http://uima.apache.org/resourceSpecifier[https://deref-web-02.de/mail/client/1A1dox01iDk/dereferrer/?redirectUrl=https%3A%2F%2Fderef-web-02.de%2Fmail%2Fclient%2FhV9NdACd-F0%2Fdereferrer%2F%3FredirectUrl%3Dhttp%253A%252F%252Fuima.apache.org%252FresourceSpecifier]
> <http://uima.apache.org/resourceSpecifier%5Bhttps://deref-web-02.de/mail/client/1A1dox01iDk/dereferrer/?redirectUrl=https%3A%2F%2Fderef-web-02.de%2Fmail%2Fclient%2FhV9NdACd-F0%2Fdereferrer%2F%3FredirectUrl%3Dhttp%253A%252F%252Fuima.apache.org%252FresourceSpecifier]>
> ">
>
> <name>BreakIteratorSegmenter</name>
>
> <vendor>TextImager</vendor>
>
> <version>0.1.0</version>
>
> <deployment protocol="jms" provider="activemq">
>
> <service>
>
> <inputQueue endpoint="BreakIteratorSegmenter"
> brokerURL="${defaultBrokerURL}" prefetch="0"/>
>
> <topDescriptor>
>
> <import location="BreakIteratorSegmenter.xml"/>
>
> </topDescriptor>
>
> </service>
>
> </deployment>
>
> </analysisEngineDeploymentDescription>
>
>
> Thank you in advance.
>
> Best Regards
>
> Florian Allgoewer
>

Re: Register service with customized pinger

Posted by Lou DeGenaro <lo...@gmail.com>.
Hello Florian,

There is an example of a custom DUCC service running here
http://uima-ducc-demo.apache.org:42133/service.details.jsp?name=CUSTOM:localhost:7175

See the Registry tab and note the "user" specified entries.  These
correspond to the ducc_services --register parameters.

Lou.

On Mon, Dec 17, 2018 at 8:41 AM "Florian Allgöwer" <f....@web.de>
wrote:

> Hello uiam-team,
>
>
> I'm currently working in a UIMA project on my university. I have a
> question regarding registering a custom pinger in UIMA-Ducc. If we want to
> register a service with (--process_descriptor_DD
> 'deployment_BreakIteratorSegmenter.xml'") to the custom pinger we get
> following warning:
>
>
> WARNING - Option --process_descriptor_DD is ignored for CUSTOM services
>
> How can we register a custom service with our descriptor xml?
>
> Here is our serivice xml which we used in this example:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <analysisEngineDeploymentDescription xmlns="
> http://uima.apache.org/resourceSpecifier[https://deref-web-02.de/mail/client/1A1dox01iDk/dereferrer/?redirectUrl=https%3A%2F%2Fderef-web-02.de%2Fmail%2Fclient%2FhV9NdACd-F0%2Fdereferrer%2F%3FredirectUrl%3Dhttp%253A%252F%252Fuima.apache.org%252FresourceSpecifier]
> <http://uima.apache.org/resourceSpecifier%5Bhttps://deref-web-02.de/mail/client/1A1dox01iDk/dereferrer/?redirectUrl=https%3A%2F%2Fderef-web-02.de%2Fmail%2Fclient%2FhV9NdACd-F0%2Fdereferrer%2F%3FredirectUrl%3Dhttp%253A%252F%252Fuima.apache.org%252FresourceSpecifier]>
> ">
>
> <name>BreakIteratorSegmenter</name>
>
> <vendor>TextImager</vendor>
>
> <version>0.1.0</version>
>
> <deployment protocol="jms" provider="activemq">
>
> <service>
>
> <inputQueue endpoint="BreakIteratorSegmenter"
> brokerURL="${defaultBrokerURL}" prefetch="0"/>
>
> <topDescriptor>
>
> <import location="BreakIteratorSegmenter.xml"/>
>
> </topDescriptor>
>
> </service>
>
> </deployment>
>
> </analysisEngineDeploymentDescription>
>
>
> Thank you in advance.
>
> Best Regards
>
> Florian Allgoewer
>