jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PREVOSTO, Laurent" <laurent.prevo...@sfr.com>
Subject RE: Help : Jackrabbit/Lucene get stuck
Date Fri, 16 Jul 2010 14:18:49 GMT
Created as JCR-2679

Regards,

Laurent

-----Message d'origine-----
De : KÖLL Claus [mailto:C.KOELL@TIROL.GV.AT] 
Envoyé : vendredi 16 juillet 2010 10:37
À : users@jackrabbit.apache.org
Objet : AW: Help : Jackrabbit/Lucene get stuck

Can you please file a jira issue so we can attach the informations there.

thanks
claus

-----Ursprüngliche Nachricht-----
Von: PREVOSTO, Laurent [mailto:laurent.prevosto@sfr.com] 
Gesendet: Donnerstag, 15. Juli 2010 18:22
An: users@jackrabbit.apache.org
Betreff: RE: Help : Jackrabbit/Lucene get stuck

Hi,
I had a new crash and generated a thread dump.
Should I post it here as it is a pretty big file ?

Anyway, this sounds like a deadlock or not released lock problem.

I "touched" the datasource to have it reinitialised by JBOSS but unfortunately I got my JCR
connections back but the lock was still there :-(. Hence unuseful.

Excerpt :

Thread: ajp-0.0.0.0-8119-1 : priority:5, demon:true, threadId:94, threadState:WAITING, lockName:EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$WriterLock@72e4d2
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
EDU.oswego.cs.dl.util.concurrent.WriterPreferenceReadWriteLock$WriterLock.acquire(WriterPreferenceReadWriteLock.java:240)
org.apache.jackrabbit.core.state.DefaultISMLocking$WriteLockImpl.(DefaultISMLocking.java:76)
org.apache.jackrabbit.core.state.DefaultISMLocking$WriteLockImpl.(DefaultISMLocking.java:70)
org.apache.jackrabbit.core.state.DefaultISMLocking.acquireWriteLock(DefaultISMLocking.java:66)
org.apache.jackrabbit.core.version.AbstractVersionManager.acquireWriteLock(AbstractVersionManager.java:146)
org.apache.jackrabbit.core.version.XAVersionManager$1.prepare(XAVersionManager.java:562)
org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:153)
org.apache.jackrabbit.core.XASessionImpl.prepare(XASessionImpl.java:331)
org.apache.jackrabbit.jca.TransactionBoundXAResource.prepare(TransactionBoundXAResource.java:68)
org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.prepare(JcaXAResourceWrapper.java:93)
com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelPrepare(XAResourceRecord.java:264)
com.arjuna.ats.arjuna.coordinator.BasicAction.doPrepare(BasicAction.java:2871)
etc.

Thread: ajp-0.0.0.0-8119-23 : priority:5, demon:true, threadId:1137, threadState:WAITING,
lockName:EDU.oswego.cs.dl.util.concurrent.Latch@12a6f35
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
EDU.oswego.cs.dl.util.concurrent.Latch.acquire(Latch.java:64)
org.apache.jackrabbit.core.state.FineGrainedISMLocking.acquireReadLock(FineGrainedISMLocking.java:112)
org.apache.jackrabbit.core.state.SharedItemStateManager.acquireReadLock(SharedItemStateManager.java:1473)
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:253)
org.apache.jackrabbit.core.query.lucene.ChildAxisQuery$SimpleChildrenCalculator.getHits(ChildAxisQuery.java:636)
org.apache.jackrabbit.core.query.lucene.ChildAxisQuery$ChildAxisScorer.calculateChildren(ChildAxisQuery.java:476)
org.apache.jackrabbit.core.query.lucene.ChildAxisQuery$ChildAxisScorer.next(ChildAxisQuery.java:394)
org.apache.lucene.search.ConjunctionScorer.init(ConjunctionScorer.java:80)
org.apache.lucene.search.ConjunctionScorer.next(ConjunctionScorer.java:48)
org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:319)
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:136)
org.apache.lucene.search.Searcher.search(Searcher.java:126)
org.apache.lucene.search.Searcher.search(Searcher.java:105)
org.apache.jackrabbit.core.query.lucene.SortedLuceneQueryHits.getHits(SortedLuceneQueryHits.java:156)
org.apache.jackrabbit.core.query.lucene.SortedLuceneQueryHits.(SortedLuceneQueryHits.java:117)
org.apache.jackrabbit.core.query.lucene.JackrabbitIndexSearcher.evaluate(JackrabbitIndexSearcher.java:108)
etc.

-----Message d'origine-----
De : KÖLL Claus [mailto:C.KOELL@TIROL.GV.AT] 
Envoyé : mardi 13 juillet 2010 14:53
À : users@jackrabbit.apache.org
Objet : AW: Help : Jackrabbit/Lucene get stuck

Hi Laurent,

>We can't figure out what's happening. We suspect transaction or deadlock problem but don't
know where to look at.

Can you please generate a thread dump when your application hangs, so we can identify the
problem.
I don't know how how you can generate a threaddump on a JBOss Server but i think it should
be possible.

greets
claus

Mime
View raw message