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 Vineet Mishra <cl...@gmail.com> on 2013/08/01 09:41:07 UTC

Re: Unexpected character '<' (code 60) expected '='

I am using Solr 3.5 with the posting XML file size of just 1Mb.


On Wed, Jul 31, 2013 at 8:19 PM, Shawn Heisey <so...@elyograg.org> wrote:

> On 7/31/2013 7:16 AM, Vineet Mishra wrote:
> > I checked the File. . .nothing is there. I mean the formatting is
> correct,
> > its a valid XML file.
>
> What version of Solr, and how large is your XML file?
>
> If Solr is older than version 4.1, then the POST buffer limit is decided
> by your container config, which based on your stacktrace, is tomcat.  If
> you have 4.1 or later, then the POST buffer limit is decided by Solr,
> and defaults to 2048KiB.
>
> Could that be the problem?
>
> Thanks,
> Shawn
>
>

Re: Unexpected character '<' (code 60) expected '='

Posted by Vineet Mishra <cl...@gmail.com>.
XML Validation goes good, It does not give any error rather while Running
again it goes for a few lakhs of records and then stops saying

*SimplePostTool: FATAL: IOException while reading response:
java.io.IOException: Incomplete output stream*
*
*
I guess this is the issue of Threads Resource Management with Lock.


On Thu, Aug 1, 2013 at 1:50 PM, Paul Masurel <pa...@gmail.com> wrote:

> You can check for your xml validity with xmllint very simply.
>
> xmllint <file>
>
> Does this return an error?
>
>
>
> On Thu, Aug 1, 2013 at 9:59 AM, deniz <de...@gmail.com> wrote:
>
> > Vineet Mishra wrote
> > > I am using Solr 3.5 with the posting XML file size of just 1Mb.
> > >
> > >
> > > On Wed, Jul 31, 2013 at 8:19 PM, Shawn Heisey &lt;
> >
> > > solr@
> >
> > > &gt; wrote:
> > >
> > >> On 7/31/2013 7:16 AM, Vineet Mishra wrote:
> > >> > I checked the File. . .nothing is there. I mean the formatting is
> > >> correct,
> > >> > its a valid XML file.
> > >>
> > >> What version of Solr, and how large is your XML file?
> > >>
> > >> If Solr is older than version 4.1, then the POST buffer limit is
> decided
> > >> by your container config, which based on your stacktrace, is tomcat.
>  If
> > >> you have 4.1 or later, then the POST buffer limit is decided by Solr,
> > >> and defaults to 2048KiB.
> > >>
> > >> Could that be the problem?
> > >>
> > >> Thanks,
> > >> Shawn
> > >>
> > >>
> >
> >
> > you might need to escape some chars like < to &lt; and so on
> >
> >
> >
> > -----
> > Zeki ama calismiyor... Calissa yapar...
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/Unexpected-character-code-60-expected-tp4081603p4081854.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
>
> --
> ______________________________________________
>
>  Masurel Paul
>  e-mail: paul.masurel@gmail.com
>

Re: Unexpected character '<' (code 60) expected '='

Posted by Paul Masurel <pa...@gmail.com>.
You can check for your xml validity with xmllint very simply.

xmllint <file>

Does this return an error?



On Thu, Aug 1, 2013 at 9:59 AM, deniz <de...@gmail.com> wrote:

> Vineet Mishra wrote
> > I am using Solr 3.5 with the posting XML file size of just 1Mb.
> >
> >
> > On Wed, Jul 31, 2013 at 8:19 PM, Shawn Heisey &lt;
>
> > solr@
>
> > &gt; wrote:
> >
> >> On 7/31/2013 7:16 AM, Vineet Mishra wrote:
> >> > I checked the File. . .nothing is there. I mean the formatting is
> >> correct,
> >> > its a valid XML file.
> >>
> >> What version of Solr, and how large is your XML file?
> >>
> >> If Solr is older than version 4.1, then the POST buffer limit is decided
> >> by your container config, which based on your stacktrace, is tomcat.  If
> >> you have 4.1 or later, then the POST buffer limit is decided by Solr,
> >> and defaults to 2048KiB.
> >>
> >> Could that be the problem?
> >>
> >> Thanks,
> >> Shawn
> >>
> >>
>
>
> you might need to escape some chars like < to &lt; and so on
>
>
>
> -----
> Zeki ama calismiyor... Calissa yapar...
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Unexpected-character-code-60-expected-tp4081603p4081854.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
______________________________________________

 Masurel Paul
 e-mail: paul.masurel@gmail.com

Re: Unexpected character '<' (code 60) expected '='

Posted by deniz <de...@gmail.com>.
Vineet Mishra wrote
> I am using Solr 3.5 with the posting XML file size of just 1Mb.
> 
> 
> On Wed, Jul 31, 2013 at 8:19 PM, Shawn Heisey &lt;

> solr@

> &gt; wrote:
> 
>> On 7/31/2013 7:16 AM, Vineet Mishra wrote:
>> > I checked the File. . .nothing is there. I mean the formatting is
>> correct,
>> > its a valid XML file.
>>
>> What version of Solr, and how large is your XML file?
>>
>> If Solr is older than version 4.1, then the POST buffer limit is decided
>> by your container config, which based on your stacktrace, is tomcat.  If
>> you have 4.1 or later, then the POST buffer limit is decided by Solr,
>> and defaults to 2048KiB.
>>
>> Could that be the problem?
>>
>> Thanks,
>> Shawn
>>
>>


you might need to escape some chars like < to &lt; and so on



-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: http://lucene.472066.n3.nabble.com/Unexpected-character-code-60-expected-tp4081603p4081854.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unexpected character '<' (code 60) expected '='

Posted by Shawn Heisey <so...@elyograg.org>.
On 8/1/2013 1:41 AM, Vineet Mishra wrote:
> I am using Solr 3.5 with the posting XML file size of just 1Mb.

I'm guessing that you need to increase your POST buffer size limit in
Tomcat to 2MB or larger.  Tomcat documentation should help you with that.

Thanks,
Shawn