Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-581

VLT-RCP Issues on AEM 6.5

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.6
    • None
    • RCP, vlt
    • None

    Description

      Here is what we ran:

      1. Go to http://qa-aem65-auth.corp.global:4502/etc/acs-tools/vlt-rcp.html
      2. Click on Add Task
      3. Set the Task Id to any name as long as it doesn’t match another defined task
      4. Set the Source to http://aem-assets-sandbox1-auth.corp.global:4502/crx/server/crx.default/jcr:root/content/dam/maintenance
      5. Provide a username / password for the source instance
      6. Set the Destination of where the nodes need to be copied to. /content/dam/maintenance
      7. Set Recursive to Yes
      8. Leave update, Only newer, and No ordering set as No
      9. I typically set the batch size to something small like 10
      10. I typically set the Throttle to 5
      11. Click Create New Task
        Once it is saved and you are back at the list of Tasks you can click on the play button to start the task.

      Here is what I saw in the error log when I ran it.

      10.12.2021 13:22:47.102 _INFO_ [Vault RCP Task - Norm1] org.apache.jackrabbit.vault.rcp.impl.RcpTaskImpl Starting repository copy task id=Norm1. From [http://aem-assets-sandbox1-auth.corp.global:4502/crx/server/crx.default/jcr:root/content/dam/maintenance] to /content/dam/maintenance.
      10.12.2021 13:22:47.103 _INFO_ [qtp1651286619-5931] log.request 10/Dec/2021:13:22:47 -0500 [73264] <- 200 application/json 28ms
      10.12.2021 13:22:47.103 _INFO_ [qtp1651286619-5931] log.access 54.209.162.6 - admin 10/Dec/2021:13:22:47 -0500 "POST /system/jackrabbit/filevault/rcp HTTP/1.1" 200 37 "[http://qa-aem65-auth.corp.global:4502/etc/acs-tools/vlt-rcp.html]" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36"
      10.12.2021 13:22:47.146 _INFO_ [qtp1651286619-5931] log.request 10/Dec/2021:13:22:47 -0500 [73265] -> GET /system/jackrabbit/filevault/rcp?ck=1639160566959 HTTP/1.1
      10.12.2021 13:22:47.148 _INFO_ [qtp1651286619-5931] log.request 10/Dec/2021:13:22:47 -0500 [73265] <- 200 application/json 2ms
      10.12.2021 13:22:47.148 _INFO_ [qtp1651286619-5931] log.access 54.209.162.6 - admin 10/Dec/2021:13:22:47 -0500 "GET /system/jackrabbit/filevault/rcp?ck=1639160566959 HTTP/1.1" 200 9106 "[http://qa-aem65-auth.corp.global:4502/etc/acs-tools/vlt-rcp.html]" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36"
      10.12.2021 13:22:48.509 _ERROR_ [Vault RCP Task - Norm1] org.apache.jackrabbit.spi2davex.RepositoryServiceImpl Internal error while retrieving NodeInfo for [http://aem-assets-sandbox1-auth.corp.global:4502/crx/server/crx.default/jcr%3aroot/content/dam].
      java.io.IOException: Error retrieving namespace uri
      at org.apache.jackrabbit.spi2davex.ItemInfoJsonHandler.key(ItemInfoJSONHandler.java:205) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.commons.json.JsonParser.parse(JsonParser.java:108)
      at org.apache.jackrabbit.commons.json.JsonParser.parse(JsonParser.java:73)
      at org.apache.jackrabbit.spi2davex.RepositoryServiceImpl.getItemInfos(RepositoryServiceImpl.java:356) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.state.WorkspaceItemStateFactory.createNodeState(WorkspaceItemStateFactory.java:93) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.state.TransientISFactory.createNodeState(TransientISFactory.java:97) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.doResolve(NodeEntryImpl.java:990) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntryImpl.resolve(HierarchyEntryImpl.java:134) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntryImpl.getItemState(HierarchyEntryImpl.java:253) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.getItemState(NodeEntryImpl.java:71) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.hierarchy.NodeEntryImpl.getNodeState(NodeEntryImpl.java:363) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.state.ItemState.getParent(ItemState.java:213) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.state.NodeState.retrieveDefinition(NodeState.java:465) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.state.NodeState.getDefinition(NodeState.java:316) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.jcr2spi.NodeImpl.getDefinition(NodeImpl.java:857) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.vault.util.RepositoryCopier.copy(RepositoryCopier.java:315) [org.apache.jackrabbit.vault:3.2.8]
      at org.apache.jackrabbit.vault.util.RepositoryCopier.copy(RepositoryCopier.java:278) [org.apache.jackrabbit.vault:3.2.8]
      at org.apache.jackrabbit.vault.rcp.impl.RcpTaskImpl.run(RcpTaskImpl.java:277) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at java.lang.Thread.run(Thread.java:748)
      Caused by: javax.jcr.NamespaceException: Error retrieving namespace uri
      at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl$NamespaceResolverImpl.getURI(RepositoryServiceImpl.java:3435) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.spi.commons.conversion.NameParser.parse(NameParser.java:187)
      at org.apache.jackrabbit.spi.commons.conversion.ParsingNameResolver.getQName(ParsingNameResolver.java:64)
      at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl$NamePathResolverImpl.getQName(RepositoryServiceImpl.java:3516) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.spi2davex.ItemInfoJsonHandler.key(ItemInfoJSONHandler.java:201) [org.apache.jackrabbit.vault.rcp:3.5.6]
      ... 18 common frames omitted
      Caused by: javax.jcr.NamespaceException: ns1: is not a registered namespace prefix.
      at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl$NamespaceCache.getURI(RepositoryServiceImpl.java:3570) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.getNamespaceURI(RepositoryServiceImpl.java:2658) [org.apache.jackrabbit.vault.rcp:3.5.6]
      at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl$NamespaceResolverImpl.getURI(RepositoryServiceImpl.java:3432) [org.apache.jackrabbit.vault.rcp:3.5.6]
      ... 22 common frames omitted
      10.12.2021 13:22:48.509 _ERROR_ [Vault RCP Task - Norm1] org.apache.jackrabbit.vault.util.RepositoryCopier Error during copy: javax.jcr.RepositoryException: Error retrieving namespace uri
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nraby Normand Raby

            Dates

              Created:
              Updated:

              Slack

                Issue deployment