path to glassfish replaced with variable