Fixed some stupid Glassfish errors
Fixed some stupid glassfish erros