lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2575) post.jar does not work on trunk
Date Mon, 06 Jun 2011 08:01:48 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044739#comment-13044739
] 

Uwe Schindler commented on SOLR-2575:
-------------------------------------

The problem with the example is Jetty's caching of webapps: It caches the unpacked WAR file.
To clean up the web application, you have to remove the unpacked web application in the work
folder of example. Maybe clean should automatically do this. I got crazy because of this when
modifying JSP files, too.

> post.jar does not work on trunk
> -------------------------------
>
>                 Key: SOLR-2575
>                 URL: https://issues.apache.org/jira/browse/SOLR-2575
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Bill Bell
>
> >java -jar post.jar *.xml
> SimplePostTool: version 1.3
> SimplePostTool: POSTing files to http://localhost:8983/solr/update..
> SimplePostTool: POSTing file gb18030-example.xml
> SimplePostTool: POSTing file hd.xml
> SimplePostTool: POSTing file ipod_other.xml
> SimplePostTool: POSTing file ipod_video.xml
> SimplePostTool: POSTing file manufacturers.xml
> SimplePostTool: POSTing file mem.xml
> SimplePostTool: POSTing file monitor.xml
> SimplePostTool: POSTing file monitor2.xml
> SimplePostTool: POSTing file mp500.xml
> SimplePostTool: POSTing file sd500.xml
> SimplePostTool: POSTing file solr.xml
> SimplePostTool: POSTing file utf8-example.xml
> SimplePostTool: POSTing file vidcard.xml
> SimplePostTool: COMMITting Solr index changes..
> SimplePostTool: FATAL: Solr returned an error #500 java.lang.NoSuchMethodError:
> org.apache.lucene.util.CodecUtil.checkHeader(Lorg/apache/lucene/store/IndexInput
> ;Ljava/lang/String;II)I  java.lang.RuntimeException: java.lang.NoSuchMethodError
> : org.apache.lucene.util.CodecUtil.checkHeader(Lorg/apache/lucene/store/IndexInp
> ut;Ljava/lang/String;II)I   at org.apache.solr.core.SolrCore.getSearcher(SolrCor
> e.java:1039)   at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdat
> eHandler2.java:346)   at org.apache.solr.update.processor.RunUpdateProcessor.pro
> cessCommit(RunUpdateProcessorFactory.java:85)   at org.apache.solr.handler.XMLLo
> ader.processUpdate(XMLLoader.java:157)   at org.apache.solr.handler.XMLLoader.lo
> ad(XMLLoader.java:77)   at org.apache.solr.handler.ContentStreamHandlerBase.hand
> leRequestBody(ContentStreamHandlerBase.java:67)   at org.apache.solr.handler.Req
> uestHandlerBase.handleRequest(RequestHandlerBase.java:129)   at org.apache.solr.
> core.SolrCore.execute(SolrCore.java:1308)   at org.apache.solr.servlet.SolrDispa
> tchFilter.execute(SolrDispatchFilter.java:353)   at org.apache.solr.servlet.Solr
> DispatchFilter.doFilter(SolrDispatchFilter.java:248)   at org.mortbay.jetty.serv
> let.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)   at org.mortb
> ay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)   at org.mortbay
> .jetty.security.SecurityHandler.handle(SecurityHandler.java:216)   at org.mortba
> y.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)   at org.mortbay.
> jetty.handler.ContextHandler.handle(ContextHandler.java:766)   at org.mortbay.je
> tty.webapp.WebAppContext.handle(WebAppContext.java:450)   at org.mortbay.jetty.h
> andler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)   at o
> rg.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)   at
>  org.mortbay.jetty.Server.handle(Server.java:326)   at org.mortbay.jetty.HttpCon
> nection.handleRequest(HttpConnection.java:542)   at org.mortbay.jetty.HttpConnec
> tion$RequestHandler

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message