baychae created SOLR-10603:
------------------------------

             Summary: No system property or default value specified for 
org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider
                 Key: SOLR-10603
                 URL: https://issues.apache.org/jira/browse/SOLR-10603
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 6.5
         Environment: osx, solr in /usr/local, 
            Reporter: baychae


l have a startup command of:

    bin/solr start -v -cloud -s ~/var/solr

In ~/var/solr I have zoo.cfg and solr.xml. In solr.xml I have inserted:

    <str 
name="zkCredentialsProvider">${org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider}</str>

In bin/solr.in.sh" I have:

SOLR_ZK_CREDS_AND_ACLS="-DzkACLProvider=org.apache.solr.common.cloud.VMParamsAllAndReadonlyDigestZkACLProvider
 \
  
-DzkCredentialsProvider=org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider
 \
  -DzkDigestUsername=admin-user -DzkDigestPassword=secret \
  -DzkDigestReadonlyUsername=readonly-user 
-DzkDigestReadonlyPassword=CHANGEME-READONLY-PASSWORD"

The error is: 

2017-05-03 16:46:44.839 ERROR (main) [   ] o.a.s.c.SolrCore 
null:org.apache.solr.common.SolrException: No system property or default value 
specified for 
org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider
 
value:${org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider}
        at 
org.apache.solr.util.PropertiesUtil.substituteProperty(PropertiesUtil.java:65)
        at org.apache.solr.util.DOMUtil.substituteProperties(DOMUtil.java:303)
        at org.apache.solr.util.DOMUtil.substituteProperties(DOMUtil.java:311)
        at org.apache.solr.util.DOMUtil.substituteProperties(DOMUtil.java:311)
        at org.apache.solr.util.DOMUtil.substituteProperties(DOMUtil.java:311)
        at org.apache.solr.core.Config.substituteProperties(Config.java:231)
        at org.apache.solr.core.SolrXmlConfig.fromConfig(SolrXmlConfig.java:63)
        at 
org.apache.solr.core.SolrXmlConfig.fromInputStream(SolrXmlConfig.java:131)
        at org.apache.solr.core.SolrXmlConfig.fromFile(SolrXmlConfig.java:113)
        at 
org.apache.solr.core.SolrXmlConfig.fromSolrHome(SolrXmlConfig.java:141)
        at 
org.apache.solr.servlet.SolrDispatchFilter.loadNodeConfig(SolrDispatchFilter.java:267)
        at 
org.apache.solr.servlet.SolrDispatchFilter.createCoreContainer(SolrDispatchFilter.java:235)
        at 
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:169)
        at 
org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:137)
        at 
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:873)
        at 
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:349)
        at 
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)
        at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
        at 
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
        at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)
        at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at 
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
        at 
org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)
        at 
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499)
        at 
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147)
        at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)
                at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)
                at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
                at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
                at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
                at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
                at 
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561)
                at 
org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236)
                at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
                at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
                at org.eclipse.jetty.server.Server.start(Server.java:422)
                at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
                at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
                at org.eclipse.jetty.server.Server.doStart(Server.java:389)
                at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
                at 
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1516)
                at java.security.AccessController.doPrivileged(Native Method)
                at 
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1441)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.eclipse.jetty.start.Main.invokeMain(Main.java:214)
                at org.eclipse.jetty.start.Main.start(Main.java:457)
                at 
org.eclipse.jetty.start.Main.main(Main.java:75)ipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
        at 
org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:458)
        at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
        at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)
        at org.ecl






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to