[
https://issues.apache.org/jira/browse/IGNITE-8439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467465#comment-16467465
]
Andrey Gura commented on IGNITE-8439:
-------------------------------------
[~roman_s] I replied on dev-list about this fix. It will work but would be
better to refactor class. So I didn't include it to 2.5 release.
> 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)