final ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(CxfUtil.initBusLoader());
try {
CxfCatalogUtils.loadOASISCatalog(bus, moduleBaseUrl, "META-INF/jax-ws-catalog.xml");
final EjbWsContainer container = new EjbWsContainer(bus, httpTransportFactory, port, beanContext, config);
container.start();
wsContainers.put(beanContext.getDeploymentID().toString(), container);
return container;
} finally {
if (oldLoader != null) {
CxfUtil.clearBusLoader(oldLoader);