glassfish: fix for init script

Signed-off-by: Ketoth Xupack <ketoth.xupack@gmail.com>