Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #1050 (closed)

Opened 16 years ago

Closed 16 years ago

SessionTimeoutException

Reported by: atarkowska Owned by: jamoore
Priority: minor Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description (last modified by jmoore)

1950820    [l.Server-2] INFO           ome.services.util.ServiceHandler  -  Excp:       ome.conditions.SessionTimeoutException: Session (started=2008-08-05 11:51:55.627, hits=0, last access=2008-08-05 11:51:55.627) exceeded timeToLive (600000) by 30294 ms
1950821    [l.Server-2] WARN   ome.services.sessions.SessionManagerImpl  - Session destruction cancelled by event listener
ome.conditions.SessionTimeoutException: Session (started=2008-08-05 11:51:55.627, hits=0, last access=2008-08-05 11:51:55.627) exceeded timeToLive (600000) by 30294 ms
        at ome.services.sessions.state.SessionCache.throwExpiredException(SessionCache.java:195)
        at ome.services.sessions.state.SessionCache.getSessionContext(SessionCache.java:187)
        at ome.services.sessions.SessionManagerImpl.getEventContext(SessionManagerImpl.java:470)
        at ome.security.basic.BasicSecuritySystem.loadEventContext(BasicSecuritySystem.java:272)
        at ome.security.basic.EventHandler.invoke(EventHandler.java:100)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:169)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:86)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy47.releaseLicense(Unknown Source)
        at ome.services.licenses.LicenseSessionListener.onApplicationEvent(LicenseSessionListener.java:67)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
        at ome.services.messages.GlobalMulticaster.multicastEvent(GlobalMulticaster.java:55)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:260)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:262)
        at ome.services.sessions.SessionManagerImpl.close(SessionManagerImpl.java:351)
        at ome.services.blitz.impl.ServiceFactoryI.destroy(ServiceFactoryI.java:516)
        at Glacier2._SessionDisp.___destroy(_SessionDisp.java:81)
        at omero.api._ServiceFactoryDisp.__dispatch(_ServiceFactoryDisp.java:822)
        at IceInternal.Incoming.invoke(Incoming.java:147)
        at Ice.ConnectionI.invokeAll(ConnectionI.java:2249)
        at Ice.ConnectionI.message(ConnectionI.java:1362)
        at IceInternal.ThreadPool.run(ThreadPool.java:782)
        at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
        at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:1242)

Change History (1)

comment:1 Changed 16 years ago by jmoore

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

There were various issues with concurrency (#1052) which caused this problem to arise.

r2669, though, does fix an ordering problem in SessionManager which also appeared.

Closing, but please re-open if it happens again.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65191 sec.)

We're Hiring!