BZ-1105174: jndi look up from managed thread