Copying/Moving of large message fails

The message I am copying is approx. 13Mb, containing a PDF attachment that makes up most of the size. I've tried tweaking params on both the Exchange IMAP4 service, and JavaMail and nothing seems to work. Below is my configuration. If anyone has run into this, or has some tips, feel free to pass them along.
Thanks,
Environment:
JavaMail 1.4
Exchange 2003 (enable fast message retrieval unchecked).
JavaMail Config:
mail.debug=false
mail.store.protocol=imap
mail.imap.starttls.enable=true
mail.imap.partialfetch=false
mail.imap.statuscachetimeout=0
mail.imap.appendbuffersize=16384
mail.imap.connectionpoolsize=5
mail.imap.connectionpooltimeout=45000
JavaMail Debug Output:
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.providers (No such file or directory)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.address.map (No such file or directory)
DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
DEBUG: mail.imap.partialfetch: false
DEBUG: mail.imap.statuscachetimeout: 0
DEBUG: mail.imap.appendbuffersize: 16384
DEBUG: enable STARTTLS
* OK Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (EXCHANGE_HOST) ready.
A0 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN AUTH=NTLM
A0 OK CAPABILITY completed.
IMAP DEBUG: AUTH: NTLM
DEBUG: protocolConnect login, host=EXCHANGE_HOST, user=EXCHANGE_USER, password=<non-null>
A1 LOGIN EXCHANGE_USER rcatv
A1 OK LOGIN completed.
A2 LIST "Public Folders" ""
* LIST (\Noselect) "/" ""
A2 OK LIST completed.
DEBUG: connection available -- size: 1
A3 SELECT "Public Folders/FOLDER_PATH"
* 1 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
* OK [UIDVALIDITY 144] UIDVALIDITY value
A3 OK [READ-WRITE] SELECT completed.
2007-07-31 09:43:20,090 INFO [main] (IExchangeScript.java:450) - Looking for messages in folder [Public Folders/FOLDER_PATH]
A4 LIST "" "Public Folders/FOLDER_PATH"
* LIST (\Marked \HasChildren) "/" "Public Folders/FOLDER_PATH"
A4 OK LIST completed.
A5 FETCH 1 (ENVELOPE INTERNALDATE RFC822.SIZE)
* 1 FETCH (ENVELOPE ("Mon, 30 Jul 2007 17:41:35 -0400" "MESSAGE_SUBJECT" (("FROM_EMAIL_FRIENDLY" NIL "FROM_EMAIL_USER" "FROM_EMAIL_DOMAIN")) (("FROM_EMAIL_FRIENDLY" NIL "FROM_EMAIL_USER" "FROM_EMAIL_DOMAIN")) (("FROM_EMAIL_FRIENDLY" NIL "FROM_EMAIL_USER" "FROM_EMAIL_DOMAIN")) (("TO_EMAIL_FRIENDLY" NIL "TO_EMAIL_USER" "TO_EMAIL_DOMAIN")) NIL NIL NIL "<000501c7d2f2$73d2c560$0101a8c0@RAB02>") INTERNALDATE "30-Jul-2007 16:56:45 -0400" RFC822.SIZE 18310684)
A5 OK FETCH completed.
2007-07-31 09:43:20,104 INFO [main] (IExchangeScript.java:468) - Processing message from folder [Public Folders/FOLDER_PATH], Message Subject [MESSAGE_SUBJECT]
A6 FETCH 1 (BODYSTRUCTURE)
* 1 FETCH (BODYSTRUCTURE ((("TEXT" "PLAIN" ("charset" "iso-8859-1") NIL NIL "QUOTED-PRINTABLE" 124 3 NIL NIL NIL)("TEXT" "HTML" ("charset" "iso-8859-1") NIL NIL "QUOTED-PRINTABLE" 658 11 NIL NIL NIL) "alternative" ("boundary" "----_=_NextPart_002_01C7D2EC.23516480") NIL NIL)("APPLICATION" "PDF" ("name" "PDF_ATTACHMENT.pdf") NIL "PDF_ATTACHMENT.pdf" "BASE64" 18307324 NIL ("attachment" ("filename" "PDF_ATTACHMENT.pdf")) NIL) "mixed" ("boundary" "----_=_NextPart_001_01C7D2EC.23516480") NIL NIL))
A6 OK FETCH completed.
A7 FETCH 1 (BODY[1])
* 1 FETCH (BODY[1] {1106}
------_=_NextPart_002_01C7D2EC.23516480
Content-Type: text/plain;
     charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
...(BODY OF MESSAGE IN PLAIN TEXT)...
------_=_NextPart_002_01C7D2EC.23516480
Content-Type: text/html;
     charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16481" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
...(BODY OF MESSAGE IN HTML)...
</BODY></HTML>
------_=_NextPart_002_01C7D2EC.23516480--
A7 OK FETCH completed.
A8 FETCH 1 (BODY[2])
* 1 FETCH (BODY[2] {18307324}
...(BASE64 ENCODED PDF)...
------_=_NextPart_001_01C7D2EC.23516480--
A3 NO The network connection was aborted by the local system.
2007-07-31 09:43:32,965 ERROR [main] (IExchangeScript.java:529) - Problems while processing APTrak Appraisals Parsing Script message.
javax.mail.MessagingException: A3 NO The network connection was aborted by the local system.;
nested exception is:
     com.sun.mail.iap.CommandFailedException: A3 NO The network connection was aborted by the local system.
     at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2337)
     at com.sun.mail.imap.IMAPFolder.appendMessages(IMAPFolder.java:1289)
     at com.sfsltd.services.exchangescripting.IExchangeScript.scanForMessages(IExchangeScript.java:496)
     at com.sfsltd.services.exchangescripting.APTrakScriptTest.testScanForMessages(APTrakScriptTest.java:54)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at junit.framework.TestCase.runTest(TestCase.java:154)
     at junit.framework.TestCase.runBare(TestCase.java:127)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
     at junit.framework.TestCase.run(TestCase.java:118)
     at junit.framework.TestSuite.runTest(TestSuite.java:208)
     at junit.framework.TestSuite.run(TestSuite.java:203)
     at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
     at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: com.sun.mail.iap.CommandFailedException: A3 NO The network connection was aborted by the local system.
     at com.sun.mail.iap.Protocol.handleResult(Protocol.java:294)
     at com.sun.mail.imap.protocol.IMAPProtocol.appenduid(IMAPProtocol.java:881)
     at com.sun.mail.imap.protocol.IMAPProtocol.append(IMAPProtocol.java:835)
     at com.sun.mail.imap.IMAPFolder$10.doCommand(IMAPFolder.java:1292)
     at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2387)
     at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2332)
     ... 21 more
A4 LOGOUT
* BYE Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 signing off.
A4 OK LOGOUT completed.
DEBUG: IMAPStore connection dead
DEBUG: IMAPStore cleanup, force false
DEBUG: close folder
A12 EXAMINE "Public Folders/FOLDER_PATH"
* 1 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS ()] Permanent flags
* OK [UIDVALIDITY 144] UIDVALIDITY value
A12 OK [READ-ONLY] EXAMINE completed.
A13 CLOSE
A13 OK CLOSE completed.
DEBUG: added an Authenticated connection -- size: 1
A14 LOGOUT
* BYE Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 signing off.
A14 OK LOGOUT completed.
DEBUG: IMAPStore cleanup done

Do you have an antivirus or firewall product that might be interposing itself
in the communication with your server?

Similar Messages

  • Large Messages fail on Integration Engine

    Hello Guys!
    I have an integration scenario with <b>large</b> messages going from ECC to XI (RFC -> XI -> JDBC) and these messages frequently fail on Integration Engine (inbound queue SYSFAIL).
    1) Can't XI process large messages?
    OR
    2) Is there an integration engine configuration parameter that limits message size? (<i>I think that's not the case, because sometimes I can manually restart a message that failed on a first attemp</i>)
    OR
    3) Is there an integration engine configuration parameter that limits processing time of a message?
    Thanks
    Julio

    Hi Julio,
    i think you can click on the sysfail to get more info. Check as well SM21 for the error. Assumedly it was too much for Java Runtime and you should find a temporary down destination AI_RUNTIME_JCOSERVER.
    SAP note 723909 shows how to tune JVM and increase Java Heap Size.
    You should control if more than one msg leads to the error. If that is the case, may be a simple change of QOS to EOIO could solve the task to avoid more than one msg processing parallel. Reducing parallel JCO server threads would be similar strategy.
    A direct Java Maping could be another idea. Message Mappings will be generated to Java with a quite huge source code, a direct written mapping could be more performant / stabil.
    Regards,
    Udo

  • Ipod touch error message-"attempting to copy to the disk "dad" failed....

    I have an 8 gb ipod touch. My ipod is called "dad". I have dragged songs from the library to my music and will receive the error message "attemtping to copy to the device 'dad' failed. the device is not connected. I can see the device on itunes...not sure why it is seen as not connected. Note one thing. If I unplug my ipod or turn it off and on it will work for 5 or 10 songs properly...and then stop working and give me the error message above. I have tried restoring on iunes and that did not work. Does anyone else have any advice

    i am also having this problem. i have only tried with apps and music. it starts to sync, does a couple, then just disappears from itunes. the ipod touch still says sync in progress though.
    i have tried restoring multiple times, i have tried doing it in dfu mode, tried different ports. its a 1g 16gb ipod touch.
    i see im not the only one having this problem. so what is the solution apple?
    i love how its our fault. i have always taken good care of my ipod. if i take it to an apple store they would not repair whatever is wrong because my warranty ended in november.
    thanks apple...

  • The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    What program are you using?  And what version?

  • A link in a thunderbird message fails to activate firefox but if i copy & paste it in the ffx location bar, it goes to the linked web page

    a link in a thunderbird message fails to activate firefox but if i copy & paste it in the ffx location bar, it goes to the linked web page. Also, some web page links are failing except that some will work if i use right-click with open in new tab. just updated ffx to 3.6.13, then updated java per mozilla notification (plugin checker)

    Hi Larry,
    Thanks...that was one of the things I first tried. I did a save as another document.
    I also resized the image in PS so it would be at 100% of size, figuring that would help and I made the image box's background white instead of none, but nothing so far.
    It almosat seems like it is coming from the origianl template file?
    Babs

  • Purchased film from itunes and want to download to ipad. Getting error message. Attempting to copy to the disk "OS_Install" failed. You do not have enough access priveleges for this operation.. Any ideas?

    Purchased film from itunes and want to download to ipad. Getting error message. Attempting to copy to the disk "OS_Install" failed. You do not have enough access priveleges for this operation.. Any ideas?

    Purchased film from itunes and want to download to ipad. Getting error message. Attempting to copy to the disk "OS_Install" failed. You do not have enough access priveleges for this operation.. Any ideas?

  • After trying to sync my ipad to a new pc, i get this error message "Attempting to copy to the disk "windows" failed.  the device is not connected."  but it is connected.

    I have been trying sync my ipad to a new pc and I get this message after the sync fails:
    "Attempting to copy to the disk "windows" failed.  The device is not connected."
    The device is connected, what is wrong here?

    This is a common problem that is most likely caused by files that are not marked to have proper read/write permissions.
    To solve this problem, follow these steps.
    1. Close iTunes.
    2. Using the finder, Ctrl-click the folder that contains your music files, then select Get Info.
    3. Ensure that the Owner is set to have Read & Write privileges. Choose to Apple to enclosed items…
    Once you have modified permissions, fire up iTunes and try to sync your music again. If it throws the same error message and still doesn’t work, research more about permissions in Mac OS X, as there could be something else not right with the permissions of your music files.

  • Getting a message when trying to sync my iphone music to my imac "Attempting to copy to disk Macintosh HD failed. Don't have enough access privileges for this operation." How do I fix this?

    How do I fix the following problem when I try to sync my iPhone music to my iMac?  "Attempting to copy to disk Macintosh HD failed. You don't have enough access privleges for this operation."

    Hey veo1,
    I found the following information about that error message:
    These messages occur if permissions are incorrect on your designated music folder or on a folder inside your designated music folder. Permissions are settings that determine who can read, write to, or execute a file or folder on your computer. Every file and folder on your hard disk has an associated set of permissions.
    Look here for help in correcting the permissions on folders:
    OS X:
    Troubleshooting permissions issues in OS X
    http://support.apple.com/kb/HT2963
    Sincerely,
    Delgadoh

  • Large files fail when copying to external hard drive

    Hi, I am trying to copy 2 extremely large dmg files (both 4-7 GB each) from my macbook to an external hard drive. When the file is almost done I get an error message saying it couldnt do it. I have heard about this happening to other people because their external harddrives were not formatted correctly or something. Is there some precedural way of doing this, if so what are the steps. Thanks.

    In addition to the other suggestions, you may want to try connecting the drive directly to the MacBook. While this is probably sensitive to the exact combination of hardware, I'm finding that I have problems if I connect my drive to either my first-gen aluminum Apple Cinema Display or an external USB 2.0 hub, but no problems whatsoever if I connect it directly to one of the MacBook's two USB ports.
    The exact error message you get would also be helpful.
    Doug

  • When sending email message appears "sending the message failed because you exceeded your sending limit. A copy has been placed in you outbox"

    When sending email message appears "sending the message failed because you exceeded your sending limit.  A copy has been placed in your outbox"

    Who's the provider? Do they have a limit?
    https://discussions.apple.com/message/22929931#22929931

  • HT203390 when I try and sync my ipad 2 with my new XPS laptop i get a message that says "attempting to copy to the disk os failed." what should I do to sync my ipad?

    when I try synching my ipad 2 with my xps laptop i get the following message. "Attempting to copy to the disk os failed." How do I resolve the problem?

    It would be useful to you if they had a different name, but the computer knows they are different. Create separate sync playlists for each device and go to the Music tab when it is connected and specify which playlist should be used for the sync.

  • TS3276 The IMAP command "UID COPY" (to Deleted Messages) failed for the mailbox "Bulk Mail" with server error: UID COPY Mailbox in use. Please try again later.

    I have been getting the following message and have no idea how to clear it.  Any help will be greatly appreciated!!!  I have force closed Mail, and have tried to re-sync my accounts but no luck.
    The IMAP command “UID COPY” (to Deleted Messages) failed for the mailbox “Bulk Mail” with server error: UID COPY Mailbox in use. Please try again later.

    What program are you using?  And what version?

  • "attempting to copy to the disk C:\ failed. the file name was invalid or...

    "attempting to copy to the disk C:\ failed. the file name was invalid or too long." This was the message that I keep getting after trying to "add folder to library" of multiple tracks from an external hard drive. it only happens after a certain period of time.. i get about half of my tracks added before this message pops up. when i first got my i pod it worked fine. but after i hooked up my i pod several times without having that external drive on... the i pod took over that drive letter that my external drive used to use. so.. when i turned on my external drive, it was given a new letter.. then i tunes would not recognize those 1500 tracks that came from my external drive (explanation points listed next to tracks). so.. I deleted all of those files manually, then tried to add folder to library again from the new letter coordinating to my external hd. I kept getting that message above. after that i deleted all files associated with i tunes.. and uninstalled i tunes.. then did a reinstall.. did i tunes update from site... and tried to just add the set of tracks from that external hd... still same **** error. only now.. after i say ok to error... i tunes continues for like 2 seconds.. then has to shut down... ****!!! can anyone help me with this... anyone?

    just to update my problem... I finally figured out that i had to disable the "copy to my itunes folder from my library option. just so you know. apparently i tunes cant handle the large transfer to itunes and also at the same time copy it to your itunes folder... APPLE fix this!!!!!! this suxxxxx....

  • Attempting to copy to the disk " ipod " failed. Cannot read or write BS

    First please don't give me this link:
    http://support.apple.com/kb/HT1207
    Second my ipod worked fine until about a few hours ago, when i was adding new files now i get this error:
    " Attempting to copy to the disk " ipod " failed. The disk could be read from or written to. "
    I tried removing the files i just added but it didnt help. I tried restoring the ipod but it doesnt help. I know its not hardware problem. How do I find out what files are messing up my ipod.
    It works fine with everyhting but music. Also it will start syncing then randomly give me this message, i got up to 500 songs (that play fine, but then it stops and gives me this bs. i hvae 3000 + more that wont sync. Can someone please help me before i smash this thing?

    Eh, there could be an issue with one of the audio files it is trying to sync over. Best bet is to do a fresh restore on the iPod and then follow the steps in the following article to see if it addresses your issue. (and yes, I know it's not the exact error you're receiving, but try it)
    iTunes displays a -69 error when syncing iPod

  • How can i fix this for my iPhone4? "attempting to copy to the disk "iPhone" failed because the disk could not be read from or written to. "

    i keep gettign this message when trying to drag music in itunes.
    attempting to copy to the disk "iPhone" failed because the disk could not be read from or written to.

    Can apply to iPhone as well >    'Disk cannot be read from or written to' when syncing iPod or 'Firmware update failure' error when updating or restoring iPod
    If you are using a Windows based computer >  iTunes for Windows: Gathering and using iTunes Diagnostics
    Ignore:  To repair an iPod disk—Restore the iPod or iPod shuffle using the latest version of iTunes.

Maybe you are looking for

  • AT EXIT-COMMAND in ABAP OO

    Hi everyone! I need to execute some instructions when user exit from the program. Something like AT EXIT-COMMAND in PAI. But i dont have any PAI module or declared flow logic in my screen definition, becouse screen is calling automaticly by abap, i c

  • Airport Express connection questions

    This is what I am trying to do. Can I share an internet connection to a computer that does not have a wireless connection through an Airport Express connected to the wireless router and an ethernet cable to the computer?

  • Force use of Model Node

    Hello All, I was wondering whether there is a way to force users to become a model node in a given environment rather than give them the choice of specifying model node or an individual node name. What happens is that our developers, all on the same

  • Problem ./sapinst when install IDES MILL PRODUCTS 2009

    Hi all Server HP CPU Intel OS : RHEL 4 Update 7  32bit java version "1.4.2_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03) Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode) Previously, I had installed on this serve

  • Remove duplicates

    I down loaded a couple of songs from my CD to itunes.  Now downloaded the whole CD and it shows the songs I first added twice. How do I get it to replace or not download duplicates?