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 se...@apache.org on 2001/11/01 18:44:26 UTC
cvs commit: jakarta-james/src/java/org/apache/james James.java
serge 01/11/01 09:44:26
Modified: src/java/org/apache/james James.java
Log:
Incorrectly appending File.separator instead of /, and added stack trace printing.
Revision Changes Path
1.14 +4 -3 jakarta-james/src/java/org/apache/james/James.java
Index: James.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/James.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- James.java 2001/10/31 14:31:00 1.13
+++ James.java 2001/11/01 17:44:26 1.14
@@ -52,8 +52,8 @@
* @author Serge
* @author <a href="mailto:charles@benett1.demon.co.uk">Charles Benett</a>
*
- * This is $Revision: 1.13 $
- * Committed on $Date: 2001/10/31 14:31:00 $ by: $Author: serge $
+ * This is $Revision: 1.14 $
+ * Committed on $Date: 2001/11/01 17:44:26 $ by: $Author: serge $
*/
public class James
extends AbstractLoggable
@@ -286,7 +286,7 @@
} else {
// need mailbox object
getLogger().info("Need inbox for " + userName );
- String destination = inboxRootURL + userName + File.separator;;
+ String destination = inboxRootURL + userName + "/";
DefaultConfiguration mboxConf
= new DefaultConfiguration("repository", "generated:AvalonFileRepository.compose()");
mboxConf.setAttribute("destinationURL", destination);
@@ -295,6 +295,7 @@
userInbox = (MailRepository) mailstore.select(mboxConf);
mailboxes.put(userName, userInbox);
} catch (Exception e) {
+ e.printStackTrace();
getLogger().error("Cannot open user Mailbox" + e);
throw new RuntimeException("Error in getUserInbox." + e);
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>