configures glassfish to not use any ports
adds starting and stopping to bin/control