SAAJ  (size of Attachment)

Hi,
I have a problem when I use SAAJ with attachment.
I using jboss + axis.
This is my error:
"- java.io.IOException:
java.net.SocketException: Connection reset by peer: socket write error"
In my example, client creates an attachment's list and server get attachments by Iterator.
My example work when I use an attachments (3 or 4 attachments with size of 5KB everyone); but when I use an attachments (size more than 50KB) the example don't work.
Maybe, it's the size of attachments; and I don't found nothing on internet about setting possible size property.
See ya Pasquy

hi...
i too got the same error but mine case is something different..
i work for a product comp. and this product consists of many clients and a server..
i am geting this error when i am tring to remove a client name from the list on server...
please help me out...plzzzzzzzz
thankyou

Similar Messages

  • How to check total size of attachment stored in database?

    Hello guys,
    Firstly I'm new to this forum & SAP Basis. Therefore i want to apologize if i'm posting in wrong area.
    Actually I want to know how to check total size of attachment that have been uploaded in ECC.
    From the current database size, how can i check how much space have been used to store attachment such as pdf, doc, xls and tif. I  want to know how much space have been utilized by those attachments from August 2010 until now.
    FYI, those are PR, PO & MIGO attachments.
    Where do i start? What are the tables to check? Which table keeps record of the attachment size? etc.. etc..
    Really appreciate if you guys can give me some guideline.
    Thank you & Rgds,
    fafizah.

    Hi,
    As such there is no direct way to do this but if you will able to find out which all table stores the attachment then you can find out the size of those table from database level.
    Thanks
    Sunny

  • Change SCSM 2012 Portal Size File Attachment

    Hi friends.
    Im looking a way to change the SCSM 2012 Portal Size File Attachment I've been looking the solution but i can´t find it.
    This questions & answers don't helped me. SCSM 2012 Portal Size File Attachment --> http://social.technet.microsoft.com/Forums/en-US/b955d2ec-a1ad-4e50-9d4c-ad22b8a61c5d/portal-file-attachment-max-size?forum=portals
    Many Thanks for your great support.
    Regards.

    Thanks Thomas. 
    The problem is in the self web portal (incidents) that dont allow to upload a file that contains more than
    1mb and i can't change it. i tried it as here says (console and  modifyng
    the web.config) 
    http://social.technet.microsoft.com/Forums/en-US/b955d2ec-a1ad-4e50-9d4c-ad22b8a61c5d/portal-file-attachment-max-size?forum=portals
    http://technet.microsoft.com/en-us/library/ff460924.aspx 
    but dont work.
    I want to increase the limit up to 2mb

  • Limit the maximum size of attachment in ME22N or ME52N

    Dear All SAP Experts,
    How do I limit the maximum size of attachment in ME22N or ME52N (System > Services for object > Create attachment)?
    (for example, attachment size cannot be above 10 MB).
    Some Experts told me that they don't think there is a standard solution for my requirement. They ask me to invoke my own checks in BADI GOS_SRV_REQUEST.
    Unfortunately, I'm not an ABAPer person, really don't have any idea what is GOS_SRV_REQUEST. Can someone help me? Any suggestions will be appreciated, and any solutions will be rewarded by points.
    Thank You
    Regards,
    Kursteilnehmer

    Hi,
        Badi is similar to user exits. I hope you have an idea of user exits.
    Badi has an enhanced features compare to user exists.
    About this Badi "GOS_SRV_REQUEST". This is a Badi definition. You can check this definition in TCode SE18. It has methods an ABAP Programmer need to implement this badi.
    Badi Implementation can be done from TCode SE19. Ask a ABAP developer to Implement this badi. So that whenever you did an attachment then this Badi should be triggered and the code in the method would be executed. This way you can restric the size of the attachment,
    Reward if useful.
    Thanks,
    SAm

  • Limit the maximum size of attachment in ME22N

    Dear All SAP Experts,
    How do I limit the maximum size of attachment in ME22N (System > Services for object > Create attachment)?
    (for example, attachment size cannot be above 10 MB).
    Is it configureable in SPRO or do I have to make user exits for this? Any suggestions will be appreciated, and any solutions will be rewarded by points.
    Thank You
    Regards,
    Kursteilnehmer

    I don't think there is a standard solution for your requirement.
    Maybe you can invoke your own checks in badi GOS_SRV_REQUEST.
    See the documentation in SE18.

  • HT201342 what is the max size of attachment that possible to send with icloud email?

    what is the max size of attachment that possible to send with icloud email?

    Welcome to the Apple Community.
    There isn't an attachment size limit as such, the limit applies to the entire message including all attachments, which is 20 MB.
    if you are using a mail application to send emails (ie not via a web browser) you may be subject to smaller limits imposed by your own ISP.

  • What is maximum size of attachment which we can upload?

    Hi
    What is maximum size of attachment which we can upload?
    Thanks in advance.
    Santosh

    As per the online help its 9 MB.
    rgds,
    Amit

  • Send a report by email in BI Publisher with Size of attachment is 10MB

    Hi All
    Is there any way to send an xls file in bi publisher whose size >10MB as an email attachement.Generally say the email server would not accept an attachment >5MB so.....i am looking for is there any way to compress and send these reports probably by using a web service or so......any help would be greatly appreciated.........
    regards

    The specific size limit is a function of the email server(s) involved -- the one BI is configured to talk to and the one where the user fetches his mail. Either way, it's not something directly related to BIP.
    To my knowledge, there isn't any way to tell BIP to zip/archive/compress its output.
    In general, I have found that large email attachments are usually problems waiting to happen. You may be better off to take a different tact entirely -- for instance, email a URL that accesses the report directly from the BIP server.

  • Display the size of attached PDF form

    Hi
        I created a form and allow the user to attach an file.No probs with tat.Now i want to dispaly the size of an attached pdf and also want to save a form in local machine.Could anyone help me to come out of this.

    Hi Prabu,
    you can use the pdf viewer or any other (freeware) pdf installed on your client (PC) for display. There is no way to display a pdf inside the smartform.
    Regards,
    Clemens

  • How to Restrict Size of attachment in E-rec

         HI
    In Erec external Candidate Registration process, under candidate profile, when i go for attachments step , we are trying to upload a resume over there.
    My question is how can we restrict the Max size of the file to be uploaded , and the types of files to be attached(such as only doc format should be allowed).
    Can any one suggest where can i Restrict the size of the resume as attachment.
    Regards
    Sandeep

    You need to implement badi HRRCF00_DOC_UPLOAD
    Method CHECK_ATTACH_FILE_SIZE and method CHECK_ATTACH_FILE_TYPE

  • Max file size in Attachment Page

    Hi,
    Whats the maximum size of the file which can be attached to an attachment page?
    Thanks,
    Gowtam.

    Shiv,
    I tried in one of my old pages a 10mb non-pdf file, the page went into error!
    Anyways,
    Gowtham if ur raising a TAR, do update this thread with ur final results/TAR number.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Limit File Type and file size in attachment table.

    Dear All,
    I want to limit file type like .jpg,.mpgv files while ataching files in attachment table in oracle apps. Also want to limit file size.
    Please help.
    Thanks

    Refer below link regd implementing file upload:
    File Upload
    We can get file type using
    DataObject fileUploadData =
    (DataObject)pageContext.getNamedDataObject("fileInput2");
    //here OAFileUploadBean is "fileInput2"
    String contentType = fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    Based on this file type write your login in processFormRequest.
    Will let you know if I find anything about size also.
    -Anand

  • Email 2x size of attachment

    When I check the size of a .mov file in the finder it is 10.7 MB. When I add the file to an email Mail says it is 20 MB and the smtp server rejects the file because it is over the limit. Why does the email double in size?

    When an attachment to an e-mail is sent, is converted using a method called "base-64 encoding" into plain text (electronic mail doesn't handle binary, just text). Using that method, every 6 bytes of data in your file is represented as as string of 8 printable (human readable) characters. Additionally, and end-of-line character is added after the 80th character. There's also a little bit that goes before the attachment and after it to indicate that there's an attachment and where the attachment starts and ends.
    The practical upshot is that an attachment is ALWAYS just a little more than 33% bigger than the file it was created from.
    Given that, your 10.7M attachment would probably balloon to 15,400,000,000 bytes or so. If the attachment was included in-line (you drag-and-drop). I don't know where the rest of it comes from. The headers for the e-mail message aren't likely to exceed 2K, and the HTML in the message (if sending as rich text) is only likely to increase the size of the text part maybe 1K + 2x the amount of text you put in there (and, I take it you didn't include a megabyte of text).

  • Attachments and instance size ? (Attaching from Global Create)

    Is it true that if you want to allow users to make attachments from Global Create, you must set your "MAX Instance Size" to be at least as big as the Attachments coming in?
    In Global Create, if you want to allow user to make attachments, it seems (from the documentaiton and the sample projects) that you must have an argument to recieve the binary data, and a corresponding instance variable to which it is mapped to. Then after the Begin activity, you can create the attachment using the instance variable.
    Is there some other way to do this without instance variables holding the binary data?
    Also, making the instance variable "SEPARATED" is not a solution, because there is a max size of 2Mb on separated instance variables. I am anticipating attachments up to 100Mb
    Edited by bcespinola at 09/21/2007 8:15 AM

    Manoj,
    We found a workaround that works in Studio workspace. We are getting ready to deploy it to our ALBPM server and test it there.
    Workaround:
    Instead of passing attachment (binary data and file names) to process via Process Arguments, then mapping the arguments to instance variables, then creating attachment from instance variables, we use the Fuego.Io.BinaryFile.
    there are 2 methods on this we use:
    1) writeFromBinaryTo
    2) readToBinaryFrom
    So from the screenflow in the global create, we have screenflow level variables receiving the binary data and filenames from the posted JSP. In the screenflow, we then use "writeFromBinaryTo" method of BinaryFile object and for the 'name' paramter, provide a full path on the server to where we want the file written.
    then we pass a string containing the file's full path as an argument to the process, mapped to an instance variable.
    Then, after instance is created, we have an automatic that uses local a variable (not instance variables) to hold Binary data and filenames. We then use "readToBinaryFrom" method of BinaryFile object, again using the string containing the full path to the file on the server, as the "name" parameter to the method. This method returns a object represting the binary data. then you can use the "create attachment" code, passing in the binary data and file name to create the instance attachment.
    Finally, we do some cleanup by deleting the file that was uploaded to the server (delete method of Fuego.File)
    So in summary, instead of passsing the filename and binary data as arguments to the process, we basically are using fuego object to do a file upload to the server, then after instace created, we get reference to file on server and create attachment from there. Now our instance size can be small, but process can still handle large attachments.
    Hope that helps.
    Edited by bcespinola at 10/03/2007 6:11 AM

  • Can't change size of attached photos when emailed.

    I scan photos to my desk top and then work on them with Elements 8.  I save back to my desk top.  I try to attach them to a email and want to reduce the size.  I set it for medium size but it only goes to a very small picture that is hard to see.  It can not be enlarged when recieved.  I can send as actual size and it will send them,  but they are  very big files.   I can send a photo that has not been worked on with no problem.   Am I changing the type,  it says jpeg?

    What is the original size in pixel dimensions of the scans?
    (look under Image>Resize>Image Size to read the pixel dimensions and then just press cancel in the dialog)
    You can reduce the pixel dimensions of the photo in the photoshop elements editor
    under Image>Resize>Image Size with resample image and constrain proportions checked:
    You could also use File>Save for Web:
    http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f-118f00f612e28b29a0a -8000.html
    Added:
    Also when scanning you might want to save the scans to your desktop as tif files instead of jpegs.
    You'll probably get better quality scans as the jpeg format can cause artifacts because of lossy compression.
    Message was edited by: R_Kelly

Maybe you are looking for

  • Apple DVI to Video Adapter

    Hello all, I recently purchased this Samsung TV which I would like to hook up to my computer to watch videos. Here are the TV complete specs: http://www.samsung.com/us/consumer/detail/spec.do?group=televisions&type=televis ions&subtype=lcdtv&model_cd

  • AirPort Extreme 6th gen, not recognize my printer HP deskjet ink advantage 1515

    I have AirPort Extreme 6th gen, it can not recognize my printer HP deskjet ink advantage 1515. I already contact hp support and they reply my printer is support by AirPort Extreme. This is the link web statement http://h10025.www1.hp.com/ewfrf/wc/doc

  • Recording LP track to

    I'm a new user and followed Creative's help instructions for converting a vinyl recording. When I try to play the track on the PC to confirm it was recorded, I get nothing. Any idea what I may be missing? I'll appreciate any ti ps. For clues on what

  • WBS posting validation?

    1. Is it possible to validate that certain WBS can get only network settlement costs and no other postings? 2. I want to lock the WBS from postings, even though due to assigned activities it should remain as account assignment element.  What are the

  • How can we increse this coding Part

    Hi there I came across some coding to improve .while looking the progam it is unique .some say it is correct as per the Sap point of view .but some dosent. Please verify is this the correct way for coding .        IF NOT skont IS INITIAL.     IF NOT