Fix Database issue for Quartz 2.2.0 in war and osgi distribution