[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] locking bug



Hi again,

i think our mails crossed, I came to the same result.

I hope i find a solution for this as one session can be in touch with
many topics and vice versa ...

Marcel

Póka Balázs schrieb:
Hi,

The previous mail was missing the thread which was locking the instance of org.xmlBlaster.engine.SessionInfo.lock, so here it is:

2008-10-28 12:32:27,613 ERROR [XmlBlaster.SessionTimer] (DebugReentrantLock.java:51) - failed to lock() at
java.lang.Exception
at org.xmlBlaster.debug.DebugReentrantLock.tryLock(DebugReentrantLock.java:51)
at org.xmlBlaster.engine.TopicAccessor$TopicContainer.lock(TopicAccessor.java:416)
at org.xmlBlaster.engine.TopicAccessor.access(TopicAccessor.java:93)
at org.xmlBlaster.engine.MsgUnitWrapper.toDestroyed(MsgUnitWrapper.java:595)
at org.xmlBlaster.engine.MsgUnitWrapper.incrementReferenceCounter(MsgUnitWrapper.java:279)
at org.xmlBlaster.engine.queuemsg.ReferenceEntry.incrementReferenceCounter(ReferenceEntry.java:191)
at org.xmlBlaster.engine.queuemsg.ReferenceEntry.removed(ReferenceEntry.java:230)
at org.xmlBlaster.util.queue.ram.RamQueuePlugin.clear(RamQueuePlugin.java:241)
at org.xmlBlaster.authentication.Authenticate.resetSessionInfo(Authenticate.java:806)
at org.xmlBlaster.authentication.Authenticate.disconnect(Authenticate.java:557)
at org.xmlBlaster.authentication.AuthenticateProtector.disconnect(AuthenticateProtector.java:119)
at org.xmlBlaster.authentication.SessionInfo.timeout(SessionInfo.java:462)
at org.xmlBlaster.util.Timeout.run(Timeout.java:190)


That in turn means that the cause is probably:

1) org.xmlBlaster.engine.SessionInfo.lock locked at org.xmlBlaster.authentication.SessionInfo.timeout(SessionInfo.java:462) trying to lock org.xmlBlaster.authentication.TopicAccessor.TopicContainer.lock;

2) org.xmlBlaster.authentication.TopicAccessor.TopicContainer.lock locked at org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1679) trying to lock org.xmlBlaster.engine.SessionInfo.lock at org.xmlBlaster.engine.TopicHandler.forwardToDestinations(TopicHandler.java:844).

regards,
Balázs Póka


--
Marcel Ruff
http://www.xmlBlaster.org
http://watchee.net
Phone: +49 7551 309371