Customize UsersWithRolesDataSource data source (96 Views)
Reply
Highlighted
N/A
Posts: 53
Registered: ‎02-22-2015

Customize UsersWithRolesDataSource data source

Hi All,

 

We are using out of the box UsersWithRolesDataSource data source to populate the reviewers for production publishes. We are having an isssue with this data source. When ever teamsite user gets deleted from LDAP server, then we are seeing some missing reviewers in the list. When we debug in server.log we found the below error. We have also enabled LDAP sync script but it did not help much. I am planning to write a custom data scource by extending UsersWithRolesDataSource and handle this error with a try catch, so that reviewers wont be get missed from the list. Does anybody know in which jar file UsersWithRolesDataSource.java exists, so that I will decompile and write a custom code to handle below exception safely.

 

Error from server.log:

 

2016-07-06 09:50:28,110 INFO STDOUT ERROR 09:50:28 AccessServiceSciImpl - Error getting user data for : 202
2016-07-06 09:50:28,112 INFO STDOUT ERROR 09:50:28 UsersWithRolesDataSource - execute: error while communicating with teamsite, unable to populate user map.
com.interwoven.cssdk.access.CSInvalidUserException: Unknown Hopi error(No such user)
at com.interwoven.cssdk.sci.exception.ExceptionHandler.handleExceptionSci(ExceptionHandler.java:195)
at com.interwoven.cssdk.sci.exception.ExceptionHandler.handleException(ExceptionHandler.java:104)
at com.interwoven.cssdk.sci.access.AccessServiceSciImpl.getUserData(AccessServiceSciImpl.java:1980)
at com.interwoven.cssdk.access.java.AccessServiceAdapterImpl.getUserData(AccessServiceAdapterImpl.java:218)
at com.interwoven.cssdk.access.impl.CSUserImpl.refreshData(CSUserImpl.java:122)

 

Thanks

Vinod Goud

N/A
Posts: 53
Registered: ‎02-22-2015

Re: Customize UsersWithRolesDataSource data source

I found  /usr/Interwoven/TeamSite/lib/livesite.jar file exists this java file.

 

Thanks

Vinod Goud