I am currently trying to deploy and run an Ace Target on an IBM Bluemix CloudFoundry Java/Liberty buildpack but without much success.
Symptoms: During the deploy/re-stage procedure, the ACE Launcher's internal server is started with a preset port number (default or set manually via cfg) whilst the Bluemix container is dynamically assigned a random port number. Port binding between both entities times-out and launch procedure fails.
Option: The Bluemix random port is accessible via a sys. env. variable $PORT.
Question: What would be the best/simplest approach to assign the freshly generated Bluemix's random port number to ACE Launcher's internal server?