Appreciations accepted

Vladlen Litvinov, the author: If you have some job offer for me, I'm ready to discuss it. View Vladlen Litvinov's profile on LinkedIn

Password

Friday, December 21, 2012

The 'TWSecurityProviderUsers' entity was not found.




After deployment of BPM clustered environment there are a lot of messages with this error in logs:
com.ibm.websphere.wim.exception.EntityNotFoundException: CWWIM4001E The 'TWSecurityProviderUsers' entity was not found.

At first, BPM clustered environment uses a default file-based user registry.
You need to enable both the file user registry and the process database user registry at your environment.

1. Stop all node agents and servers previously.

2. cd <WAS_DM_INSTALL_ROOT>/bin

3. Execute:

./wsadmin.sh -conntype none -f <WAS_DM_INSTALL_ROOT>/BPM/base/profile/actions/scripts/switchToCustomSecurityProvider.py -adminUserName <username> -adminPassword <userpassword> -nodeName <nodename*> -serverName <servername**>

* The name of one of the managed nodes (not DM!)

** The name of the APPTarget server on this node.

Do it only once per deployment manager, synchronize all nodes and restart the environment and DM after this action!

! But if you don't want to use BPM internal security provider - simply create the group TWSecurityProviderUsers using WAS ISC: Users and Groups > Manage Groups.
After that, resynchronize all nodes and restart the environment.

2 comments: