[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


 Description   

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

Situation
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

[#|2013-05-16T15:41:15.804+0000|SEVERE|oracle-glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=10;_ThreadName=Thread
-2;|Unknown address null
java.net.UnknownHostException: $

{SERVER_VIP}

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 Fri May 29 02:58:10 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.