log.info("Removing service assembly " + entry.name);
log.info("Undeploying service assembly " + entry.name);
    public void removeArchive(ArchiveEntry entry) throws DeploymentException{        log.info("Attempting to remove archive at: " + entry.location);       try{            container.getBroker().suspend();            if ("component".equals(entry.type)) {                log.info("Uninstalling component: " + entry.name);                // Ensure installer is loaded                installationService.loadInstaller(entry.name);                // Uninstall and delete component                installationService.unloadInstaller(entry.name,true);            }             if ("library".equals(entry.type)) {                log.info("Removing shared library: " + entry.name);                installationService.uninstallSharedLibrary(entry.name);            }            if ("assembly".equals(entry.type)) {                log.info("Removing service assembly " + entry.name);                try{                    if(deploymentService.isSaDeployed(entry.name)){                        deploymentService.shutDown(entry.name);                        deploymentService.undeploy(entry.name);                    }                } catch(Exception e) {                    String errStr="Failed to update service assembly: "+ entry.name;                    log.error(errStr,e);                    throw new DeploymentException(errStr,e);                }            }        } finally {            container.getBroker().resume();        }    }