Sending through JavaMail starts to fail after several hours

I have a strange problem send messages through JM.
I have two applications, running on Jboss, regularly sending messages to external domains through javamail. On application startup, both work absolutely fine, for several hours.
However, after a certain amount of time (have not been able to determine if this is fixed period of time, or certain number of sent messages), both applications cease successfully sending email, giving the exception (every time):
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 relay not permitted
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
The mail server is postfix, running locally - so this is not the normal "not configured as relay" issue. When everything is working fine, the postfix logs contain mailing information, but once the failures begin, nothing is in the postfix logs at all. This leads me to think that the problem is in the java. Especially as restarting (or redeploying) the applications resolves the problem for another few hours.
Any ideas?
cheers
phil

The error message you're getting is the error message the
server is sending. You need to figure out why the server
is sending that error message.
One thing that might help debug the problem is to keep
the debug log files for every session, at least until you
know the send is successful. If a send fails, save the
debug log file for later examination. Then you can see
the entire protocol trace with the server.
See the Session.setDebugOut method.
One possibility here is that you're running into a bug in
your application that, after some time, causes it to lose
your session configuration properties, which could cause
it to fail to authenticate, or even cause it to connect to the
wrong server. Look for race conditions in your application.

Similar Messages

  • Livepkgr failing after several hours

    Hello
    I am using FMIS 4.0.2 with Kulabyte XStream 3 to serve live channel as Http Dynamic Streaming with DVR.
    Unfortunately after 4-8h FMS fails with following message in core.00.log:
    2011-08-01    19:12:48    8740    (e)2611178    Error from libf4f.dll: Failed to swap in file 'd:\hds\lv1_b1\lv1_b1.bootstrap'.    -
    (the same for other 2 bitrates).
    After that, streaming stops and only way to make it work again is to restart FMS. FMSCore.exe uses quite a lot of money at this point (during last occurrence it was 850MB), but it should not be a problem as the server is 4 core Xeon, 32GB Ram, Windows 2003 64-bit
    This problem happens every several hours, making the live channel practically useless.

    Hi ,
    Thanks for using FMIS and HTTP Dynamic Streaming.
    I do remember instances when we observed this kind of swap issues, but they must all have been resolved on 4.0.2 . I would cross check and let you know ...
    Meanwhile, we are working on some more recording related issues that were found on 4.0.2 and shortly we should have the next dot release. Once that is available, please try shifting to that, and let us know if that has solved the problem. I guess, the many changes that went should resolve this issue.
    Thanks for bringing this to notice.

  • FF4 starts using all of available CPU after several hours, needs reboot.

    This used to happen in the previous release version of FF, and it's apparently still the case in FF4.
    Everything works fine after I start FF4. I have 50+ tabs open and visible through TabMixPlus and FF is fast and snappy just like I want it to be, but after several hours (most often when I come back to the PC in the morning) it starts hogging too much CPU. I don't care so much for memory, I have plenty of that to spare, but once it maxes out a core once per second, FF completely slows down about that often and becomes completely unusable. I have to reboot it every time to fix that.

    Please provide us with your Event Viewer administrative logs by following these steps:
    Click Start Menu
    Type eventvwr into Search programs and files (do not hit enter)
    Right click eventvwr.exe and click Run as administrator
    Expand Custom Views
    Click Administrative Events
    Right click Administrative Events
    Save all Events in Custom View As...
    Save them in a folder where you will remember which folder and save as Errors.evtx
    Go to where you saved Errors.evtx
    Right click Errors.evtx -> send to -> compressed (zipped) folder
    Upload the .zip file to skydrive or a file sharing service and put a link to it in your next post
    If you have updated to win 8.1 and you get the error message "the system cannot find the file specified" it is a known problem.  The
    work around is to edit the registry.  If you are not comfortable doing this DONT.  If you are, backup the key before you do
    Press Win+"R" and input regedit
    Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels. Delete "Microsoft-Windows-DxpTaskRingtone/Analytic"
    Wanikiya and Dyami--Team Zigzag

  • JRE / JWS failure after several hours

    I encountered a strange problem when trying to login to a SquirrelMail application that only occured with three out of seven browsers I use for testing. After making sure that all cookie and security settings were the same in all browsers, I happened to notice that in the failing three, there were some error messages shown in the Javascript console.
    So I thought it would be a good time to make sure my JRE was up to date. I installed the latest level, but that didn't help. Then Inoticed the Java Web Start package (but didn't notice that it was supposed to be part of the JRE). I downloaded and installed that, and the three browsers started handling the login properly.
    However, after several hours all three started failing again.
    I repeated the JWS installation, and they worked...for a few more hours.
    I repeated this cycle several times, and it was always the same: the login page was processed normally for several hours only after a reinstallation of the JWS package.
    The browsers that are failing are: IE, Opera and Firefox. The ones that are not affected by this are NetScape, K-Meleon and Slim Browser.

    but i kept on having download failure.
    May be your internet connection ...
    OS X Recovery requies a high speed broandband connection via Wi-Fi or Ethernet as noted here > OS X: About OS X Recovery
    If it's convenient, you can sign up for Apple workshops > Apple - One to One

  • My ipod classic will not sync my content, even after several hours.

    My ipod classic will not sync content, even after several hours.  I have restored the ipod, got a new dock connenctor, manually synced a few songs.  This is frustrating.  I am considering sending the ipod for service.  What do I do?

    How is your iPod configured to sync TV Shows?  What options do you have enabled from under your iPod's TV Shows configuration tab in iTunes?
    No error messsages when you sync your Classic with iTunes?  Try resetting all warnings with the device by right->clicking on it from under Devices in the left hand pane of iTunes and choosing Reset warnings. Then resync your device to see if any errors appears.
    B-rock

  • My iPod shut off randomly and will no longer turn back on. I plugged it in to charge it, but after several hours it will not turn back on. What should I do?

    My iPod turn off randomly. I plugged it in to the charger, and after several hours, it still will not turn on. I even plugged it into my computer and pulled up iTunes, where it showed up on the screen as plugged in, but still it will not turn back on. Any suggestions on what I should do?

    - First try resetting the iPOd:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears
    - Next try restoring the iPod via iTunes, first from backup and if still problem to factory defaults/new iPod.

  • Recently bought a samsung NX30 camera which came with lightroom 5, after several hours of googling i got it setup properly with the correct camera raw to be able to access my raw images. I found my old laptop was very slow when processing the hundreds of

    recently bought a samsung NX30 camera which came with lightroom 5, after several hours of googling i got it setup properly with the correct camera raw to be able to access my raw images. I found my old laptop was very slow when processing the hundreds of images I usually take on a weekly basis.  I bought a new faster laptop but when I looked for the cd with the software and serial I could not find it in the Xmas clutter.  I downloaded a trial version of lightroom and got it working on my new laptop. Is there a way to access the serial number from my previously installed version and insert it into the trail version to make it work for me?
    Myron

    Mea culpa
    While i registered all my cs2 thru 6 versions and my lightroom 2 thru 4 versions and recorded the serials and saved the adobe registration emails.  Since this came as a freebee with the camera i neglected this vital step.  I have the instslled version on my old laptop but want to install it on my new one.  Thanks to Jim Hess I got the serial so all is well in my world and I will register it with ADOBE
    Myron

  • I bought download Adobe Premier elements last year. It is on my old computer which is not powerful enough.  I have a new computer that is, I bought and upgrade for $69 but have got no where after several hours.  what do I do

    I bought download Adobe Premier elements last year. It is on my old computer which is not powerful enough.  I have a new computer that is, I bought and upgrade for $69 but have got no where after several hours.  what do I do?

    What are you trying to do?  What actions are you taking?  What happens when you try?

  • Firefox becomes very sluggish after several hours of usage

    In the past 2 weeks, after several hours of use, firefox becomes very sluggish. Cannot switch tabs easily. Cannot type emails easily, etc. If reboot computer, works fine at first, but again, after several hours, becomes sluggish again. This happens to both my computers which are on a network. A technician suggested a virus, but have not seen any virus messages. Use AVG 2013 virus software.

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.

  • SOOOO, now I start all over after TWO HOURS! Heavy sigh. I've downlaoded now where is it?

    I redeemed my 'card' I got my serial numbers, I downloaded, clicked open, clicked RUN, now where is it? I pray the program itself isn't as hard as the opening of it! I'm a Grami and not so techie. I need phone help. I have the premium - it SAYS I can talk to someone on the phone.

    Did you have this page Terri?
     BLESSINGS! Praying my story gives God glory!Favor, Peace and Joy!
    Caryl
    A Little Lower Than the Angels  Volume OneHearts Stolen (1839-1844) Book Two Vow Unbroken (1832), the widely acclaimed Historical Christian 'western adventure' Texas Romance  Caryl's Website
          From: TerrieM <[email protected]>
    To: Caryl McAdoo <[email protected]>
    Sent: Tuesday, December 30, 2014 5:26 PM
    Subject:  SOOOO, now I start all over after TWO HOURS! Heavy sigh. I've downlaoded now where is it?
    SOOOO, now I start all over after TWO HOURS! Heavy sigh. I've downlaoded now where is it?
    created by TerrieM in Photoshop Elements - View the full discussionIf you find a phone number please post it. I'm getting desperatefor help already.  f the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7054540#7054540 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7054540#7054540 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Photoshop Elements by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • There are several login keychain items I'd like to get rid of. I've deleted them but they come back after several hours. How can I get rid of them for good

    There are several login keychain items I'd like to get rid of. I've deleted them but they come back after several hours. How can I get rid of them for good.

    Back up all data before proceeding.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select
              Change Settings for Keychain "login"
    In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
              Keychain Access ▹ Preferences ▹ First Aid
    If the box marked
              Keep login keychain unlocked
    is not checked, check it.
    Select
              Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • Toshiba 40L7335D turns off by itself after several hours of use

    My Toshiba TV 40L7335D periodically turns off by itself!!!!
    Bought a few days, everything else is working perfectly during the day but after several hours of use of the TV is turned off!
    Is a problem that someone else has or knows??

    Please check the user manual *page 74*
    http://www.toshiba-om.net/LCD/PDF/English/L7335-4050-English.pdf
    _Energy Saving Settings_
    +The TV will automatically turn itself off (Standby) after 4 hours, if you do not operate the TV either from the remote control or the TV control panel.+
    and
    _No Signal Power Down_
    +The TV will automatically turn itself off after 15 minutes when no signal is detected+

  • Backup Fails after several successful days - errors "Device is not ready" & "The System cannot find the path specified"

    Well I am back again, with another backup issue. After fixing one issue with the backup failing after a reboot, I have encountered another which is starting to cause me a lot of headaches.
    The setup is thus - the backups run on a host machine running Windows Server 2012, this hosts three VM's (1x Server 2012 and 2x2008 Since the 19th of December a single backup drive has been attached for the backups (not ideal but the company had closed for
    the holidays) up until the 26th these backups were working flawlessly. 
    On the 26th the backup completed with warnings, transferring a good 90% of the data to the backup (2/3 VMs). On the 27th it transferred a bit more at around 95% (2/3 VMs).  On the 28th, it didn't completely backup a single VM.
    On the 28th this error appeared in the event logs and after checking in the snap-in the same errors appear on the warning days as the errored day.
    The backup operation that started at '‎2014‎-‎12‎-‎28T20:30:09.774946400Z' has failed with following error code '0x80780049' (None of the items included in backup were backed up.). Please review the event details for a solution, and then rerun the backup
    operation once the issue is resolved.
    Thanks in advance/

    Hi,
    Please check the detailed error message in the backup log files in C:\Windows\Logs\WindowsServerBackup. In additional, you could go through the similar thread to help troubleshoot this issue:
    Windows 2012 Backup for HyperV failed with error code '0x80780049'
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/f1a0c9c6-7b4c-409c-b4da-c145b8b59eb1/windows-2012-backup-for-hyperv-failed-with-error-code-0x80780049?forum=winserverhyperv
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Asadmin start-appserv fails after install

    I have just installed SunOne app server 7 on an E220R running Solaris 9.
    After installation asadmin start-appserv fails with:
    bash-2.05# ./asadmin start-appserv
    Nov 1 15:01:24 w1 appservd-wdog[3240]: server initialization failed (Interrupted system call)
    Could not start the instance: domain1:admin-server
    server failed to start: abnormal subprocess termination
    Nov 1 15:01:31 w1 appservd-wdog[3254]: server initialization failed (Interrupted system call)
    Could not start the instance: domain1:server1
    server failed to start: abnormal subprocess termination
    Could not start one or more instances in the domain : domain1
    Could not start one or more domains
    /etc/opt/SUNWappserver7/asenv.conf has the correct AS_INSTALL directory and pkginfo looks like this:
    bash-2.05# pkginfo -l SUNWascmo
    PKGINST: SUNWascmo
    NAME: Sun ONE Application Server unbundled (common)
    CATEGORY: system
    ARCH: sparc
    VERSION: 7.0,REV=2002.10.08.16.47
    BASEDIR: /raid0/local/SUNWappserver7
    VENDOR: Sun Microsystems, Inc.
    DESC: Application Server common components
    PSTAMP: korea20021008164747
    INSTDATE: Nov 01 2002 14:55
    HOTLINE: Please contact your local service provider
    STATUS: completely installed
    FILES: 4 installed pathnames
    2 shared pathnames
    2 directories
    16493 blocks used (approx)
    bash-2.05# pkginfo -l SUNWasaco
    PKGINST: SUNWasaco
    NAME: Sun ONE Application Server Admin Client, unbundled
    CATEGORY: system
    ARCH: sparc
    VERSION: 7.0,REV=2002.10.08.16.47
    BASEDIR: /raid0/local/SUNWappserver7
    VENDOR: Sun Microsystems, Inc.
    DESC: Application Server Admin Client
    PSTAMP: korea20021008165101
    INSTDATE: Nov 01 2002 14:55
    HOTLINE: Please contact your local service provider
    STATUS: completely installed
    FILES: 6 installed pathnames
    3 shared pathnames
    3 directories
    2 executables
    1713 blocks used (approx)
    An example of the log errors is:
    [01/Nov/2002:15:01:20] INFO ( 3241): CORE1116: Sun ONE Application Server 7.0
    [01/Nov/2002:15:01:20] INFO ( 3242): CORE3016: daemon is running as super-user
    [01/Nov/2002:15:01:22] SEVERE ( 3242): exception initializing server side logger com.iplanet.ias.config.ConfigException: Error refreshing ConfigContext
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    null
    com.iplanet.ias.config.ConfigException: Error refreshing ConfigContext
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    null
         at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:277)
    <extended stack trace redacted>
    /2002:15:01:23] SEVERE ( 3242): exception initializing server side logger com.iplanet.ias.config.ConfigException: Error refreshing ConfigContext
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    null
    com.iplanet.ias.config.ConfigException: Error refreshing ConfigContext
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    null
         at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:277)
    <snip>
    [01/Nov/2002:15:01:23] FINE ( 3242): reinitializeLogger: javax.enterprise.system.core com.sun.logging.enterprise.system.core.LogStrings FINEST
    [01/Nov/2002:15:01:23] SEVERE ( 3242): exception initializing server side logger com.iplanet.ias.config.ConfigException: Error refreshing ConfigContext
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    null
    com.iplanet.ias.config.ConfigException: Error refreshing ConfigContext
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    null
         at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:277)
    <snip>
    <etc>
    Can you give me an idea of what might be the problem?

    Could you please check <install_dir>/install.log file for any possible warnings. Also, are there any characters
    other than alphanumeric, dash, underscore in any of the parameters provided to the installation program?
    Based on the startup log entry, server configuration files seems to be corrupted.

  • Remote fails after several days

    I'm running ZFD 3.2, on a Netware 5.1 (sp5) box with eDir 85.27c.
    When I
    import a workstation, it will work perfectly for a few days, but then
    it
    fails to respond to Remote Control. I can still do Chat, and pinging
    the
    agent gives perfect success. When I do attempt to connect it gives
    the
    message:
    The Remote management agent was unable to locate the workstation in
    NDS.
    I can delete the workstation and re-import it, and it will work again,
    but
    fail after a few days time. I applied all the ZenWorks support packs
    to the
    clients and the server, and I am running the latest snap-ins for
    ConsoleOne.
    This server is the master of the replica.
    Any tips would be appreciated. I went through everything on TID
    10013987
    and none of it has fixed the problem. Thanks.

    Running a mixed IP/IPX environment, all on static assigned IPs. We're
    also
    using SLP with a Scoped list.
    "Jared L Jennings" <[email protected]> wrote in
    message
    news:PaY5a.1250$[email protected]..
    > Are you running pure IP?
    > Is your network DHCP?
    >
    > --
    > Jared L Jennings, CNE 5,6
    > Using XanaNews 1.13.2.10

Maybe you are looking for

  • Right mouse click in word for mac

    i just bought a g-5 intel core duo and i love it. though i am an experienced mac user this is my first time with the mighty mouse and i miss the right mouse click when i am in word for mac (2004): with my old mouse i could right mouse click on a word

  • Material Type to Valuation Class

    Hi On which table /Tcode can list the Valuation Class assigned to all the Material Types. Regards MM

  • Does this work?

    http://www.amazon.com/Cisco-USB300M-Cisco-Linksys-Ethernet-Adapter/dp/B001NLV4TQ /ref=sr_1_8?s=electronics&ie=UTF8&qid=1337663431&sr=1-8 Would this product make it so that I get internet wherever I am? I'm not sure if that is what it is used for.

  • Creative Zen - video converter issues

    I've been trying to convert AVIs and MKVs to view on my Creative Zen and keep running into a problem. No matter what settings I seem to use on any video converter, my player refuses to play the resulting WMV. I am encoding to as close as possible to

  • Changes in ARE3 form.

    hi experts, i need to  change the standard ARE3 form but i found that the form has dynamic coding producing the smartform. Can you pls suggest how to add some data to printed in the sf? Regards, Sahai.S