Hi Stefano, > Deliver(mail, session) method returned true.
This is a System.out.println statement I had added to RemoteDelivery class run() method. This statement is to display a message when the mail has been delivered to remote mail server. The code I had added to James is related to processing of some specific mails that come in to the server. I don't think there is a problem in code I've added, as the same build of james.sar is running on other server wonderfully. The problem is specific to only one server. And after I've increased the JVM heap size on this server, the frequency of shutdown has decreased from 'thrice a day' to 'once in 2 days' (a drastic improvement). -Gaurav -----Original Message----- From: Stefano Bagnara [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 1:30 AM To: James Users List Subject: Re: JVM exiting abnormally. Shutting down Phoenix Gaurav Handa wrote: > Hi Stefano, > > I found memory error corresponding to James.Mailet in apps/james/logs/* > Apart from this memory error, there is no other Memory related error in > logs/phoenix.log and temp/phoenix.console > > The memory error i found corresponds to 27th Oct. There is no error > in latest log files. They seems errors from the remote server the remote delivery is connecting to (while sending mails to the intitation.sms.ac server). You can ignore them. It's very weird you don't have exceptions: I think you should see an exception logged somewhere. I see in your original message this log: --------------- Deliver(mail, session) method returned true. Mail has been delivered/completly failed for : [EMAIL PROTECTED] Entering this loop --------------- I can't find the string "delivered/completly" in the James sources: what code did you add to James? Are you sure the problem is not in your code? Stefano --------------------------------------------------------------------- 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]