if (handleCache == null || instIdCache == null) {
try {
ConfigurationHome ch
= (ConfigurationHome)EJBUtil.lookupEJBHome
(ConfigurationHome.class, confHome);
Configuration conf
= (Configuration)ch.findByPrimaryKey(new Integer(0));
// first get all data ...
Handle handle = conf.getHandle();
String installationId = conf.workflowEngineInstanceKey();
// ... now change all cached information
// (prevents incomplete initialization)
handleCache = handle;
instIdCache = installationId;
} catch (NamingException nex) {