AFAIK, this exception occurs for developer profile only. Cluster profile is fine. Also, for developer profile, restart is working fine, without any issue. A work around is to startup the server using Glassfish CLI instead of inside NetBeans.
Thanks.
[Message sent by forum member 'anilam' (anilam)]