I've seen similar errors happen if you delete the *contents* of our index directory but not the directory itself.
Just to be sure, stop/restart your SOLR instance if you manually delete your index. But the error I've seen when doing the above usually doesn't mention a specific character, so I'd guess your XML isn't correctly formed. HTH Erick On Sat, Mar 6, 2010 at 1:55 AM, Suram <reactive...@yahoo.com> wrote: > > > > Siddhant Goel wrote: > > > > Can you provide the error message that you got? > > > > On Sat, Mar 6, 2010 at 11:13 AM, Suram <reactive...@yahoo.com> wrote: > > > >> > >> Hi, > >> > >> > >> how can i send the xml file to solr after created the multicore.i tried > >> it > >> refuse accept > >> -- > >> View this message in context: > >> http://old.nabble.com/multiCore-tp27802043p27802043.html > >> Sent from the Solr - User mailing list archive at Nabble.com. > >> > >> > > > > > > -- > > - Siddhant > > > > > > i excute command like this : > > D:\solr\example\exampledocs>java -Ddata=args -Dcommit=yes -Durl=http://l > ocalhost:8080/solr/core0/update -jar post.jar Example.xml > > Mar 6, 2010 12:20:36 PM org.apache.solr.common.SolrException log > SEVERE: org.apache.solr.common.SolrException: Unexpected character 'E' > (code > 69) in prolog; expected '<' > at [row,col {unknown-source}]: [1,1] > at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:72) > at > > org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:54) > at > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) > at > > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338) > at > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) > at > > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > at > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > at > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > at > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) > at java.lang.Thread.run(Unknown Source) > Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected > character 'E' (code 69) in prolog; expected '<' > at [row,col {unknown-source}]: [1,1] > at > com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648) > at > > com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047) > at > com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069) > at > org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:90) > at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:69) > ... 19 more > > if i exceute command like this : > > java -jar post.jar Example.xml > > SimplePostTool: version 1.2 > SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, > othe > r encodings are not currently supported > SimplePostTool: POSTing files to http://localhost:8080/solr/update.. > SimplePostTool: POSTing file Example.xml > SimplePostTool: FATAL: Solr returned an error: Bad Request > > > -- > View this message in context: > http://old.nabble.com/multiCore-tp27802043p27802330.html > Sent from the Solr - User mailing list archive at Nabble.com. > >