Uploaded image for project: '[Archived] Enterprise 3.x'
  1. [Archived] Enterprise 3.x
  2. ETHREEOH-4181

Access denied exception when deploying via avm deployment receiver


    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2 SP1
    • Component/s: WCM
    • Security Level: external (External user)
    • Labels:
    • Environment:
      System 1 windows, tomcat, mysql
      System 2 linux, tomcat, mysql


      When a deployment to an avm deployment receiver has subdirectories and files in those subdirectories, there is occasionally an access denied exception relating to the file(s).
      The folders always get deployed correctly.

      Note this issue is intermittent, but it has been reproduced easily in Support

      Steps to reproduce:
      - Create 2 fresh instances of 3.2.0r (build 410) on two different machines (system1 and system2)
         System 1 will be the receiver and system 2 will be the source
      - On System 2, create a new web project called testB.
         - In the "Configure Recievers" section, add system 1 as a Deployment Receiver.
          - e.g. Type: Live Server, Display Name: System1, Transport Name: default, Host:
                  Port: 50500, username: admin, password: admin, Target Name: avm
         - in the admin sandbox, create folder1 and put a piece of content in it
         - Submit all the changes to staging
      - On System 1 - to work around the problem noted in ETHREEOH-4180, create a Web Project called testB-live
      - On System 2 - deploy the staging snapshot to system1
      Everything works fine - the file and folder is deployed correctly

      On System 2, create a folder structure:
         - in every folder put a simple piece of content
         - Submit the changes to staging
         - Deploy the new snapshot to System1

      Expected behaviour:
        -- All files and folders are deployed correctly

      Observed Behaviour:
        -- Deployment fails with an access denied exception

      System1 log shows :
      16:59:12,078 ERROR [org.alfresco.deployment.impl.server.DeploymentReceiverEngineImpl] error in getSendToken ticket:a8294b6d-0b43-46ac-8ecb-c76d301625c0 path:/ROOT/folder2/bertrand.txt, guid:b68375ed-9037-416c-a6e0-577f44ef3684
      org.alfresco.repo.security.permissions.AccessDeniedException: 01110004 Not allowed to read children: avm_webapps (testB-live)

      System 2 log shows:
      12:05:09,783 ERROR [org.alfresco.repo.avm.actions.AVMDeployWebsiteAction] Deployment Error
      org.alfresco.service.cmr.avm.AVMException: 01110005 Deployment exception, unable to deploy : srcPath:a--admin:/www/avm_webapps, target:avm, version:11, adapterName:default, hostName:, port:50,500, error:org.alfresco.service.cmr.avm.AVMException: 01110004 Error during deployment srcPath: a--admin:/www/avm_webapps, version:11, adapterName:default, hostName:, port:50,500, error:org.springframework.remoting.RemoteConnectFailureException: Could not connect to remote service [rmi://]; nested exception is java.rmi.ConnectException: Connection refused to host:; nested exception is:
      java.net.ConnectException: Connection timed out

      Note - this still occurs on the 3.2r build 410, but the customer uses 3.2.0e


          Issue Links




                • Assignee:
                  closedbugs Closed Bugs
                  ahunt Andrew Hunt
                • Votes:
                  0 Vote for this issue
                  1 Start watching this issue


                  • Created:

                    Structure Helper Panel