File upload failure

Hi,
My system is unable to upload the file to SRS server stating the below error:-
SRS Proxy[19653]: [ID 728115 daemon.error] File upload failure: exceeded maximum retry count
Pls. give me the solution for this

I believe this is a cross post, please only post in one location. Do you
          observe any errors to std.out or std.err vs. the log file? Sometimes when
          there are memory errors there is no more resources to log messages and the
          error (by the VM) will go to std out/err. Also you might turn on -verbosegc
          to see what is going on with memory during the test. Are you trying to
          bring the entire upload into memory prior to writing it to disk, or are you
          writing as you go?
          Cheers
          mbg
          "Paul Botta" <[email protected]> wrote in message
          news:3ecacd0e$[email protected]..
          > I have a JSP/Servlet that provides users with a file upload mechanism. It
          works fine for small files, but when I post a large file (500 mg) the
          uploads is incomplete. I've confirmed that my servlet that handles the
          uploaded file isn't even being called, so it would seem that it fails
          during as the wl server is creating the temp file. There is no exception
          that I can see in the log files. Any suggestions?
          

Similar Messages

  • File upload failures

    Friends and colleagues,
    I have been struggling to get some files uploaded to my site recently, with difficulty and in some cases, impossibly.
    I keep getting this message "OOPS: close(500)".
    Does anyone understand this? What should I do to get past this and upload my webpages, please.
    I need help here and fast, please.
    Respectfully,
    Adolf
    The Harvest will soon be past. Join Jesus in the Most Holy Place today before HE closes the Door of Mercy. (Jeremiah 8:20

    I found a few references to that error on Google including this one:
    http://www.pcreview.co.uk/forums/500-oops-close-error-message-problem-t2104874.html
    The response was by Steve Easton, a regular member on this forum.
    The above link refers to Frontpage, but the error seems to point to the same, or similar issue in EW that you are having.
    It may not be altogether a problem with Expression Web.  You should also ask your hosting service if there has been issues with their servers.
    Andrew M
    http://www.murraywebs.com
    "Nothing spoils numbers faster than arithmetic!"
    -- Peppermint Patty (Peanuts, Charles M. Schulz)

  • Inconsistent in file upload process

    I have a file upload method for Azure blob storage. code as below
    CloudStorageAccount cloudStorageAccount;
                    CloudBlobClient blobClient;
                    CloudBlobContainer blobContainer;
                    BlobContainerPermissions containerPermissions;
                    CloudBlob blob;
                    cloudStorageAccount = CloudStorageAccount.Parse(ConfigurationManager.AppSettings["CLOUDSTORAGE_ACCOUNT"]);
                    blobClient = cloudStorageAccount.CreateCloudBlobClient();
                    blobContainer = blobClient.GetContainerReference(fileType);
                    blobContainer.CreateIfNotExist();                
                    containerPermissions = new BlobContainerPermissions();
                    containerPermissions.PublicAccess = BlobContainerPublicAccessType.Blob;
                    blobContainer.SetPermissions(containerPermissions);
                    blob = blobContainer.GetBlobReference(FileName);
                    blobClient.ParallelOperationThreadCount = 2;
                    IAsyncResult result = blob.BeginUploadFromStream(InputStream, null, null, null);
                    blob.EndUploadFromStream(result);
    Which is working fine in local but once hosted as Azure application , file upload is throwing error as :
    The server encountered an unknown 
       failure: The underlying connection was closed: 
       Could not establish trust relationship for the SSL/TLS secure channel. 
    After some time it will work fine.  Can you help me exactly what may be wrong

    Hi Srinivas,
    Have you checked if there is a problem in the system time syncing to the time servers?
    If its is a sync issue, to correct it, you could:
    Right-click the clock in the task bar
    Select Adjust
    Date/Time
    Select the Internet
    Time tab
    Click Change
    Settings
    Select Update
    Now
    There might be an issue with the SSL certificate as well.
    Are you using a self signed certificate? Do the host name between the certificate and the server match?
    You could try overriding the client certificate (This is dangerous if you are calling a server outside of your direct control, since you can no longer be as sure that you are talking to the server
    you think you're connected to.) You could try the following code:
     //Trust all certificates
                System.Net.ServicePointManager.ServerCertificateValidationCallback =
                    ((sender, certificate, chain, sslPolicyErrors) => true);
    Also for details you could refer the following links, where the customers are facing similar issues:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/bb0fc194-5bf3-4c24-94bb-c86f94c76bc2/could-not-establish-trust-relationship-for-the-ssltls-secure-channel-with-authority-pc1?forum=wcf
    http://stackoverflow.com/questions/703272/could-not-establish-trust-relationship-for-ssl-tls-secure-channel-soap
    Regards,
    Malar.

  • Httprequest file upload

    I have a situation where the default file upload functionality via fileReference will not work.  This is because of runtime security errors in different environments, and the server is running php with session handlers - the fileReference upload functionality in flex goes through sockets and not an http request, which makes the entire php session useless.  The request really needs to be protected by the session.
    I was wondering if any of you knew how I could implement a file upload in an httprequest component?  Or if there is some way I can upload the file through a standard http request.  It's fine if all i can get out of it is a complete or failure message..

    Hi BalusC,
    Its nice that you are tracking all issues.
    But one thing is, both the issues, in past thread and current are different. with the response of past thread, i went through the document and solved that issue.
    I checked the usage doc in the site, and finally i able to know that, once we read the stream, it can't be read again.
    The sentences (with my work) states that, i tried in many (may not all) possible angles (and with zero solution).
    In the last line, I stated clearly whats my requirement, that "i need to get the values of input text fields and file type fields (and dynamic number of files with different form-field name).
    if we've fixed file item in Form, we can use, Struts framework.
    Thanks & Regards
    PavanPinnu.

  • InDesign - need a "Fix my Corrupted File" Upload Service

    There are frequently posts on the forum for people who have corrupted INDD files. This means lost work and frustrated InDesign users.
    The Indesign team should offer a "Fix my File" upload link to its customers.
    For each corrupted file, you will help a customer, and in the process, hopefully improve the overall stability of the product (which has issues) and benefit everyone...
    Adobe: If you are afraid that you will be swamped with requests to "Fix my File", then you should probably just get out of the SW business now...

    Zak Williamson wrote: "If the documents are fundamentally corrupt in some way, theres no way to repair them." and then later "As I mentioned to Casey, it's rarely possible to repair a truly corrupt document"
    I definitely don't want this to sound like a flame or a whine, but I find that statement quite flabbergasting. Somebody at Adobe must understand the format of an InDesign file well enough to be able to edit out the specific element that is causing InDesign to complain about the document. I do file repair for another company (www.qsatoolworks.com) whose file format is probably more complex than an InDesign file. In over 10 years I've only had 1 or 2 files I could not repair at least to the point of recovering the textual data.
    What led me to this forum is that a customer contacted me to help them recover an InDesign file. They just migrated from a PowerMac G4 with CS2 to a Mac Pro with CS3 and a few of their files won't open. ("ID may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application.")
    We have tried them on another Mac with CS2, and they won't open there either. "Something" must have gone wrong when the files were transferred to the new Mac.
    (Naturally, the old hard drive has already been reformatted.)
    Knowing what I do about file formats (but understanding that my knowledge is nearly worthless in an InDesign file) I have to assume an InDesign file contains an object map with pointers to the various objects in the document. The idea of telling the customer "your 32 page booklet is lost" when the problem could simply be a screwed up pointer is horrifying to me.
    Here at QSA ToolWorks we charge $120/hour for recovery service, success or failure. We've saved lots of people from their own recklessness, and created a passionate user base in the process. We've made our product more reliable (and fixed some bugs) based on the knowledge gained through file repair; Adobe could do the same, but if they don't want to provide such a service, perhaps they should consider training third parties to do it.
    I'd like to address one other comment above. Harbs wrote "I've been lead to believe that Adobe has utilities (which they use internally) to analyze and possibly fix corrupted files." Of course, I don't know whether Adobe has such utilities, but I suspect they don't. Because I can do Helix database repairs, people likewise assume I have "special utilities" that can fix corrupted files. (We've even been accused of keeping them secret so we can use file repair as a source of revenue!) I don't. What I do have is a deep understanding of the file format. Beyond that, a file editor and a couple of AppleScripts I wrote to display the object fields in a human-readable format are all the 'special' tools I have. If Adobe has any sort of tools for analyzing files, I suspect they are much the same. In other words, without extensive internal knowledge, they are worthless.

  • Spry+File Upload

    I would like to ask this question V1, Massimo, and developers.
    Tell me whether there are opportunities to make uploads files through SPRY technology without resorting to the use of other technologies?
    This is the actual effect of which is not enough to fully satisfy:)
    I've heard that it is possible to perform this operation using Iframe ...
    I would be very grateful if someone will share that information with a working example.
    Over the past very much.

    Hi,
    I have a form that uses a standard submit - but the response is targetted at an iframe and I add an event listener to the iframe to do something when it loads.  Not AJAX  - but it enables you to upload the file without leaving the current page etc.
    Below is the code for testing it,
    <script language="javascript" src="/SpryAssets/SpryData.js"></script>
    <script language="javascript" src="/SpryAssets/SpryDOMUtils.js"></script>
    <script language="javascript" src="/SpryAssets/SpryUtils.js"></script>
    <form id="form2" name="form2" enctype="multipart/form-data" method="post" target="me_phil" action="/form.asp" >
      <input type="file" name="myfile" id="myfile" />
      <input type="submit" name="Submit" id="Submit" value="Submit"  /> 
    <iframe id="me_phil" name="me_phil" ></iframe>
    </form>
    <script type="text/javascript" language="javascript"> 
      Spry.$$('#me_phil').addEventListener("load",myClickHandler);
      function myClickHandler()
      var D=Spry.$('me_phil').contentWindow.document;
      x = D.body.innerHTML;
      alert (x);
      </script>
    My server code returns a response / message of success or failure (with a reason) depending no whether it was able to upload the file successfully. The server code limits files to 50k and gif / jpg extensions as it is intended for small pictures etc.
    I'm sure the code could be more elegant but I've only been learning a bit of javascript now and again over the past couple of months
    Another possible place to look is http://www.isgoodstuff.com/wp-content/demo/mysample.html which submits a form via the loadURL method of Spry with a callback function. Not sure how well this would work with file uploads but loadURL seems to allow asynchronous http requests plus additional content headers and I couldn't see restrictions on the form field type in the Spry javascript source. Anyone know the answer on this one?
    Cheers
    Phil

  • Error "A web exception has occurred during file upload" when trying to import ESXi image file into Update Manager

    I'm encountering this error and not sure how to fix, I'm quite new to vCenter so please bear with me.
    I'm trying out vCenter 5.1 with Update Manager 5.1 right now.  No license key has been entered and I still have 50 odd days to try it out.
    2 ESXi hosts are being managed by this vCenter, and they're both running ESXi 4.0
    I'm looking to use Update Manager to try to upgrade the ESXi 4.0 hosts to ESXi 5.1
    I downloaded the image file VMware-VIMSetup-all-5.1.0-799735.iso from VMWare website, and is looking to import it using the Update Manager so I can update the ESXi hosts, but I keep on getting the error:
    File name:     VMware-VIMSetup-all-5.1.0-799735.iso
    Failed to transfer data
    Error was: A web exception has occurred during file upload
    I tried importing it by using vSphere client to connect to vCenter server both remotely and locally, with firewall disabled.
    I've read http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026602
    I've disabled firewall, and there is no anti-virus program on the server.  I've also restarted the machine several times, to no avail, I didn't reinstall update manager because the whole Windows and VCenter installations are clean from scratch.
    I logged into the vSphere Client using Active Directory credentials, and I've made all Domain Admins (which my account is a member of) part of the administrator group on the vCenter server. I can't log in using admin@System-Domain because it tells me I don't have permissions for it, I still haven't really had the chance to figure out why that is and not sure if that makes a difference.
    Also, I'm fairly certain I'm using the right image file, as I've burned some DVD's used that image file to upgrade some other ESXi hosts.  Unless there's a special image file I need to download?
    I'm at lost on what I can do to make it work.  Please advise.
    Thanks.

    The ISO file you mentioned is the one for vCenter Server. What you need is the "VMware-VMvisor-Installer-5.1.0-799733.x86_64.iso" (or VMware-VMvisor-Installer-201210001-838463.x86_64.iso) for the ESXi host.
    André

  • Change upload file name with com.oreilly.servlet.MultipartRequest to handle the file upload

    1. when use com.oreilly.servlet.MultipartRequest to handle the file upload, can I change the upload file name .
    2. how com.oreilly.servlet.MultipartReques handle file upload? do it change to byte ?
    what  different?  if I use the following method?
       File uploadedFile = (File) mp.getFile("filename");
                   FileOutputStream fos = new FileOutputStream(filename);
                    byte[] uploadedFileBuf = new byte[(int) uploadedFile.length()];
                   fos.write(data);
                 fos.close();

    My questions are
    1) when use oreilly package to do file upload , it looks like i line of code is enough to store the upload file in the
    file direction.
    MultipartRequest multi =
            new MultipartRequest(request, dirName, 10*1024*1024); // 10MB
    why some example still use FileOutputStream?
    outs = new FileOutputStream(UPLOADDIR+fileName); 
        filePart.writeTo(outs); 
       outs.flush(); 
      outs.close();
    2) can I rename the file name when I use oreilly package?

  • BI IP --- Planning function for File Upload

    Hai All,
    In BI IP , When I am trying to load the data (text file) by using Planning function for File Upload. I am getting an error message When I am clicking on Update .
    Error Message : Inconsistent input parameter (parameter: <unknown>, value <unknown>).
    In Text file I am using Tab Separation for each value
    Anyone help me out.
    Thanks,
    Bhima

    Hi Bhima
    Try one of these; it should work:
    1. If you are on SP 14 you would need to upgrade to SP 15. It would work fine
    2. If not, then -
         a] apply note 1070655 - Termination msg CL_RSPLFR_CONTROLLER =>GET_READ_WRITE_PROVIDS
         b] Apply Correction Instruction 566059 [i.e: in Object - CL_RSPLFR_CONTROLLER GET_READ_WRITE_PROVIDS,
    delete the block: l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = p_infoprov ).
    and insert block - l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = i_infoprov ).
    Goodluck
    Srikanth

  • FILE UPLOAD PROBLEM SHOWING THE CONTENTS IN THE SAME BROWSER WINDOW

    Hi,
    This is amit Joshi
    I have uploaded content using input tag of type file and posted to jsp as multipart/form-data type
    in that jsp i am using following code to display the content in browser but only first content is displayed How can i modify it to show all content in the file ..
    <html>
    <head>
    <title>File Upload Display</title>
    </head>
    <body>
    <%
    //ServletOutputStream sout=response.getOutputStream();
    StringBuilder strBuilder = new StringBuilder();
    int count=0;
    String f;
    f=request.getParameter("filedb");
    DBManager dbm = new DBManager();
    //dbm.createTable("mms3");
    //log.info("In JSP : "+ f);
    //dbm.insert_data(f,"mms3");
    %>
    <%
    if (ServletFileUpload.isMultipartContent(request)){
    ServletFileUpload servletFileUpload = new ServletFileUpload(new DiskFileItemFactory());
    List fileItemsList = servletFileUpload.parseRequest(request);
    strBuilder.append("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>").append('\r').append('\n').append("<xpage version=\"1.0\">").append('\r').append('\n');
    String optionalFileName = "";
    FileItem fileItem = null;
    Iterator it = fileItemsList.iterator();
    ServletOutputStream outputStream=null;
    while (it.hasNext()){
    FileItem fileItemTemp = (FileItem)it.next();
    if (fileItemTemp.isFormField()){
    %>
    <b>Name-value Pair Info:</b>
    Field name: <%= fileItemTemp.getFieldName() %>
    Field value: <%= fileItemTemp.getString() %>
    <%
    if (fileItemTemp.getFieldName().equals("filename"))
    optionalFileName = fileItemTemp.getString();
    else
    fileItem = fileItemTemp;
    if (fileItem!=null){
    String fileName = fileItem.getName();
    %>
    <b>Uploaded File Info:</b>
    Content type: <%= fileItem.getContentType() %>
    Field name: <%= fileItem.getFieldName() %>
    File name: <%= fileName %>
    <%
    if(fileItem.getContentType().equals("image/jpeg")) { %>
    File : <p><%
         //response.setContentType("image/gif");
         byte[] bArray=fileItem.get();
         response.setContentType("image/jpeg");
         outputStream=null;
         outputStream= response.getOutputStream();
         outputStream.write(bArray);
         outputStream.flush();
         outputStream.close();
    else if(fileItem.getContentType().equals("text/plain"))
         %> File : <%= fileItem.getString() %>
    <%
    byte[] bArray=fileItem.get();
    response.setContentType("text/plain");
         outputStream = response.getOutputStream();
         out.println();
         outputStream.write(bArray);
         outputStream.flush();
         outputStream.close();
    %> </p> <%
    %>
    </body>
    </html>
    Edited by: Amit_Joshi on Nov 13, 2007 10:58 PM

    Well Well Well..
    That would not work...
    What you have to do is save the uploaded file content on to a location and then pass the fileName as a request parameter to a deidicated which displays the contents of that file.
    Just as an example
    <html>
    <head>
    <title>File Upload Display</title>
    </head>
    <body>
    <%
    //ServletOutputStream sout=response.getOutputStream();
    StringBuilder strBuilder = new StringBuilder();
    int count=0;
    String f;
    f=request.getParameter("filedb");
    DBManager dbm = new DBManager();
    //dbm.createTable("mms3");
    //log.info("In JSP : "+ f);
    //dbm.insert_data(f,"mms3");
    %>
    <%
    if (ServletFileUpload.isMultipartContent(request)){
    ServletFileUpload servletFileUpload = new ServletFileUpload(new DiskFileItemFactory());
    List fileItemsList = servletFileUpload.parseRequest(request);
    strBuilder.append("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>").append('\r').append('\n').append("<xpage version=\"1.0\">").append('\r').append('\n');
    String optionalFileName = "";
    FileItem fileItem = null;
    Iterator it = fileItemsList.iterator();
    ServletOutputStream outputStream=null;
    while (it.hasNext()){
       FileItem fileItemTemp = (FileItem)it.next();
    %>
    Name-value Pair Info:
    Field name: <%= fileItemTemp.getFieldName() %><br/>
    Field value: <%= fileItemTemp.getString() %><br/>
    <%
    if (fileItemTemp.getFieldName().equals("filename"))
        optionalFileName = fileItemTemp.getString();
    if(!fileTempItem.isFormFiled()){
       String fileName = fileItem.getName();
       fileItem.write(optionalFileName);
    %>
    Uploaded File Info:
    Content type: <%= fileItem.getContentType() %><br/>
    Field name: <%= fileItem.getFieldName() %><br/>
    File name: <%= fileName %><br/>
    <%
    if(fileItem.getContentType().equals("image/jpeg") || fileItem.getContentType().equals("image/pjeg")) {
    %>
      <img src="FileServlet?fileName=<%=optionalFileName%>"   
    <%
    %>
    </body>
    </html>a sample code snippet for FileServlet.
    String fileName =  request.getParameter(fileName);
      File file = new File(fileName);
       if(!file.exists())
         return;
      // If JSP
      String mimeType = application.getMimeType("fileName");
           If you are using servlet
           String mimeType = this.getServletContext().getMimeType(fileName);
         response.setContentType(mimeType);  
         response.setHeader("Content-Disposition","inline;filename=\\"+fileName+"\\");
      BufferedOutputStream out1 = null;
      InputStream in = null;
      if(mimeType == null)
         mimeType = "application/octet-stream";
      try{
         in = new FileInputStream(f);
         response.setContentLength(in.available());
         BufferedOutputStream out1 = new BufferedOutputStream(response.getOutputStream(),1024);
         int size = 0;
         byte[] b = new byte[1024];
         while ((size = in.read(b, 0, 1024)) > 0)
            out1.write(b, 0, size);
      }catch(Exception exp){
      }finally{
          if(out1 != null){
             try{
                out1.flush();               
                out1.close();
             }catch(Exception e){}
          if(in != null){
            try{in.close();}catch(Exception e){}
      } Hope that might answer your question :)
    However,this is not the recommended way of doing this make use of MVC pattern.Would be a better approach.
    you might think of googling on this and can findout what is the best practise followed for problems of this sort
    REGARDS,
    RaHuL

  • Unable to get the filename from file upload UI element

    Hi,
    I added a FileUpload UI element.
    I created an attribute of type resource , assigned to the resource property of the file upload element.
    I created an action button called upload and added the following code.
    try {
           IWDResource resource = wdContext.currentContextElement().getFileupload();
          } catch (Exception e) {
             e.printStackTrace();
    when I debug to see the value of resource it is null.
    Please let me know where I am going wrong.
    Regards,
    Narayani

    Hi,
    Check if there are any space characters in your uploading path (file path).
    First try to upload a file without any space characters in the uploading path(file path). If the problem is with the space characters then use the below encoding & decoding to resolve that issue.
    Encoding while uploading the file:
    // Getting the file resource
    IWDResource resource = element.getCtx_va_FileResource();
    //Getting the resource name
    String resourceName = resource.getResourceName();
    //Encoding the resource name
    String encoderesourceName = java.net.URLEncoder.encode(resourceName,"UTF-8");
    Again while downloading you can use decoder.
    Hope this helps to resolve your issue.
    See this below link.
    Re: File Upload Problem
    Try this encoding even if there are no space characters.
    Regards,
    Charan

  • File Upload UI element is not working properly inside Table Popin container

    Hi Expert,
    I created a table with popin, i placed file-upload UI element inside table popin contatiner.
    The file upload UI element is displaying properly but, when i click the browse button to select  the file, the file open dialog box is not popping out.
    will table popin support file-upload UI element inside it?
    it not is there any other way to call a file_open dialog box from inside the table popin.
    Thanks,
    James

    If you are on NetWeaver 7.01, you can try both the ACFUpDownload UI element or try creating your own FileUpload in Adobe Flex with Flash Islands.  ACFUpDownload requires the KPRO by default (which is why the same application isn't working for you), but you can write your own handler class to act as the KPRO receiver.  Here is an eLearning on the topic:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
    and source code:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70645070-bb00-2c10-f086-f126721acdb4
    If you want an eLearning on the FlashIslands approach, you can find it here as well:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d42644-91ef-2b10-228c-9e0ae75b274e
    and Source Code:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f044b62c-90ef-2b10-64a6-9ec25294d133
    However in both of these approaches you still have to be careful with how you handle large files.  The problem is that they are processed often a single binary string.  This makes the processing easy, but requires total amount of session memory at least as large as the file being uploaded.  In NetWeaver 7.02 ABAP adds the concept of Streams and Locators to help with the partial processing of large files.  This feature doesn't come until later this year, but if you are interested you can learn about it here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f983df-213e-2c10-ba89-b5a12ef178e8

  • File Upload applet not opening in Query Mode

    File Upload Applet is opening in Query Mode in Siebel 7.5, where as in Siebel 7.8 its not opening in Query Mode.
    Should anything be changed in CFG? or siebel restricted this?

    Hi,
    There is a property called "Auto Query Mode" in the applet. Check whether this has been set to "New Query" in 7.5. If so the applet will be opening in Query Mode automatically. If this property is blank, in 7.8, the applet will not be opening in Query mode. Check and let me know.
    Regards,
    Joseph

  • Threading problem during File Upload with Apache faces upload tag

    First I am going to tell you "My Understanding of how JSF Apache Upload works, Correct me if i am wrong".
    1) Restores View (to show Input box and Browse button to facilitate users to select a file for upload)
    2) Translates Request Parameters to Component Values (Creates equivalent components to update them with request values).
    3) Validates Input(Checks to see whether the User has input the correct file)
    4) Updates Backing Bean or Model to reflect the values.
    5) Renders response to user.
    I am uploading huge files of sizes 400MB and above with the help of JSF apache extensions tag
    <h:form id="uploadForm" enctype="multipart/form-data">
    <x:inputFileUpload style="height:20px;" id="upload" value="#{backingbean.fileContents}" storage="file" size="50" />
    </h:form>
    In the backing bean
    private UploadedFile fileContents;
         public UploadedFile getFileContents() {
              return fileContents;
         public void setFileContents(UploadedFile fileContents) {
              System.out.println("File being uploaded...");
              this.fileContents = fileContents;
    Since, the file size is so huge, I am using temp folder to use for the apache tag instead of memory.
    In web.xml i am using like this
    <filter>
    <filter-name>ExtensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
    <init-param>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>600m</param-value>
    </init-param>
    <init-param>
    <param-name>uploadThresholdSize</param-name>
    <param-value>10m</param-value>
    </init-param>
         <init-param>
    <param-name>uploadRepositoryPath</param-name>
    <param-value>/uploadfolder/</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>ExtensionsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    The upload process is working perfectly fine.
    Now coming to the problem:
    Suppose one user is logging into the application & uploading say 400MB of files.
    Until these files are linked to the model objects as my understanding of step 2, if second user tries to open the application he gets stuck with the loading page.
    The page gets loaded only after the request files are linked to the component values(Step 2 above) and updates the backing bean's values.
    I don't see any error in the logs. User is getting stuck. The user is getting stuck only when uploading the files. The other operations like searching are not blocking any other activities performed by the user.
    Server used: IBM Application Server V6.0. CPU is normal, memory usage is normal.

    Dear friend,
    i am also trying to upload using the common file upload.
    when try to run the file error is coming
    can give some suggestion.
    can i use if concurrent user file upload at a time

  • File Upload element Problem

    Hello All,
    We have a problem regarding the File Upload button in Webdynpro.
    when we upload a file using this element and goto another view and comeback, the upload element is not showing any filename.
    But when debugged, the fileupload context node still has the data. Just it is not showing in the UI.
    Is it an existing problem with File Upload? Or do we have to do anything to make the filename visible.
    Thanks,
    Anand

    Hi,
    this works as designed, see the section on browser details <a href="http://help.sap.com/saphelp_nw70/helpdata/en/b3/be7941601b1d09e10000000a155106/frameset.htm">here</a>
    Regards, Heidi

Maybe you are looking for

  • HP pavilion dv6 no longer working

    Hi there So i have just purchased an HP pavilion dv6 about a week ago. When i first got it the Cyberlink Webcam was working fine but then it just decided to not work. When i open the Cyberlink Webcam programme it just says 'webcam not dectected'. i d

  • Can some guys give me hands for the installation?

    I tried to install Scientific linux 5.3(kernel is over REDHAT 2.6.) and oracle 10g for linux on AMD machine(64bit multi cores). Matter is that, in porting the oracle on the Scientific linux after completing the steps required before, there came some

  • Can any one tell me how to enable metadata API in salesforce developer acc?

    hi, i'm new to salesforce. i've just registered as a developer user in that site. can anyone tell me how to enable metadata API in my account. then only i can able to develop projects. plz help

  • SAP Smartforms

    Hi All, In My Smart Form i want to print the date and Amount As per the Ship To Country , i use the SET COUNTRY command but i am not getting that as Per the Country , So please tell me how can i do that . Thanks Himanshu Sharma

  • PL/SQL I need to find the data for practice

    Please don't laugh at my question, since it is sort of nieve question. I had bought a call Oracle database 10g pl/sql programming so that I can practice on my laptop by installing the express edition. I installed oracle express edition and hard coded