_logger.log(Level.FINE, "Found no CMT MDBs in all applications");
return;
}
ConnectorRuntime cr = ConnectorRuntime.getRuntime();
ConnectorRegistry creg = ConnectorRegistry.getInstance();
//@TODO : Check whether this call is needed
ClassLoader cl = ConnectorClassLoader.getInstance();
// for each RA (key in the hashtable) get the list (value) of MDB Descriptors
Hashtable mappings = createRAEjbMapping(xaEnabledMDBList);
// To iterate through the keys(ramid), get the key Set from Hashtable.
Set raMidSet = mappings.keySet();
Iterator iter = raMidSet.iterator();
//For each RA
while (iter.hasNext()){
String raMid = (String)iter.next();
ArrayList respectiveDesc = (ArrayList)mappings.get(raMid);
try{
createActiveResourceAdapter(raMid);
} catch(Exception ex) {
_logger.log(Level.SEVERE,"error.loading.connector.resources.during.recovery", raMid);
if (_logger.isLoggable(Level.FINE)) {
_logger.log( Level.FINE, ex.toString() , ex);
}
}
ActiveInboundResourceAdapter activeInboundRA = (ActiveInboundResourceAdapter) creg
.getActiveResourceAdapter(raMid);
assert activeInboundRA instanceof ActiveInboundResourceAdapter;
boolean isSystemJmsRA = false;