In the phoenix.sh start script.. try setting some JVM memory parameters. like so:

JVM_OPTS="-server -Xms128m -Xmx256m -Djava.ext.dirs=$PHOENIX_HOME/lib

This will depend of course on your server configuration and how much RAM you may have.. but this helped me with the exact same problem you are experiencing.

Cj

Andrew Munn wrote:

If I send an email with a large attachment (25 megs will do it) james will
not send it and will not send any more emails until I go in and manually
delete that message from the outgoing directory.  If I restart james and
quickly send an email before james attempts to send that 25 meg outgoing
message the new email will go out but once james attempts that 25 meg email
it stops sending again.



Thanks,

Andrew







W:\james-2.2.0\apps\james\logs>more mailet-2005-03-10-07-30.log



10/03/05 07:30:23 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
than total number of attempts specified. Increasing last delayTime with 19
attempts

10/03/05 07:30:23 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
msecs is now attempted: 20 times

10/03/05 07:30:25 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1110395510039-599-to-xmedia.net to host ref.xmedia.net. at 66.39.132.2
to addre

sses [EMAIL PROTECTED]

10/03/05 07:32:46 INFO  James.Mailet: ToRepository: Storing mail
Mail1110461564975-0 in file://var/mail/all_mail_archive/

10/03/05 07:32:51 INFO  James.Mailet: RemoteDelivery: Exception delivering
message (Mail1110395510039-599-to-xmedia.net) - 552 Error: message too large



10/03/05 07:32:51 INFO  James.Mailet: RemoteDelivery: Permanent exception
delivering mail (Mail1110395510039-599-to-xmedia.net:
javax.mail.MessagingException: 5

52 Error: message too large



       at
com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)

       at
com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:942)

       at
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:391)

       at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
a:448)

       at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:91
2)

       at java.lang.Thread.run(Unknown Source)



10/03/05 07:32:51 INFO  James.Mailet: RemoteDelivery: Sending failure
message Mail1110395510039-599-to-xmedia.net

10/03/05 07:32:53 INFO  James.Mailet: RemoteDelivery: Exception caught in
RemoteDelivery.run()

java.lang.OutOfMemoryError: Java heap space

10/03/05 07:32:53 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1110461564975-0-to-xmedia.net to host ref.xmedia.net. at 66.39.132.2 to
address

es [EMAIL PROTECTED]

10/03/05 07:32:53 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1110461564975-0-to-xmedia.net) sent successfully to ref.xmedia.net. at
66.39.132.2

10/03/05 07:32:53 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1110395510039-599-to-xmedia.net to host ref.xmedia.net. at 66.39.132.2
to addre

sses [EMAIL PROTECTED]



W:\james-2.2.0\apps\james\logs>dir

Volume in drive W has no label.

Volume Serial Number is 6098-ABBF





-- Corey A. Johnson Creative Network Innovations http://www.cniweb.net/ 1-800-CNi-5547 ** 1-321-259-1984


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



Reply via email to