lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dunphy <bluethu...@gmail.com>
Subject solr 3.6.2 under tomcat 8 missing corename in path
Date Wed, 06 May 2015 20:29:15 GMT
I'm trying to setup an old version of Solr for one of our drupal
developers. Apparently only versions 1.x or 3.x will work with the current
version of drupal.

I'm setting up solr 3.4.2 under tomcat.

And I'm getting this error when I start tomcat and surf to the /solr/admin
URL:

 HTTP Status 404 - missing core name in path

    type Status report

    message missing core name in path

    description The requested resource is not available.

I have solr living in /opt:

    # ls -ld /opt/solr
    lrwxrwxrwx. 1 root root 17 May  6 12:48 /opt/solr -> apache-solr-3.6.2

And I have my cores located here:

    # ls -ld /opt/solr/admin/cores
    drwxr-xr-x. 3 root root 4096 May  6 14:37 /opt/solr/admin/cores

Just one core so far, until I can get this working.

    # ls -l /opt/solr/admin/cores/
    total 4
    drwxr-xr-x. 5 root root 4096 May  6 14:08 collection1

I have this as my solr.xml file:

    <solr persistent="false"
      <cores adminPath="/admin/cores" defaultCoreName="collection1">
         <core name="collection1" instanceDir="collection1" />
       </cores>
    </solr>

Which is located in these two places:

    # ls -l /opt/solr/solr.xml /usr/local/tomcat/conf/Catalina/solr.xml
    -rw-r--r--. 1 root root 169 May  6 14:38 /opt/solr/solr.xml
    -rw-r--r--. 1 root root 169 May  6 14:38
/usr/local/tomcat/conf/Catalina/solr.xml

These are the contents of my /opt/solr directory

    # ls -l  /opt/solr/
    total 436
    drwxr-xr-x.  3 root root   4096 May  6 14:37 admin
    -rw-r--r--.  1 root root 176647 Dec 18  2012 CHANGES.txt
    drwxr-xr-x.  3 root root   4096 May  6 12:48 client
    drwxr-xr-x.  9 root root   4096 Dec 18  2012 contrib
    drwxr-xr-x.  3 root root   4096 May  6 12:48 dist
    drwxr-xr-x.  3 root root   4096 May  6 12:48 docs
    -rw-r--r--.  1 root root   1274 May  6 13:28 elevate.xml
    drwxr-xr-x. 11 root root   4096 May  6 12:48 example
    -rw-r--r--.  1 root root  81331 Dec 18  2012 LICENSE.txt
    -rw-r--r--.  1 root root  20828 Dec 18  2012 NOTICE.txt
    -rw-r--r--.  1 root root   5270 Dec 18  2012 README.txt
    -rw-r--r--.  1 root root  55644 May  6 13:27 schema.xml
    -rw-r--r--.  1 root root  60884 May  6 13:27 solrconfig.xml
    -rw-r--r--.  1 root root    169 May  6 14:38 solr.xml


Yet, when I bounce tomcat, this is the result that I get:

    HTTP Status 404 - missing core name in path

    type Status report

    message missing core name in path

    description The requested resource is not available.

Cany anyone tell me what I'm doing wrong?


Thanks!!
Tim


-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message