Endeca application initialization failed with below error.
=======================================================================
[01.23.16 10:12:03] SEVERE: Unauthorized (401): Unauthorized access to workbench. Please check your credentials.
Occurred while executing line 3 of valid BeanShell script:
[[
1|
2|
3| IFCR.provisionSite();
4| CAS.importDimensionValueIdMappings("MyStore-dimension-value-id-manager",
5| InitialSetup.getWorkingDir() + "/test_data/initial_dval_id_mappings.csv");
6|
]]
[01.23.16 10:12:03] SEVERE: Caught an exception while invoking method 'run' on object 'InitialSetup'. 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.utility.IFCRUtility$HttpStatusException
com.endeca.soleng.eac.toolkit.utility.IFCRUtility execute - Unauthorized (401): Unauthorized access to workbench. Please check your credentials.
=======================================================================
Root Cause : This happened due to ToolsAndFramework installed with password [admin@1234] other then admin.
Update ToolsAndFramework password to admin using below steps.
C:\Endeca\ToolsAndFrameworks\11.1.0\credential_store\bin> manage_credentials.bat add --key ifcr --user admin
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
23 Jan 2016 10:27:23,954 INFO CSFHandler:146 - Credential successfully updated for map : endecaToolsAndFrameworks.
C:\Endeca\ToolsAndFrameworks\11.1.0\credential_store\bin>
=======================================================================
[01.23.16 10:12:03] SEVERE: Unauthorized (401): Unauthorized access to workbench. Please check your credentials.
Occurred while executing line 3 of valid BeanShell script:
[[
1|
2|
3| IFCR.provisionSite();
4| CAS.importDimensionValueIdMappings("MyStore-dimension-value-id-manager",
5| InitialSetup.getWorkingDir() + "/test_data/initial_dval_id_mappings.csv");
6|
]]
[01.23.16 10:12:03] SEVERE: Caught an exception while invoking method 'run' on object 'InitialSetup'. 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.utility.IFCRUtility$HttpStatusException
com.endeca.soleng.eac.toolkit.utility.IFCRUtility execute - Unauthorized (401): Unauthorized access to workbench. Please check your credentials.
=======================================================================
Root Cause : This happened due to ToolsAndFramework installed with password [admin@1234] other then admin.
Update ToolsAndFramework password to admin using below steps.
C:\Endeca\ToolsAndFrameworks\11.1.0\credential_store\bin> manage_credentials.bat add --key ifcr --user admin
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
23 Jan 2016 10:27:23,954 INFO CSFHandler:146 - Credential successfully updated for map : endecaToolsAndFrameworks.
C:\Endeca\ToolsAndFrameworks\11.1.0\credential_store\bin>