lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xue-Feng Yang <just4l...@yahoo.com>
Subject Re: Severe errors in solr configuration
Date Tue, 26 Jul 2011 18:23:09 GMT
Here is the message from server.log

[#|2011-07-26T12:17:37.591-0400|SEVERE|glassfish3.1|org.apache.solr.core.CoreContainer|_ThreadID=10;_ThreadName=Thread-1;|java.security.AccessControlException:
access denied (javax.management.MBeanServerPermission findMBeanServer)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
    at java.security.AccessController.checkPermission(AccessController.java:546)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at javax.management.MBeanServerFactory.checkPermission(MBeanServerFactory.java:393)
    at javax.management.MBeanServerFactory.findMBeanServer(MBeanServerFactory.java:343)
    at org.apache.solr.core.JmxMonitoredMap.<init>(JmxMonitoredMap.java:70)
    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:532)
    at org.apache.solr.core.CoreContainer.create(CoreContainer.java:463)
    at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
    at org.apache.solr.core.CoreContainer.load(CoreContainer.java:207)
    at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
    at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:120)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4625)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:5316)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
    at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:148)
    at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:170)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:899)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
    at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
    at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
    at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
    at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
    at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:364)
    at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:208)
    at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
    at com.sun.hk2.component.ConstructorCreator$1.run(ConstructorCreator.java:86)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:83)
    at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
    at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
    at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
    at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
    at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:243)
    at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)
    at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
    at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
    at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
|#]




________________________________
From: Kyle Lee <randall.kyle.lee@gmail.com>
To: solr-user@lucene.apache.org
Sent: Tuesday, July 26, 2011 1:50:54 PM
Subject: Re: Severe errors in solr configuration

Could you provide the relevant sections of the logs pertaining to this
error?

On Tue, Jul 26, 2011 at 12:13 PM, Xue-Feng Yang <just4look@yahoo.com> wrote:

> 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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message