This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Running Solr on Jetty

*** As of June 2017, the latest Solr Ref Guide is located at ***

Please note comments on these pages have now been disabled for all users.

Skip to end of metadata
Go to start of metadata

Solr uses Jetty internally to power its HTTP stack, but beginning with Solr 5.0, Support for deploying Solr as a WAR in standalone servlet containers like Jetty is no longer supported.

For information on how to install Solr as a standalone server, please see Installing Solr.




  • No labels


  1. Another way to override the default port is to specify the following system property on the command line


    This is useful in testing situations where you want to run multiple solr instances to test core or collection configurations without modify the jetty config

  2. "Installing Solr" link is inactive.

    1. Thanks Emmanuel, I fixed the link.

  3. How to set a safely login on jetty?

    1. 1.modify “server\etc\jetty.xml

      <Call name="addBean">


              <New class="">

                <Set name="name">Test Realm</Set>

                <Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/</Set>

                <Set name="refreshInterval">0</Set>


            </Arg> </Call>

      2. create /etc/ add 

      admin: admin123,core

      3.modify server\etc\webdefault.xml



            <web-resource-name>Solr authenticated application</web-resource-name>










          <realm-name>Test Realm</realm-name>


      then restart solr