You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2019/01/02 14:22:00 UTC

[jira] [Closed] (UIMA-5942) UIMA-DUCC: the pullservice JUnit tests use static port 8080

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

Jerry Cwiklik closed UIMA-5942.
-------------------------------
    Resolution: Fixed

Modified to retry port when it is in use

> UIMA-DUCC: the pullservice JUnit tests use static port 8080
> -----------------------------------------------------------
>
>                 Key: UIMA-5942
>                 URL: https://issues.apache.org/jira/browse/UIMA-5942
>             Project: UIMA
>          Issue Type: Improvement
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 2.2.3-Ducc
>
>
> Pull service JUnit tests use static port (8080) for its TAS mock up client. This is a commonly used port by http servers which may be running on a node. The client's Jetty should use less obvious port say 12222 as base and test port availability before using it. 
> Use java ServerSocket until a valid (open) port is found and use that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)