[Building Sakai] need to delay startup of quartz

Matthew Buckett matthew.buckett at it.ox.ac.uk
Wed Jan 21 08:22:53 PST 2015


We could make SpringBeanLocator block until it has had a had a context
inject set on it, in a similar way to the
ComponentManager.getInstance() doesn't return until the component
manager has started up.

This does run the risk of a deadlock occurring if the main Tomcat
startup thread ends up calling SpringBeanLocator.

A quick hack of this is at:

https://github.com/buckett/sakai/commit/4d9f0a1b7b2fb62398457f2e2f006dd2390bb7ba

what do you think?

Adjusting the job scheduler because of a bad practice in the tool
doesn't set a good precedent for how these sorts of problems get
solved in the future.

-- 
  Matthew Buckett, VLE Developer, IT Services, University of Oxford


More information about the sakai-dev mailing list