Details
Description
I'm having a problem getting two Resin instances running (to test clustering) on one machine using Cargo.
I'm using the Maven 1 plugin.
I've tracked the problem down to the fact Cargo grabs port 7777 (see DefaultServerRun class), and thus the second instance can't start up with a bind exception.
There seems to be an args[] map in the class with a "-port X" option to specify the port, but I can't for the life of me figure out where that argument comes from.
Anyway, I think it's a bug that you can't start two instances - so I'm filing it as such, feel free to change to an improvement request.
Request: make the Cargo management port for Resin 2 configurable via a simple property (like Orion's RMI port).
This is an issue with the Resin 3 container as well.