Added logic to set correct jmx ports