manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: MCF: XML parsing Error
Date Tue, 12 Oct 2010 09:06:25 GMT
It looks like you are getting back HTML from whatever it is that you
pointed your solr connection at, rather than the XML that the solr
connector is expecting.  Specifically, the Solr commit operation is
failing.  Can you get any feedback from the Solr instance?

Karl

On Tue, Oct 12, 2010 at 2:46 AM, Fred Schmitt <fredschmitt83@web.de> wrote:
> Hi all,
> I am having a problem while trying to index/crawl data. I configured a job with a Solr
output connection and a web connection,
> but after i use the "agentRun"-command and start the job, a few exceptions are thrown.
>
>
> On the console im getting:
>
> [Fatal Error] :112:120: The element type "HR" must be terminated by the matching end-tag
"</HR>".
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: XML parsing error: The element
type "HR" must be terminated by th
>  matching end-tag "</HR>".
>  at org.apache.manifoldcf.core.common.XMLDoc.init(XMLDoc.java:369)
>  at org.apache.manifoldcf.core.common.XMLDoc.<init>(XMLDoc.java:317)
>  at org.apache.manifoldcf.agents.output.solr.HttpPoster.getResponse(HttpPoster.java:608)
>  at org.apache.manifoldcf.agents.output.solr.HttpPoster$CommitThread.run(HttpPoster.java:1647)
> Caused by: org.xml.sax.SAXParseException: The element type "HR" must be terminated by
the matching end-tag "</HR>".
>  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>  at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
>  at org.apache.manifoldcf.core.common.XMLDoc.init(XMLDoc.java:365)
>  ... 3 more
> Shutting down...
>
> and in the log-file i am getting this error:
>
> [2010-10-11 15:32:02,515]ERROR Error connecting to update request API: 'HTTP/1.1 500
Internal Server Error
> '
> org.apache.manifoldcf.core.interfaces.ManifoldCFException:
>  Error connecting to update request API: 'HTTP/1.1 500 Internal Server
> Error
> '
> at org.apache.manifoldcf.agents.output.solr.HttpPoster$CommitThread.run(HttpPoster.java:1665)
>
>
> It would be great if you could help me.
>
> best regards,
> Fred
> ___________________________________________________________
> WEB.DE DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2
>

Mime
View raw message