Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-1403

Size limitation importing content via web services

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 3.2 R
    • Fix Version/s: 3.4.5
    • Component/s: Web Services API
    • Labels:
      None
    • Environment:
      OS: RHEL, App Server: Tomcat, DB: Oracle
    • Bug Priority:
      Category 2
    • ACT Numbers:

      15024-25606

      Description

      Customer has issues importing content to alfresco using web services with files larger than 50MB. The customer uses Axis 1.4 for it's framework and mentions that axis 1.4 has a bug that causes memory problems, because it encodes base64Binary incorrectly. I'm attaching the code snippet that the customer is providing. Customer mention that putting the cmlWrite of a 100MB file should allow you to replicate the problem.

      Below is the code sent by the customer:

      CML cml = new CML();
      CMLCreate create = new CMLCreate("ref", parentRef, null, null, null, product.getType(), product.getProperties());
      cml.setWriteContent(new CMLWriteContent[]

      {cmlWrite}

      );
      cml.setCreate(new CMLCreate[]

      {create}

      );
      cml.setAddAspect(getCMLAspects(product, "ref"));
      UpdateResult[] update;
      try

      { update = WebServiceFactory.getRepositoryService().update(cml); return update[0].getDestination().getUuid(); }

      catch (RepositoryFault e)

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                dalmazan David Almazan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 7 hours, 30 minutes
                  2d 7h 30m

                    Structure Helper Panel