Burn Lewis created UIMA-4752:
--------------------------------

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

Reply via email to