try {
LOG.info("Initializing Portlet Container. . .");
// Create portlet container.
LOG.debug(" [1] Creating portlet container...");
PortletContainerFactory factory =
PortletContainerFactory.getInstance();
PortletContainer container = factory.createContainer(
driverConfig.getContainerName(), (PortalDriverServices)springContext.getBean("PortalDriverServices")
);
// Initialize portlet container.
LOG.debug(" [2] Initializing portlet container...");