thanks for the pointer,

i have changed the log level to debug .
i am running james as root.

PHOENIX_HOME is set to:   /home/viny/james-2.3.1
PHOENIX_TMPDIR is set to : /home/viny/james-2.1.3/temp
following is the stacktrace : it does not tell me what file/dir is not
found.

2/02/09 19:35:49 ERROR smtpserver: Unknown error occurred while processing
DATA.
javax.mail.MessagingException: Unable to retrieve the data: No such file or
directory;
  nested exception is:
    java.io.IOException: No such file or directory
    at
org.apache.james.core.MimeMessageInputStreamSource.<init>(MimeMessageInputStreamSource.java:101)
    at org.apache.james.core.MailImpl.<init>(MailImpl.java:181)
    at
org.apache.james.smtpserver.DataCmdHandler.processMail(DataCmdHandler.java:266)
    at
org.apache.james.smtpserver.DataCmdHandler.doDATA(DataCmdHandler.java:133)
    at
org.apache.james.smtpserver.DataCmdHandler.onCommand(DataCmdHandler.java:81)
    at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:393)
    at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:432)
    at
org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
    at
org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
Caused by: java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1704)
    at java.io.File.createTempFile(File.java:1792)
    at java.io.File.createTempFile(File.java:1828)
    at
org.apache.james.core.MimeMessageInputStreamSource.<init>(MimeMessageInputStreamSource.java:75)
    ... 8 more



thanks and regards
vineet semwal
On Thu, Feb 12, 2009 at 5:00 PM, Stefano Bagnara <apa...@bago.org> wrote:

> vineet semwal ha scritto:
> > I keep getting the following error when i try to mail a user :-
> >
> > 451 4.0.0 Error processing message: Unable to retrieve the data: No such
> > file or directory
>
> You should look at the logs (apps/james/logs): probably james is not
> able to write to disk or something similar. The logs will contain a full
> stacktrace with more info. You may need to increase the log-level to
> DEBUG (apps/james/SAR-INF/environment.xml).
>
> Stefano
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
>
>

Reply via email to