} catch (NamingException ne) {
//If you are here then it is most probably an embedded RAR resource
//So we need to explicitly load that rar and create the resources
try {
ResourceInfo resourceInfo = ConnectorsUtil.getResourceInfo(connResource);
ConnectorConnectionPool connConnectionPool =
ResourcesUtil.createInstance().getConnectorConnectionPoolOfResource(resourceInfo);
if(connConnectionPool != null){
//TODO V3 ideally this should not happen if connector modules (and embedded rars)
//TODO are loaded before recovery
createActiveResourceAdapter(connConnectionPool.getResourceAdapterName());
getConnectorResourceDeployer().deployResource(connResource);
}
} catch (Exception ex) {
_logger.log(Level.SEVERE, "error.loading.connector.resources.during.recovery",
connResource.getJndiName());