Initialize JNDI to fix failing Environment test

Issue: SPR-12223