NetworkUtil fix: keep getNextAvailablePort being random (important for our internal tests + arquillian), adding getNextAvailablePortInDefaultRange to get a linear port, adding openejb.network.random-port.retries property and a comment on my thought on this class and how we could rewrite it