data.jars = new String[]{found.getRepositoryURI()};
try {
PluginInstallerGBean installer = KernelRegistry.getSingleKernel().getGBean(PluginInstallerGBean.class);
//WriteableRepository repo = PortletManager.getCurrentServer(actionRequest).getWritableRepositories()[0];
final PortletSession session = actionRequest.getPortletSession();
ProgressInfo progressInfo = new ProgressInfo();
progressInfo.setMainMessage("Downloading " + found.getName());
session.setAttribute(ProgressInfo.PROGRESS_INFO_KEY, progressInfo, PortletSession.APPLICATION_SCOPE);
// Start the download monitoring
new Thread(new Downloader(found, progressInfo, installer)).start();
actionResponse.setRenderParameter(MODE_KEY, DOWNLOAD_STATUS_MODE);
} catch (GBeanNotFoundException e) {