You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Burn Lewis (JIRA)" <de...@uima.apache.org> on 2016/03/14 15:46:33 UTC

[jira] [Closed] (UIMA-4752) ducc-mon won't display a service registry that has ${DUCC_SERVICE_INSTANCE}

     [ https://issues.apache.org/jira/browse/UIMA-4752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Burn Lewis closed UIMA-4752.
----------------------------

> ducc-mon won't display a service registry that has ${DUCC_SERVICE_INSTANCE}
> ---------------------------------------------------------------------------
>
>                 Key: UIMA-4752
>                 URL: https://issues.apache.org/jira/browse/UIMA-4752
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Burn Lewis
>            Assignee: Burn Lewis
>             Fix For: 2.1.0-Ducc
>
>
> ducc-mon fails to display the registry for a service that contains a reference to the special service-instance variable . It should be displayed as ${DUCC_SERVICE_INSTANCE} but after the DB updates we get a crash resolving place-holders.  Problem appears to be that getProperties in org.apache.uima.ducc.common.persistence.services.StateServices now returns a DuccProperties ... used to be a Properties.
> 15 Jan 2016 16:56:31,818  WARN WS.DuccHandler - N/A handleDuccServletServiceRegistryData 
> java.lang.IllegalArgumentException: Missing value for placeholder: DUCC_SERVICE_INSTANCE
> 	at org.apache.uima.ducc.common.utils.Utils.resolvePlaceholders(Utils.java:252)
> 	at org.apache.uima.ducc.common.utils.DuccProperties.getProperty(DuccProperties.java:264)
> 	at org.apache.uima.ducc.ws.server.DuccHandler.handleDuccServletServiceRegistryData(DuccHandler.java:2786)
> 	at org.apache.uima.ducc.ws.server.DuccHandler.handleDuccRequest(DuccHandler.java:4657)
> 	at org.apache.uima.ducc.ws.server.DuccHandler.handle(DuccHandler.java:4809)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)