String appName = rarName.substring(0, rarName.indexOf(ConnectorConstants.EMBEDDEDRAR_NAME_DELIMITER));
String actualRarName = rarName.substring(rarName.indexOf(ConnectorConstants.EMBEDDEDRAR_NAME_DELIMITER) + 1);
String appDeployLocation = ResourcesUtil.createInstance().getApplicationDeployLocation(appName);
FileArchive in = new FileArchive();
in.open(appDeployLocation);
ApplicationArchivist archivist = new ApplicationArchivist();
Application application = (Application) archivist.open(in);
//get all RAR descriptors and try searching for this embedded RAR
Set s = application.getRarDescriptors();
for (Iterator iter = s.iterator(); iter.hasNext();) {