Fix standalone running of glassfish