added support for JNDI configs