> promote_content.sh

[02.07.20 10:42:49] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.

[02.07.20 10:42:50] INFO: Definition has not changed.

[02.07.20 10:42:50] INFO: Exporting MDEX tool contents to file MyAppen.mdex.2020-02-07_10-42-50.zip

[02.07.20 10:42:51] SEVERE: Failed to create zip file or the key file associated with it

Occurred while executing line 8 of valid BeanShell script:

[[

5|            // The zip is written to the local config directory for the live

6|            // dgraph cluster.  A key file is stored along with the zip.

7|            // This key file keeps the latest version of the zip file.

8|            IFCR.exportConfigSnapshot(LiveDgraphCluster);

9|

10|            // IFCR exportApplication

11|            // Used to export a particular node to disk. This on disk format will represent

]]

 

[02.07.20 10:42:51] SEVERE: Caught an exception while invoking method ‘run’ on object ‘PromoteAuthoringToLive’. Releasing locks.

 

Caused by java.lang.reflect.InvocationTargetException

sun.reflect.NativeMethodAccessorImpl invoke0 – null

Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException

com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript – Error executing valid BeanShell script.

Caused by com.endeca.soleng.eac.toolkit.exception.AppConfigurationException

com.endeca.soleng.eac.toolkit.component.IFCRComponent exportConfigSnapshot – Failed to create zip file or the key file associated with it

Caused by com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException

com.endeca.soleng.eac.toolkit.utility.IFCRUtility execute – Unauthorized (401): Unauthorized access to workbench. Please check your credentials.

Fix – Reset the admin creds

>  ./manage_credentials.sh add –user admin –key ifcr

WARNING: j2sdk/bin/java does not exist

WARNING: Using local setting for java

Enter password for user admin :

Re-enter password to confirm :

Credential of type [password] already exists for this key.

Do you want to replace it [yes/no] ?yes

07 Feb 2020 10:44:55,008  INFO CSFHandler:146 – Credential successfully updated for map : endecaToolsAndFrameworks.

 

Promote content should run good now.

 

Cheers,

Mayank Batra

Leave a Reply