for (EJB21Deployable ejb21Deployable : ejbs) { try { urls.add(ejb21Deployable.getArchive().getURL()); } catch (ArchiveException e) { throw new DeployerException("Cannot get the URL for the archive '" + ejb21Deployable.getArchive() + "'", e); URL ejbURL = null; try { ejbURL = ejb.getArchive().getURL(); } catch (ArchiveException e) { throw new DeployerException("Cannot get the URL on the deployable '" + ejb + "'", e);
for (EJB21Deployable ejbDeployable : ejb21Deployables) { try { urls.add(ejbDeployable.getArchive().getURL()); } catch (ArchiveException e) { logger.error("Cannot get the URL from the Deployable ''{0}''", ejbDeployable, e);