uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burn Lewis (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-4752) ducc-mon won't display a service registry that has ${DUCC_SERVICE_INSTANCE}
Date Thu, 21 Jan 2016 15:23:39 GMT

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

Burn Lewis resolved UIMA-4752.
------------------------------
    Resolution: Fixed

Fixed by disabling place-holder resolution for svc and meta properties.

> 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)

Mime
View raw message