The domains_dir should be created using to glassfish user rather than the domain user.