geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-1904) start server should skip assertAvailablePort if --cache-xml is specified when --server-port is not specified
Date Fri, 16 Sep 2016 18:16:20 GMT

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

Kirk Lund updated GEODE-1904:
-----------------------------
    Fix Version/s:     (was: 1.0.0-incubating)

> start server should skip assertAvailablePort if --cache-xml is specified when --server-port
is not specified
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-1904
>                 URL: https://issues.apache.org/jira/browse/GEODE-1904
>             Project: Geode
>          Issue Type: Wish
>          Components: management
>            Reporter: Kirk Lund
>            Assignee: Swapnil Bawaskar
>
> 1) start a server with --server-port 40404
> 2) start a 2nd server without specifying --server-port or --disable-default-server but
do specify --cache-xml containing a unique server port
> 3) start will fail due to assertAvailablePort
> The error will look something like:
> java.lang.RuntimeException: An IO error occurred while starting a Server in /dx2-office-dhcp32
on dx2-office-dhcp32[40404]: Network is unreachable; port (40404) is not available on localhost.
> Work-around is to specify --disable-default-server in step #2. This will cause it to
skip assertAvailablePort(40404).
> I believe it's more intuitive to the user if we also make the change to skip assertAvailablePort(40404)
if --cache-xml is specified when --server-port is not  specified.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message