ctx.rebind("jarURLs", urls.toArray(new URL[urls.size()]));
} catch (NamingException e) {
throw new DeployerException("Cannot add the urls parameter '" + urls + "'", e);
}
try {
ctx.rebind("earClassLoader", earClassLoader);
} catch (NamingException e) {
throw new DeployerException("Cannot add the earClassLoader parameter '" + earClassLoader + "'", e);
}
// Bind the EJB classloader