// ensure the path starts w/ slash or Mapper won't match it correctly
if (contextName.length() > 0 && ('/' != contextName.charAt(0)))
{
contextName = "/" + contextName;
}
mapper.addOnDemandContext(hostName, contextName);
}
else
{
log.warn("Cannot register on-demand context for unknown engine " + serviceName);
}