[GLASSFISH-20555] Server Instance will not start when listen address is set by a property defined at the instance level Created: 17/May/13  Updated: 17/May/13

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: 3.1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: billabhr Assignee: michael.y.chen
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


My aim is to have a cluster where each server uses a single IP on a multihomed machine.

I defined my cluster so that all listen addresses are a property ( SERVER_VIP ) and then defined this to be different for each server instance.

The server cannot start because it attempts bind to the variable name

-2;|Unknown address null
java.net.UnknownHostException: $


at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1200)
at java.net.InetAddress.getAllByName0(InetAddress.java:1153)

There is a related issue that is fixed in version 4 https://java.net/jira/browse/GLASSFISH-18597 but this refers to the DAS connecting to the server not to the process of starting the server

Generated at Mon Feb 20 12:41:01 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.