You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/11/04 21:53:34 UTC
svn commit: r1031237 -
/james/server/trunk/core-function/src/main/java/org/apache/james/JamesMailServer.java
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org