Sunday, April 24, 2016

Endeca 11.2 : Unauthorized (401): Unauthorized access to workbench

Behaviour :- Following Exception/Error comes during Endeca Application initialize services or baseline/partial indexing process. ... thumbnail 1 summary
Behaviour :-

Following Exception/Error comes during Endeca Application initialize services or baseline/partial indexing process.


<[04.20.16 22:55:48] SEVERE: Unauthorized (401): Unauthorized access to workbench. Please check your credentials in WorkbenchConfig.xml/OCS. If problem still persists, please contact your administrator.
Occurred while executing line 3 of valid BeanShell script: 
[[

1|
2|       
3|    IFCR.provisionSite();
4|    CAS.importDimensionValueIdMappings("Discover-dimension-value-id-manager", 
5|         InitialSetup.getWorkingDir() + "/test_data/initial_dval_id_mappings.csv");
6|      

]]

[04.20.16 22:55:48] 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 in WorkbenchConfig.xml/OCS. If problem still persists, please contact your administrator.


Solution :-
Above Exception comes as Endeca workbench password does not match with csfManager defined in WorkbenchConfig.xml. This happens if Endeca ifcr password is different than workbench password.

Find out command below to update Endeca CSF/OCS repository :-

Run the command manage_credentials.bat add --user admin --key ifcr under <<ToolsAndFrameworks_PATH>>/<<version>>/credential_store/bin.
 - Update the password with workbench password.
 - When it prompts to overwrite, type yes.


From Author

Was this post resolve the solution you are looking for? are you looking for some other issues?Provide your comments

No comments

Post a Comment

Note: Only a member of this blog may post a comment.

Text Widget