Fixing deployment to glassfish