securityHandler.addSecurityDomain(jbwmd, dep);
// Get the context root for this deployment
String contextRoot = dep.getService().getContextRoot();
if (contextRoot == null)
throw new WSFDeploymentException("Cannot obtain context root");
jbwmd.setContextRoot(contextRoot);
String[] virtualHosts = dep.getService().getVirtualHosts();
if (virtualHosts != null && virtualHosts.length > 0)
{