Task #2598 (closed)
Opened 9 years ago
Closed 8 years ago
Bug: adapter shutdown doesn't leave time for service close
| Reported by: | jamoore | Owned by: | jamoore |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-4.4 |
| Component: | Deployment | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2012-01-17 (6) |
Description
When shutting down, services are prevented from properly closing. See stack trace below.
Change History (4)
comment:1 Changed 9 years ago by jmoore
comment:2 Changed 8 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-Beta4.4
- Owner set to jmoore
- Sprint set to 2012-01-17 (6)
comment:3 Changed 8 years ago by jmoore
- Remaining Time set to 0.25
- Status changed from new to accepted
comment:4 Changed 8 years ago by jmoore
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from accepted to closed
[6db2030e42beaaaa9334167fe3a2536594f7a890/ome.git] should have also referenced and closed this ticket and not just #2546. An exception handler for ObjectAdapterDeactivatedException was added, which gets transformed into a ShutdownInProgress exception. Closing.
,348 WARN [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-5) Adapter already deactivated. Cannot remove: Ice.Identity@c444cb99 2010-07-14 11:29:49,578 ERROR [ ome.services.blitz.impl.ContainerI] (l.Server-5) Error on close, stage2 Ice.ObjectAdapterDeactivatedException name = "BlitzAdapter" at Ice.ObjectAdapterI.checkForDeactivation(ObjectAdapterI.java:1028) at Ice.ObjectAdapterI.findFacet(ObjectAdapterI.java:459) at Ice.ObjectAdapterI.find(ObjectAdapterI.java:453) at ome.services.blitz.fire.SessionManagerI.getServiceFactory(SessionManagerI.java:378) at ome.services.blitz.fire.SessionManagerI.onApplicationEvent(SessionManagerI.java:276) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97) at ome.services.messages.GlobalMulticaster.multicastEvent(GlobalMulticaster.java:55) at ome.system.OmeroContext.publishEvent(OmeroContext.java:327) at ome.system.OmeroContext.publishMessage(OmeroContext.java:341) at ome.services.blitz.impl.AbstractAmdServant.close_async(AbstractAmdServant.java:233) at ome.services.blitz.impl.AbstractAmdServant.close(AbstractAmdServant.java:194) at ome.services.blitz.impl.ServiceFactoryI.doDestroy(ServiceFactoryI.java:756) at ome.services.blitz.impl.ServiceFactoryI.destroy(ServiceFactoryI.java:669) at Glacier2._SessionDisp.___destroy(_SessionDisp.java:82) at omero.api._ServiceFactoryDisp.__dispatch(_ServiceFactoryDisp.java:1231) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) 2010-07-14 11:29:49,959 ERROR [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-5) Error destroying servant: 442b98c2-d67f-4b7d-9efb-062ad9901699omero.api.IContainer=ome.services.blitz.impl.ContainerI@140138b Ice.ObjectAdapterDeactivatedException name = "BlitzAdapter" at Ice.ObjectAdapterI.checkForDeactivation(ObjectAdapterI.java:1028) at Ice.ObjectAdapterI.findFacet(ObjectAdapterI.java:459) at Ice.ObjectAdapterI.find(ObjectAdapterI.java:453) at ome.services.blitz.fire.SessionManagerI.getServiceFactory(SessionManagerI.java:378) at ome.services.blitz.fire.SessionManagerI.onApplicationEvent(SessionManagerI.java:276) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97) at ome.services.messages.GlobalMulticaster.multicastEvent(GlobalMulticaster.java:55) at ome.system.OmeroContext.publishEvent(OmeroContext.java:327) at ome.system.OmeroContext.publishMessage(OmeroContext.java:341) at ome.services.blitz.impl.AbstractAmdServant.close_async(AbstractAmdServant.java:233) at ome.services.blitz.impl.AbstractAmdServant.close(AbstractAmdServant.java:194) at ome.services.blitz.impl.ServiceFactoryI.doDestroy(ServiceFactoryI.java:756) at ome.services.blitz.impl.ServiceFactoryI.destroy(ServiceFactoryI.java:669) at Glacier2._SessionDisp.___destroy(_SessionDisp.java:82) at omero.api._ServiceFactoryDisp.__dispatch(_ServiceFactoryDisp.java:1231) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at ...after a new restart... 2010-07-14 12:06:00,246 WARN [ ome.services.blitz.util.CheckAllJobs] ( Thread-7) Forcibly closed 2 abandoned job(s).