protected static Log log = LogFactory.getLog(SimpleMailListener.class.getName());
public MailServer(String dir, int popPort,int smtpPort) throws AxisFault {
try {
ConfigurationContextFactory builder = new ConfigurationContextFactory();
configurationContext = builder.buildConfigurationContext(dir);
} catch (Exception e) {
log.error(e);
}
try {
System.out.println("Sleeping for a bit to let the engine start up.");