minor fixes to use an external context to lookup TIBCO EMS resources