lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter Underwood <wunderw...@netflix.com>
Subject Re: javax.xml.stream.XMLStreamException while posting
Date Mon, 02 Mar 2009 16:25:19 GMT
Also, open your document in a browser to make sure that it really is
well-formed. Most browsers will pinpoint the syntax error. --wunder

On 3/2/09 6:46 AM, "Noble Paul നോബിള്‍  नोब्ळ्" <noble.paul@gmail.com>
wrote:

> the parser you are using is not the standard woodstox one.
> try this http://docs.sun.com/app/docs/doc/819-3672/gfkoy?a=view
> 
> On Mon, Mar 2, 2009 at 6:24 PM, Pooja Verlani <pooja.verlani@gmail.com> wrote:
>> Hi,
>> When I posting a valid xml document to solr, its giving the following error:
>> 
>> {http--10003-7} javax.xml.stream.XMLStreamException: :2:20 expected '-' at
>> '['
>> {http--10003-7}         at
>> 
com.caucho.xml.stream.XMLStreamReaderImpl.error(XMLStreamReaderImpl.java:1268>>
)
>> {http--10003-7}         at
>> com.caucho.xml.stream.XMLStreamReaderImpl.expect(XMLStreamReaderImpl.java:112
>> 7)
>> {http--10003-7}         at
>> com.caucho.xml.stream.XMLStreamReaderImpl.readNext(XMLStreamReaderImpl.java:6
>> 42)
>> {http--10003-7}         at
>> com.caucho.xml.stream.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:594)
>> {http--10003-7}         at
>> org.apache.solr.handler.XmlUpdateRequestHandler.readDoc(XmlUpdateRequestHandl
>> er.java:321)
>> {http--10003-7}         at
>> org.apache.solr.handler.XmlUpdateRequestHandler.processUpdate(XmlUpdateReques
>> tHandler.java:195)
>> {http--10003-7}         at
>> org.apache.solr.handler.XmlUpdateRequestHandler.handleRequestBody(XmlUpdateRe
>> questHandler.java:123)
>> {http--10003-7}         at
>> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.j
>> ava:131)
>> {http--10003-7}         at
>> org.apache.solr.core.SolrCore.execute(SolrCore.java:1204)
>> {http--10003-7}         at
>> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:30
>> 3)
>> {http--10003-7}         at
>> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:2
>> 32)
>> {http--10003-7}         at
>> com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:
>> 87)
>> {http--10003-7}         at
>> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:18
>> 7)
>> {http--10003-7}         at
>> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:2
>> 66)
>> {http--10003-7}         at
>> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:270)
>> {http--10003-7}         at
>> com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
>> {http--10003-7}         at
>> com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
>> {http--10003-7}         at
>> com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
>> {http--10003-7}         at java.lang.Thread.run(Thread.java:619)
>> 
>> No matter what I do with the xmls, it is recurring. I am using solr 1.3 with
>> resin 3.1.6 on Intel Xeon with CentOS 4.6 release. The java version I am
>> using is 1.6.0_10.
>> Please let me know if someone can throw some light on it :)
>> 
>> Thank you,
>> 
>> Regards,
>> Pooja
>> 
> 
> 


Mime
View raw message