Fix blocking call when closing session and running in a cluster

Description

com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread
at com.tangosol.coherence.Component._assertFailed(Component.CDB:12)
at com.tangosol.coherence.Component._assert(Component.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.poll(Service.CDB:4)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.poll(Service.CDB:18)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService.query(InvocationService.CDB:17)
at com.tangosol.coherence.component.util.safeService.SafeInvocationService.query(SafeInvocationService.CDB:1)
at com.jivesoftware.util.cache.CoherenceClusteredCacheFactory.doSynchronousClusterTask(CoherenceClusteredCacheFactory.java:274)
at org.jivesoftware.util.cache.CacheFactory.doSynchronousClusterTask(CacheFactory.java:502)
at com.jivesoftware.openfire.session.RemoteSession.doSynchronousClusterTask(RemoteSession.java:162)
at com.jivesoftware.openfire.session.RemoteClientSession.getActiveList(RemoteClientSession.java:47)
at org.jivesoftware.openfire.roster.Roster.broadcastPresence(Roster.java:568)
at org.jivesoftware.openfire.handler.PresenceUpdateHandler.broadcastUpdate(PresenceUpdateHandler.java:281)
at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:135)
at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:110)
at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateHandler.java:174)
at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:133)
at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:69)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:75)
at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClose(SessionManager.java:1116)
at org.jivesoftware.openfire.net.VirtualConnection.notifyCloseListeners(VirtualConnection.java:190)
at org.jivesoftware.openfire.net.VirtualConnection.close(VirtualConnection.java:166)
at org.jivesoftware.openfire.http.HttpSession.close(HttpSession.java:159)
at com.jivesoftware.openfire.session.RemoteSessionTask.run(RemoteSessionTask.java:65)
at com.jivesoftware.openfire.session.ClientSessionTask.run(ClientSessionTask.java:46)
at com.jivesoftware.util.cache.CoherenceClusteredCacheFactory$1.run(CoherenceClusteredCacheFactory.java:321)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService.onInvocationMessage(InvocationService.CDB:6)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.InvocationService$InvocationMessage.onReceived(InvocationService.CDB:32)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onMessage(Service.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:123)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35)
at java.lang.Thread.run(Unknown Source)

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created March 21, 2008 at 1:50 AM
Updated March 21, 2008 at 5:54 AM
Resolved March 21, 2008 at 5:54 AM

Flag notifications