fix for GPTOMCAT-17 “jndiName not working when using forked mode”