Support for diffrent versions of glassfish
Fixes to glassfish installer