[
https://issues.apache.org/jira/browse/IGNITE-8439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465438#comment-16465438
]
ASF GitHub Bot commented on IGNITE-8439:
----------------------------------------
GitHub user shroman opened a pull request:
https://github.com/apache/ignite/pull/3948
IGNITE-8439: user-specified IGNITE_JETTY_HOST doesn't work.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shroman/ignite IGNITE-8439
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3948.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3948
----
commit 8ffb0162ebe81c7d1c8dd3de0caf37afaea5ee10
Author: shroman <rshtykh@...>
Date: 2018-05-07T05:06:41Z
IGNITE-8439: user-specified IGNITE_JETTY_HOST doesn't work.
----
> 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)