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

Opened 15 years ago

Closed 15 years ago

Server should throw something other than InternalException on shutdown

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

Description

omero.InternalException: exception ::omero::InternalException
{
    serverStackTrace = 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.impl.ServiceFactoryI.registerServant(ServiceFactoryI.java:874)
	at ome.services.blitz.impl.ServiceFactoryI.getByName(ServiceFactoryI.java:389)
	at ome.services.blitz.impl.ServiceFactoryI.getUpdateService(ServiceFactoryI.java:307)
	at omero.api._ServiceFactoryDisp.___getUpdateService(_ServiceFactoryDisp.java:610)
	at omero.api._ServiceFactoryDisp.__dispatch(_ServiceFactoryDisp.java:1132)

Change History (3)

comment:1 Changed 15 years ago by jmoore

This may best be a subclass of concurrency exception with a long back-off: ShutdownInProgress

comment:2 Changed 15 years ago by jmoore

Concurrency exceptions are listed as "recoverable", probably better to go for a SessionException subclass.

comment:3 Changed 15 years ago by jmoore

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

r4358 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.63488 sec.)

We're Hiring!