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"

Task #10508 (closed)

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

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)
                        	

see https://www.openmicroscopy.org/qa2/qa/feedback/4954/

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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.84041 sec.)

We're Hiring!