Maybe the Fedora object with pid ltk:13000105 is the one that has the illegal 
character NULL somewhere as you saw in the solr log. You may set the log level 
to DEBUG in log4j.xml, restart tomcat, then index just that one pid, then show 
the log lines here, from both gsearch log and solr log.

Gert


On 19/06/2013, at 12.39, Alistair Young wrote:

> not sure what's going on really. The reindex worked but the solr index wasn't 
> current so nothing worked. Tomcat subsequently fell over silently, no errors. 
> Noticed in the gsearch logs these intermittent errors:
> 
> <inserted>ltk:category%5Flearn%5Fresearch</inserted>
> <warning 
> no="5">file=/home/vagrant/fedora-data/objectStore/7f/info%3Afedora%2Fltk%3A13000105
>  exception=dk.defxws.fedoragsearch.server.errors.GenericSearchException: Wed 
> Jun 19 09:50:56 UTC 2013 Connection error (is Solr running at 
> http://ltk-dev:8080/solr/update ?): java.io.IOException: Server returned HTTP 
> response code: 400 for URL: http://ltk-dev:8080/solr/update</warning>
> <inserted>ltk:12005887</inserted>
> 
> Alistair
> 
> -- 
> mov eax,1
> mov ebx,0
> int 80h
> 
> From: Alistair Young <[email protected]>
> Reply-To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Date: Wednesday, 19 June 2013 11:21
> To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Subject: Re: [fcrepo-user] gsearch killing tomcat
> 
> typical – it worked that time! maybe it's memory related then. It leaves the 
> solr collection optimised but not current so no solr searches work though.
> 
> Alistair
> 
> -- 
> mov eax,1
> mov ebx,0
> int 80h
> 
> From: Alistair Young <[email protected]>
> Reply-To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Date: Wednesday, 19 June 2013 10:17
> To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Subject: Re: [fcrepo-user] gsearch killing tomcat
> 
> 's ok, it's actually fedoragsearch.daily.log. Reindexing…
> 
> Alistair
> 
> -- 
> mov eax,1
> mov ebx,0
> int 80h
> 
> From: Alistair Young <[email protected]>
> Reply-To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Date: Wednesday, 19 June 2013 10:08
> To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Subject: Re: [fcrepo-user] gsearch killing tomcat
> 
> there is no fedoragsearch.log that I can find and no errors in the tomcat 
> logs. It just does a lot of indexing then kills tomcat.
> 
> Alistair
> 
> -- 
> mov eax,1
> mov ebx,0
> int 80h
> 
> From: Gert Schmeltz Pedersen <[email protected]>
> Reply-To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Date: Friday, 14 June 2013 09:42
> To: "Support and info exchange list for Fedora users." 
> <[email protected]>
> Subject: Re: [fcrepo-user] gsearch killing tomcat
> 
> Could you please find the log lines in fedoragsearch.log before and including 
> the lines, where the offending fedora object gets indexed. Please show these 
> lines.
> 
> Gert
> 
> 
> On 13/06/2013, at 17.03, Alistair Young wrote:
> 
>> Perhaps this is how it works but if I index the entire repo, it gets so far 
>> then kills tomcat. Ingesting objects into fedora always cause this solr 
>> error:
>> 
>> Jun 13, 2013 2:57:39 PM org.apache.solr.update.processor.LogUpdateProcessor 
>> finish
>> INFO: [collection1] webapp=/solr path=/update params={} {} 0 275
>> Jun 13, 2013 2:57:39 PM org.apache.solr.common.SolrException log
>> SEVERE: org.apache.solr.common.SolrException: Illegal character (NULL, 
>> unicode 0) encountered: not valid in any content
>>  at [row,col {unknown-source}]: [159,39]
>> 
>> and the index is never optimised or current. Have to go into the solr admin 
>> and do it manually.
>> 
>> Is there something I must be doing wrong?
>> 
>> thanks,
>> 
>> Alistair
>> 
>> -- 
>> mov eax,1
>> mov ebx,0
>> int 80h
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>> 
>> Build for Windows Store.
>> 
>> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
>> Fedora-commons-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to