when Glassfish 4.0 is started via cargo with debug enabled, via:
I get error on startup:
Obviously the port conflict happens.
Probably domain is created with the debug enabled, afterwards domain is about to be started with the same debug port enabled => port conflict.
See the attached sample pom.xml to reproduce error easily.