Author: norman
Date: Thu Nov 4 20:53:34 2010
New Revision: 1031237
URL: http://svn.apache.org/viewvc?rev=1031237&view=rev
Log:
James now startup even if no domainname is configured yet.. this makes sense as
you will need to add them later with for example JPADomainList (JAMES-1113).
Modified:
james/server/trunk/core-function/src/main/java/org/apache/james/JamesMailServer.java
Modified:
james/server/trunk/core-function/src/main/java/org/apache/james/JamesMailServer.java
URL:
http://svn.apache.org/viewvc/james/server/trunk/core-function/src/main/java/org/apache/james/JamesMailServer.java?rev=1031237&r1=1031236&r2=1031237&view=diff
==============================================================================
---
james/server/trunk/core-function/src/main/java/org/apache/james/JamesMailServer.java
(original)
+++
james/server/trunk/core-function/src/main/java/org/apache/james/JamesMailServer.java
Thu Nov 4 20:53:34 2010
@@ -53,13 +53,7 @@ public class JamesMailServer
* The top level configuration object for this server.
*/
private HierarchicalConfiguration conf = null;
-
- /**
- * The array of domain/server names for which this instance of James
- * will receive and process mail.
- */
- private String[] serverNames;
-
+
/**
* The number of mails generated. Access needs to be synchronized for
* thread safety and to ensure that all threads see the latest value.
@@ -164,10 +158,6 @@ public class JamesMailServer
logger.warn("Configured defaultDomain not exist in DomainList,
please add it ASAP!");
}
- serverNames = domains.getDomains();
-
- if (serverNames == null || serverNames.length == 0) throw new
ConfigurationException("No domainnames configured");
-
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]