jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <mreut...@adobe.com>
Subject RE: ERROR failed to retrieve item state of item cafebabe-cafe-babe-cafe-babecafebabe
Date Thu, 13 Dec 2012 13:16:12 GMT
Hi,

it probably means the thread got interrupted (Thread.interrupt()) while it was executing
the batch job. Maybe your application does that or the app server you are using?

Regards
 Marcel

> -----Original Message-----
> From: Nicklas Löf [mailto:nicklas.lof@artificial-solutions.com]
> Sent: Donnerstag, 13. Dezember 2012 10:46
> To: users@jackrabbit.apache.org
> Subject: ERROR failed to retrieve item state of item cafebabe-cafe-babe-
> cafe-babecafebabe
> 
> Hi,
> 
> last night I started a big batch job which is doing a lot of node inserts into my
> repository.
> 
> Unfortunately the job did quit unexpectedly with this exception where
> jackrabbit can't get a read lock to the jackrabbit root node (that is jackrabbit
> root node..  not our root node)
> 
> [#|2012-12-
> 12T18:18:30.593+0100|INFO|glassfish3.1.1|javax.enterprise.system.std.com.
> sun.enterprise.server.logging|_ThreadID=32;_ThreadName=Thread-
> 2;|2012-12-12 18:18:30,591 ERROR failed to retrieve item state of item
> cafebabe-cafe-babe-cafe-babecafebabe
> org.apache.jackrabbit.core.state.ItemStateException: Interrupted while
> acquiring read lock
>         at
> org.apache.jackrabbit.core.state.SharedItemStateManager.acquireReadLock
> (SharedItemStateManager.java:1846)
>         at
> org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(Sh
> aredItemStateManager.java:266)
>         at
> org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(Loca
> lItemStateManager.java:110)
>         at
> org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(Local
> ItemStateManager.java:175)
>         at
> org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAIte
> mStateManager.java:260)
>         at
> org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(Se
> ssionItemStateManager.java:161)
>         at
> org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:38
> 2)
>         at
> org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
>         at
> org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
>         at
> org.apache.jackrabbit.core.ItemManager.getRootNode(ItemManager.java:5
> 31)
>         at
> org.apache.jackrabbit.core.SessionImpl.getRootNode(SessionImpl.java:760)
>         at
> com.artisol.teneobackend.jackrabbit.JackRabbitService.getTeneoRootNode(
> JackRabbitService.java:180)
> 
> any idea what could cause this and is it possible to change the timeout?
> 
> I'm using Mysql and ISMLocking with no cluster configuration
> 
> /Nicklas

Mime
View raw message