• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #1013 (closed defect: fixed)

Opened 3 months ago

Last modified 3 weeks ago

StatefulService.close() can still throw an exception

Reported by: jmoore Owned by: jmoore
Priority: minor Milestone: 3.0-Beta3.1
Component: Services Version: 3.0-M1
Keywords: exceptions, stateful Cc:

Description

See ticket:883.

It's unclear under what circumstances, but the Hibernate session exception thrown still appears. It is harmless, in that the close() method performs no actions and so the action need not be active, but regardless, the exception should not be thrown.

Change History

Changed 4 weeks ago by jmoore

r2677 finally has a solution for this which seems to work. This allows the transaction handler time to commit the transaction before disconnecting from and closing the hibernate session. Since no logic is currently supported in our StatefulServiceInterface.close() methods, this should be fine.

Changed 3 weeks ago by jmoore

  • status changed from new to closed
  • resolution set to fixed

Closing. No further issues seen during testing.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/