smtpPort = smtpPort + (int) (Math.random() * 100);
LocalizedTextUtil.addDefaultResourceBundle(Constants.BUNDLE_KEY);
// Initialize ActionContext
ConfigurationManager configurationManager = new ConfigurationManager();
configurationManager.addContainerProvider(new XWorkConfigurationProvider());
Configuration config = configurationManager.getConfiguration();
Container container = config.getContainer();
ValueStack stack = container.getInstance(ValueStackFactory.class).createValueStack();
stack.getContext().put(ActionContext.CONTAINER, container);
ActionContext.setContext(new ActionContext(stack.getContext()));