Hi,

I have located the stack trace that corresponds to the reported error when
attempting to send mail, which was in the spoolmanager log, but I am not
sure if this reflects that I have set something up incorrectly.

The strange thing is that sometimes it manages to send the mail, but
sometimes it fails, with an email sent to the admin account and the trace
shown below.

As for it possibly being something in the message store part of the config
file, I do not think that I have changed any of the settings for this
section from their default. As I say the behaviour of sometimes working and
sometimes not - might indicate that it is something else?

Any help much appreciated.

james

11/11/03 19:08:57 ERROR spoolmanager: Exception in processor <transport>
java.lang.RuntimeException: Exception caught while storing Message
Container: java.lang.NullPointerException
 at
org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailReposit
ory.java:305)
 at
org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery.jav
a:498)
 at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:362)
 at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
385)
 at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:315)
 at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
 at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)


----- Original Message -----
From: "Lindsay Smith" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 11, 2003 6:59 PM
Subject: RE: Errors when attempting to send mail


> Don't take this the wrong way, but try looking in the logs.
> ~\apps\james\logs - especially at spoolmanager.log
>
> If nothing is logged, turn the logging level up by editing
> ~\apps\james\SAR-INF\environment.xml (try DEBUG in the spoolmanager part)
>
> I'd take a wild guess and say there is something wrong with your config in
> the message store part. (in config.xml)
>
> HTH
> Linds
>
>
>
>
> -----Original Message-----
> From: James Kearney(hotmail) [mailto:[EMAIL PROTECTED]
> Sent: 11 November 2003 14:41
> To: James Users List
> Subject: Errors when attempting to send mail
>
>
> Hi,
>
> I keep getting the following error when trying to send mail using James
>
> --8<--
> We were unable to deliver the attached message because of an error in the
> mail server.
>
> Error message below:
> Exception caught while storing Message Container:
> java.lang.NullPointerException
>
> Message details:
>   Subject: fnord
>   Sent date: Tue Nov 11 14:25:45 GMT 2003
>   MAIL FROM: [EMAIL PROTECTED]
>   RCPT TO: [EMAIL PROTECTED]
>   From: [EMAIL PROTECTED]
>   To: <[EMAIL PROTECTED]>
>   Size (in bytes): 189
> --8<--
>
> Anyone have any suggestions?
>
> Thanks
>
> james.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to