As of now, we have two ways to start the server (domain):
1- asadmin start-domain domain-name
2- java -jar install-dir/modules/glassfish.jar -domain domain-name
My request to you is please test your changes both ways especially
if you suspect what you do will break 1).
2) is not yet officially documented as the supported way to start
Jerome -- do you want to make 2) a supported way of starting server?
If yes, it needs to be tested ...
-Kedar