com.endeca.content.core.DocumentHandlerException: javax.jcr.PathNotFoundException
While running promote content, following getting following error –
sudo -u atg ./promote_content.sh
[03.09.20 10:55:26] WARNING: Error parsing ‘class’ attribute:com.endeca.soleng.eac.toolkit.component.WorkbenchManagerComponent
[03.09.20 10:55:27] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
[03.09.20 10:55:28] INFO: Definition has not changed.
[03.09.20 10:55:28] INFO: Exporting MDEX tool contents to file MyAppen.mdex.2020-03-09_10-55-28.zip
[03.09.20 10:55:29] INFO: Exporting resource ‘http://localhost:8006/ifcr/gsadmin/v1/MyAppen’ to ‘<Endeca-installation>/apps/MyAppen/data/repository/MyAppen/MyAppen2020-03-09_10-55-29.zip’
[03.09.20 10:55:29] SEVERE: Internal Server Error (500): “javax.jcr.RepositoryException: com.endeca.content.workbench.rest.exception.GSRestServiceException: com.endeca.content.core.DocumentHandlerException: javax.jcr.PathNotFoundException: {http://www.jcp.org/jcr/1.0}created”
Occurred while executing line 15 of valid BeanShell script:
[[
12| // all nodes as JSON files. Can be used to update the Assembler.
13| // Note that these updates are “Application Specific”. You can only export nodes
14| // that represent content and configuration relevant to this Application.
15| IFCR.exportApplication();
16|
17| // Updates the config of each dgraph in the Live Dgraph cluster
18| // using the zip file written in a previous step.
]]
[03.09.20 10:55:29] SEVERE: Caught an exception while invoking method ‘run’ on object ‘PromoteAuthoringToLive’. Releasing locks. Failed with error Error executing valid BeanShell script.
When I check in ifcr.log, I see following –
09.03.2020 10:55:29.206 *ERROR* [10.70.12.110 [1583765729169] GET /ifcr/gsadmin/v1/DSWen.zip HTTP/1.1] com.endeca.content.workbench.rest.handler.GSRestHandler Couldn’t export the content :javax.jcr.PathNotFoundException: {http://www.jcp.org/jcr/1.0}created
09.03.2020 10:55:29.207 *ERROR* [10.70.12.110 [1583765729169] GET /ifcr/gsadmin/v1/DSWen.zip HTTP/1.1] com.endeca.content.workbench.rest.handler.GSRestHandler Internal Server Error.com.endeca.content.workbench.rest.exception.GSRestServiceException: com.endeca.content.core.DocumentHandlerException: javax.jcr.PathNotFoundException: {http://www.jcp.org/jcr/1.0}created
09.03.2020 10:55:29.207 *ERROR* [10.70.12.110 [1583765729169] GET /ifcr/gsadmin/v1/DSWen.zip HTTP/1.1] com.endeca.content.workbench.rest.servlets.RestServlet Internal Server Error. Failed to fetch resource /ifcr/gsadmin/v1/DSWen.zip