Description
Here is what we ran:
- Go to http://qa-aem65-auth.corp.global:4502/etc/acs-tools/vlt-rcp.html
- Click on Add Task
- Set the Task Id to any name as long as it doesn’t match another defined task
- Set the Source to http://aem-assets-sandbox1-auth.corp.global:4502/crx/server/crx.default/jcr:root/content/dam/maintenance
- Provide a username / password for the source instance
- Set the Destination of where the nodes need to be copied to. /content/dam/maintenance
- Set Recursive to Yes
- Leave update, Only newer, and No ordering set as No
- I typically set the batch size to something small like 10
- I typically set the Throttle to 5
- 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