Sorry, my previous email has been truncated. Setting a security for a web application has nothing to do with security manager, which is something related with jvm and low level permission
(Continue from the previous email) But anyway, i don't know glassfish and how its security config is working. Doing that in Jboss or tomcat is very simple. Regards, Andrea -----Original Message----- From: "Andrea Gazzarini" <[email protected]> Date: Tue, 26 Jul 2011 18:24:48 To: <[email protected]>; Xue-Feng Yang<[email protected]> Reply-To: [email protected] Subject: Re: Severe errors in solr configuration I don't know glassfish; the error you're reporting is a low-level security exception (method access) and doesn't seem to be related with web application (JAAS) security. Did you change the web.xml of solr war for including security constraints, security collections, login-config, roles and so on? But again...I don't know -----Original Message----- From: Xue-Feng Yang <[email protected]> Date: Tue, 26 Jul 2011 10:13:41 To: [email protected]<[email protected]> Reply-To: [email protected] Subject: Severe errors in solr configuration Hi all, I'm new to solr. I installed solr 3.3 with glassfish 3.1 in ubuntu 10.4. It works fine until I set security manager in glassfish since I don't want to everyone can reach the solr's admin page. The error message was as follows. Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: <abortOnConfigurationError>false</abortOnConfigurationError> in solr.xml ------------------------------------------------------------- java.security.AccessControlException: access denied (javax.management.MBeanServerPermission findMBeanServer) ......... Any help is welcome. Thanks
