//check for malformed URL
new URL(url);
} catch (MalformedURLException e) {
throw new DeploymentException("Could not convert " + url + " to URL", e);
}
getJndiContextMap(componentContext).put(ENV + name, new URLReference(url));
unresolvedRefs.remove(name);
} else if (ORB.class.isAssignableFrom(iface)) {
CorbaGBeanNameSource corbaGBeanNameSource = (CorbaGBeanNameSource) corbaGBeanNameSourceCollection.getElement();
if (corbaGBeanNameSource == null) {
throw new DeploymentException("No orb setup but there is a orb reference");