tracker issue : CF-4196109

select a category, or use search below
(searches all categories and all time range)

3-N Instances - Web Socket Ports do not increment properly

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Mark Quigley / Mark Quigley (Mark Quigley)

Created: 10/12/2016

Components: Installation/Config, Config

Versions: 2016

Failure Type: Incorrect w/Workaround

Found In Build/Fixed In Build: CF2016_Update2 / 302165

Priority/Frequency: Major / Few users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 0

Listed in the version 2016.0.04.302561 Issues Fixed doc
Problem Description: When creating the 3rd or more instances on a ColdFusion 2016 server web socket ports do not continue to increment.  For instance:

CFusion: 8579
Instance1: 8580
Instance2: 8580
Instance3: 8580

This creates a scenario that when Instance2 starts it must find a different port on which to run.  This sometimes results in a JVM_bind error in the exception log for the instance: 

Steps to Reproduce:

Install ColdFusion 2016, add several instances.  Note the Web Socket Ports - they do not increment.  Reproducing the exception in the log will be difficult given the seemingly randomness of the secondary port selected at start time.

Instance tries to use 8580 and can't so it selects something like (not sure exactly) 49900 - If that port is in use already then the error occurs in the exception log.

Actual Result:
"Information","Thread-54","10/06/16","13:49:04",,"Address already in use: JVM_Bind" Address already in use: JVM_Bind
	at Method)

Expected Result:
No error

Any Workarounds:
Manually set the Web Socket ports for instance 3-N to a known unused port.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4196109

External Customer Info:
External Company:  
External Customer Name: Mark Quigley
External Customer Email:  
External Test Config: My Hardware and Environment details:  

HP Proliant DL380 Gen 9

Windows Server 2012 R2