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 2005/05/03 18:48:34 UTC
svn commit: r167933 -
/james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/James.java
Author: noel
Date: Tue May 3 09:48:33 2005
New Revision: 167933
URL: http://svn.apache.org/viewcvs?rev=167933&view=rev
Log:
more fixes. import and replace Component with Service
Modified:
james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/James.java
Modified: james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/James.java
URL: http://svn.apache.org/viewcvs/james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/James.java?rev=167933&r1=167932&r2=167933&view=diff
==============================================================================
--- james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/James.java (original)
+++ james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/James.java Tue May 3 09:48:33 2005
@@ -364,7 +364,7 @@
attributes.put(Constants.AVALON_COMPONENT_MANAGER, compMgr);
//Temporary get out to allow complex mailet config files to stop blocking sergei sozonoff's work on bouce processing
- File configDir = AvalonContextUtilities.getFile(myContext, "file://conf/");
+ java.io.File configDir = AvalonContextUtilities.getFile(myContext, "file://conf/");
attributes.put("confDir", configDir.getCanonicalPath());
System.out.println(SOFTWARE_NAME_VERSION);
@@ -916,7 +916,7 @@
DNSServer dnsServer = null;
try {
dnsServer = (DNSServer) compMgr.lookup( DNSServer.ROLE );
- } catch ( final ComponentException cme ) {
+ } catch ( final ServiceException cme ) {
getLogger().error("Fatal configuration error - DNS Servers lost!", cme );
throw new RuntimeException("Fatal configuration error - DNS Servers lost!");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org