Fixed bug in JndiUtils.stg. refs #394