Hi,

yeah, that's the strange thing.... admin UI, /select-URLs etc. are working fine... just the REST related URLs give me 404 errors... :( I'll double check if it's the correct Solr instance, but I'm pretty sure it is since the requested core is only running on this instance.

Regards,
Stefan


Am 04.12.2014 um 19:32 schrieb Alexandre Rafalovitch:
The other options is that you not running your - expected - Solr on
that port but are running a different instance. I found that when I
use the new background scripts, I keep forgetting I have another Solr
running.

Regards,
    Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 4 December 2014 at 13:30, Alexandre Rafalovitch <arafa...@gmail.com> wrote:
Does Admin UI works? Because that API end-points is called by the
Admin UI (forgot which screen though).

Regards,
    Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 4 December 2014 at 13:21, Stefan Moises <moi...@shoptimax.de> wrote:
Oh no, now *I* have that same problem again... :(

I have copied my (running) schemaless core to another server, the core runs
schemaless (managed-schema is created etc.), solrconfig.xml and web.xml are
identical besides the paths on the server ...
And yet on one Tomcat (7.0.28) the URL
/solr/schema/fields
is working, but on the other server (7.0.53) it is NOT and I get a 404 error
.... :(

I don't see any Exception in the logs and have no idea what's happening
there...

My solrconfig.xml has this:

   <schemaFactory class="ManagedIndexSchemaFactory">
     <bool name="mutable">true</bool>
     <str name="managedSchemaResourceName">managed-schema</str>
   </schemaFactory>

and my web.xml has all the required REST Settings:

   <servlet>
     <servlet-name>SolrRestApi</servlet-name>
<servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
     <init-param>
       <param-name>org.restlet.application</param-name>
<param-value>org.apache.solr.rest.SolrRestApi</param-value>
     </init-param>
   </servlet>
   <servlet>
     <servlet-name>SolrConfigRestApi</servlet-name>
<servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
     <init-param>
       <param-name>org.restlet.application</param-name>
<param-value>org.apache.solr.rest.SolrConfigRestApi</param-value>
     </init-param>
   </servlet>
...
   <servlet-mapping>
     <servlet-name>SolrRestApi</servlet-name>
     <url-pattern>/schema/*</url-pattern>
   </servlet-mapping>
   <servlet-mapping>
     <servlet-name>SolrConfigRestApi</servlet-name>
     <url-pattern>/config/*</url-pattern>
   </servlet-mapping>

but the URL
http://localhost:8983/solr/logstash_logs/schema/fields
gives me a 404 error.

Any ideas anyone? What else may be missing here? Is there anything else I
need to configure to make the REST schema ....

Thanks,
Stefan

Am 01.12.2014 um 20:51 schrieb nbosecker:

Perfect - the web.xml configuration was exactly what was missing.

Thanks so much! ;)



--
View this message in context:
http://lucene.472066.n3.nabble.com/Schemaless-configuration-using-4-10-2-API-returning-404-tp4167869p4171932.html
Sent from the Solr - User mailing list archive at Nabble.com.

--
Mit den besten Grüßen aus Nürnberg,
Stefan Moises

*******************************************
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung

shoptimax GmbH
Ulmenstrasse 52 H
90443 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck

Fax:  0911/25566-29
moi...@shoptimax.de
http://www.shoptimax.de
*******************************************


--
Mit den besten Grüßen aus Nürnberg,
Stefan Moises

*******************************************
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung

shoptimax GmbH
Ulmenstrasse 52 H
90443 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck

Fax:  0911/25566-29
moi...@shoptimax.de
http://www.shoptimax.de
*******************************************

Reply via email to