Minor fix, tested on Glassfish and custom context name