• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JavaMail - MessagingException queue file write error

 
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have an application which resides on a Solarix box and a part of functionality involves sending emails to an SMTP server. I keep getting the message mentioned in the subject line when I try to send an email.

I dug up some sites trying to look for some cues as to why this is happening. What I found out was that the postfix queue which has all outbound emails for a linux (in my case Solaris) box, is either queued up or the folder is running out of disk space.

I am not sure how to resolve this error and if it's actually the queue which is blocked or I might be missing more information.

Anyone who has had a similar problem before? I am using the JavaMail API to send emails.

Thanks,
Kailash
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If that's really the case then it isn't a problem you can solve with Java code. In fact it isn't the mail client's problem at all. If the server is running out of resources then it's the server's problem and you should talk to the administrator of the server to see if he/she is aware of it.
 
Zip Ped
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Paul,

Thank you for your response. I tried to debug the issue, but apparently we are able to send mails using SendMail on the Solaris box as 'wasadm' - our java app.

So, I am not sure if the queue being full or a permission error is the problem.

Thanks for your help.
 
Zip Ped
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think I have narrowed down on the issue. I am using port 9999 on the SMTP server as advised by the SMTP server admin to send emails. This port might be blocked for sendmail outbound queue by the internal network firewalls.
 
Brace yourself while corporate america tries to sell us its things. Some day they will chill and use tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic