[
https://issues.apache.org/jira/browse/IGNITE-8439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465822#comment-16465822
]
Paul Anderson commented on IGNITE-8439:
---------------------------------------
happy to test... does not seem committed yet... hope this could get into 2.5..
I don't wish to seem judgemental, but the whole class seems it could do with a
little rework
> IGNITE_JETTY_HOST doesn't work (never has probably)
> ---------------------------------------------------
>
> Key: IGNITE-8439
> URL: https://issues.apache.org/jira/browse/IGNITE-8439
> Project: Ignite
> Issue Type: Bug
> Components: rest
> Affects Versions: 2.4
> Reporter: Paul Anderson
> Assignee: Roman Shtykh
> Priority: Major
>
> GridJettyRestProtocol.java
>
> public void start(GridRestProtocolHandler hnd)
> ...
> System.setProperty(IGNITE_JETTY_HOST, locHost.getHostAddress())
> ...
> should be
> if(System.getProperty(IGNITE_JETTY_HOST)==null)
> System.setProperty(IGNITE_JETTY_HOST, locHost.getHostAddress());
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)