Modified app to pull db configuration from JNDI.