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 #1220 (closed)

Opened 12 years ago

Closed 12 years ago

SessionCache is shutdown before Blitz objects

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

Description (last modified by jmoore)

This leads to a (mostly harmless) error message on shutdown.

Caused by the method OmeroContext.closeAll() which closed inner most first. Currently testing if this is an artifact and can be reversed.

Change History (2)

comment:1 Changed 12 years ago by jmoore

  • Description modified (diff)

Related exception:

2009-03-03 14:31:08,868 INFO  [        ome.services.util.ServiceHandler] (      main)  Excp:    java.lang.IllegalStateException: The SessionCache Cache is not alive.
2009-03-03 14:31:08,868 ERROR [            ome.services.blitz.fire.Ring] (      main) Error stopping ring ome.services.blitz.fire.Ring@c19a04
ome.conditions.InternalException:  Wrapped Exception: (java.lang.IllegalStateException):
The SessionCache Cache is not alive.
        at net.sf.ehcache.Cache.checkStatus(Cache.java:1613)
        at net.sf.ehcache.Cache.getQuiet(Cache.java:1051)
        at net.sf.ehcache.Cache.getQuiet(Cache.java:1035)
        at ome.services.sessions.state.SessionCache.getSessionContext(SessionCache.java:233)
        at ome.services.sharing.ShareRestrictionTransactionAttributeSource.getTransactionAttribute(ShareRestrictionTransactionAttributeSource.java:50)
        at org.springframework.transaction.interceptor.CompositeTransactionAttributeSource.getTransactionAttribute(CompositeTransactionAttributeSource.java:57)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
        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:97)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy55.doWork(Unknown Source)
        at ome.services.util.Executor$Impl.execute(Executor.java:307)
        at ome.services.blitz.fire.Ring.removeRedirectIfEquals(Ring.java:485)
        at ome.services.blitz.fire.Ring.destroy(Ring.java:174)
        at ome.services.blitz.util.BlitzConfiguration.destroy(BlitzConfiguration.java:291)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:208)
        at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:165)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:456)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:434)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:407)
        at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:854)
        at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:832)
        at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:795)
        at ome.system.OmeroContext.closeAll(OmeroContext.java:303)
        at ome.services.blitz.Entry.shutdown(Entry.java:213)
        at ome.services.blitz.Entry.start(Entry.java:182)
        at ome.services.blitz.Entry.main(Entry.java:119)

comment:2 Changed 12 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

r3922 closes.

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.169309 sec.)

We're Hiring!