Hi,

On 14/05/15 05:24, Jose Blanco wrote:
> Thanks Tim, What seems to stopping the indexing is that when it 
> encounters an item that has rights other than Anonymous, it fails.  I 
> have confirmed this by editing an item it was failing on and making 
> all its access rights anonymous and then it went on till it found 
> another with non Anonymous rights.  I found this out restarting tomcat 
> and then going to the home page.  I have not run the manual index, but 
> will try that now and see what kind of error it spits out.

You mentioned you have some customisations in your code. Do any of them 
touch access permissions at all? I've had some problems similar to what 
you describe with customisations that used a fresh context and mixed 
calls to AuthorizeManager methods with the resource policy type in the 
parameter list and those without. I believe these two types of methods 
treat item.update calls differently and this can lead to database race 
conditions. If I remember correctly, I resolved this by using the 
existing context whenever possible and not mixing these two types of 
methods otherwise. I can't remember whether there was anything useful in 
the database logs when I encountered this issue.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to