glassfish must be restarted to enter read only mode