[KARAF-2815] Generate ports used for RMI and JMX in integration tests