You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Marc Sturlese <ma...@gmail.com> on 2009/01/20 11:43:37 UTC
ERROR trying to just commit via /update
Hey there,
I am trying to do just a commit via url:
http://localhost:8084/nightly_web/es_jobs_core/update
I have tryeid also:
http://localhost:8084/nightly_web/es_jobs_core/update?commit=true
And I am getting this error:
2009-01-20 11:27:50,424 [http-8084-Processor25] ERROR
org.apache.solr.core.SolrCore - org.apache.solr.common.SolrException:
missing content stream
at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:49)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1341)
at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:303)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:232)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
It looks like Solr is asking me a file with info to update (it does the
commit after that). I just need to do a commit. The problem has appered
because I am using the scripts of Solr Collection Distribution and when I
try to do a snapinstaller it calls to commit script... and commit script
tries to do what I writed above.
Am I missing something or iis there something wrong in there...?
Thanks in advance!
--
View this message in context: http://www.nabble.com/ERROR-trying-to-just-commit-via--update-tp21560718p21560718.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: ERROR trying to just commit via /update
Posted by Chris Hostetter <ho...@fucit.org>.
: I am trying to do just a commit via url:
: http://localhost:8084/nightly_web/es_jobs_core/update
: I have tryeid also:
: http://localhost:8084/nightly_web/es_jobs_core/update?commit=true
: And I am getting this error:
:
: 2009-01-20 11:27:50,424 [http-8084-Processor25] ERROR
: org.apache.solr.core.SolrCore - org.apache.solr.common.SolrException:
: missing content stream
: It looks like Solr is asking me a file with info to update (it does the
: commit after that). I just need to do a commit. The problem has appered
: because I am using the scripts of Solr Collection Distribution and when I
: try to do a snapinstaller it calls to commit script... and commit script
: tries to do what I writed above.
: Am I missing something or iis there something wrong in there...?
the first URL you mentioned should in fact cause an exception like the one
you mentioned -- but even though that's the URL the commit scrip hits with
curl, you shouldn't see that exception from the commit script -- because
the commit scrip does do an HTTP post with a "document" containing
"<commit/>"...
rs=`curl ${curl_url} -s -H 'Content-type:text/xml; charset=utf-8' -d "<commit/>"`
...so i'm not sure how/why you would get that error from teh commit
script.
the second url you mentioned should work without an exception, evenif
you hit it using an http GET (i've confirmed this against hte trunk, i'm
not 100% certain that it worked that was in 1.3) ... so i'm not sure what
exactly might be going on for you at the moment.
-Hoss