if( log.isDebugEnabled() )
log.debug("Creating EJBWebService context '" + contextPath + "'.");
TomcatEJBWebServiceContext context = new TomcatEJBWebServiceContext(contextPath, webServiceContainer, classLoader);
Subject defaultSubject = ContextManager.EMPTY;
WebAppInfo webAppInfo = new WebAppInfo();
ContextConfig config = new EjbWsContextConfig(webAppInfo, policyContextId, configurationFactory, defaultSubject, authMethod, realmName);
context.addLifecycleListener(config);
String virtualServer;
if (virtualHosts != null && virtualHosts.length > 0) {