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

export acp commandline fails with vti module installed

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 4.1.3
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      Win, Tomcat, postgresql, v4.1.3
    • Bug Priority:
      Category 4
    • ACT Numbers:

      64982

      Description

      Using the commmandline acp export fails when the vti module is deployed.

      Test case scenario:

      • assume install is located D:\Alfresco
      • database is running but Alfresco application has not been started
      • navigate to the D:\Alfresco\tomcat\webapps\alfresco\WEB-INF directory
      • run the following acp export tool command line for exporting users:

      d:\Alfresco\tomcat\webapps\alfresco\WEB-INF>java.exe -Xms1024m -Xmx2048m -Xss96k -XX:MaxPermSize=160m -classpath d:/alfresco/tomcat/lib/;d:/alfresco/tomcat/endorsed/;lib/*;classes;d:/alfresco/tomcat/shared/classes; org.alfresco.tools.Export -user admin -pwd 123 -store user://alfrescoUserStore -verbose users.acp

      • results expected > users.acp export file generated and cmd window provides feedback/log during and will end with for example:

      Exporting namespace http://www.jcp.org/jcr/1.0 (prefix
      Exporting namespace http://www.alfresco.org/model/emai
      server)
      Exporting namespace http://www.alfresco.org/model/cale
      Exporting namespace http://www.alfresco.org/model/sync
      Exporting namespace http://www.alfresco.org/model/rule
      Exporting namespace http://www.alfresco.org/model/data
      Exporting namespace http://www.alfresco.org/model/user
      Exporting namespace http://www.alfresco.org/model/appl
      Exporting namespace http://www.alfresco.org/model/dict
      Exporting namespace http://www.alfresco.org/system/mod
      Exporting namespace http://www.alfresco.org/model/audi
      Exporting namespace http://www.alfresco.org/model/blog
      lg)
      Exporting namespace http://www.alfresco.org/model/publ
      x: linkedin)
      Exporting namespace http://www.alfresco.org (prefix: a
      Exporting namespace http://www.alfresco.org/model/cmis
      Exporting namespace http://www.jcp.org/jcr/mix/1.0 (pr
      Exporting namespace http://www.alfresco.org/model/bpm/
      Exporting namespace http://www.alfresco.org/system/reg
      Exporting namespace http://www.alfresco.org/model/wcmw
      )
      Exporting namespace http://www.alfresco.org/model/acti
      Exporting node user://alfrescoUserStore/6ff42beb-12cd-
      Exporting node user://alfrescoUserStore/1ccc9ef5-60ec-
      Exporting node user://alfrescoUserStore/c78340ec-ab73-
      Exporting node user://alfrescoUserStore/eedbc083-548e-
      Exporting node user://alfrescoUserStore/7b6c2624-aec7-
      Time to execute 0.17651871 seconds
      Alfresco Repository Exporter successfully completed.

      • Actual results - no export, attached 'org.alfresco.tools.Export.log' is example error messages

      Workaround: disable the vti module by commenting out the import resource in the

      {tomcat}

      /webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/module-context.xml file:

      For example:

      <beans>
      <!-- <import resource="classpath:alfresco/module/org.alfresco.module.vti/context/*-context.xml"/> -->
      </beans>

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                jsoria Jennie Soria [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 hours
                  2h

                    Structure Helper Panel