-This problem only happens on window system which has this particular setup
(system with MKS tools and jdk1.6.0_16)
-The sample hanged when trying to start domain as described with the following
[echo] Starting default domain for E:/sun/sdk6-b73/glassfish
[exec] Deprecated syntax, instead use:
[exec] asadmin --passwordfile
E:/sun/sdk6-b73/glassfish/samples/bp-project/passwordfile --user admin
start-domain [options] ...
[exec] Waiting for DAS to start .....
[exec] Started domain: domain1
[exec] Domain location: E:\sun\sdk6-b73\glassfish\domains\domain1
[exec] Log file: E:\sun\sdk6-b73\glassfish\domains\domain1\logs\server.log
[exec] Admin port for the domain: 4848
[exec] Command start-domain executed successfully."