Task #10508 (closed)
Bug: Database Busy Exception
| Reported by: | jburel | Owned by: | jburel |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-4.4.7 |
| Component: | Insight | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2013-04-09 (7)) |
Description
Handle the following error
java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data.
Cannot load hierarchy for class pojos.DatasetData.
at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:860)
at org.openmicroscopy.shoola.env.data.OMEROGateway.loadContainerHierarchy(OMEROGateway.java:2750)
at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.loadContainerHierarchy(OmeroDataServiceImpl.java:221)
at org.openmicroscopy.shoola.env.data.views.calls.DMLoader$1.doCall(DMLoader.java:91)
at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
at java.lang.Thread.run(Thread.java:680)
Caused by: omero.DatabaseBusyException
serverStackTrace = "ome.conditions.DatabaseBusyException: Cannot acquire connection
at ome.services.db.SelfCorrectingDataSource.callWithRetries(SelfCorrectingDataSource.java:116)
at ome.services.db.SelfCorrectingDataSource.getConnection(SelfCorrectingDataSource.java:63)
Change History (2)
comment:1 Changed 6 years ago by jburel
- Resolution set to fixed
- Sprint set to 2013-04-09 (7))
- Status changed from new to closed
comment:2 Changed 6 years ago by jburel <j.burel@…>
(In [99e3269e628dc9c190098d78f82891c00945e71a/ome.git] on branch develop) Handle the database busy exception. (see #10508)
Convert the exception into Server Lost service status.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
see https://github.com/openmicroscopy/openmicroscopy/pull/821