Troubleshooting
Problem
The syntax for adding a property to an entity type is different in Linux than in Windows.
Symptom
WebSphere will write to SystemOut the message CWWIM4516E The 'memberOf' property is not defined for the '[PersonAccount]' entity type.
Diagnosing The Problem
Resolving The Problem
The locations are the default values for a IBM® Maximo® Asset Management or IBM® Control Desk® Middleware installation on Linux.
- Log in as root or an administrator, or use sudo
- Enter the WebSphere administrative command line interface (wsadmin)
- Start a terminal session. Go to /IBM/WebSphere/AppServer/bin
wsadmin.sh -lang jython username=<username> password=<password>
- Add the memberOf property to the entity type PersonAccount
wsadmin>AdminTask.addIdMgrPropertyToEntityTypes ('[-name memberOf -dataType string -entityTypeNames PersonAccount]')
- This command completes with the message
CWWIM0523I The new property 'memberOf' was successfully added to the entity type '[PersonAccount]'.
- Save the configuration
wsadmin>AdminConfig.save()
- This command returns two single quotation marks ('')
- Stop Node Agent
- Go to /IBM/WebSphere/AppServer/profiles/ctgAppSrv01/bin
stopNode.sh username=<username> password=<password>
- Restart Deployment Manager
- Go to /IBM/WebSphere/AppServer/profiles/ctgDmgr01/bin
stopManager.sh username=<username> password=<password>
- When that completes
startManager.sh
- Synchronize nodes
- Go to /IBM/WebSphere/AppServer/profiles/ctgAppSrv01/bin/
syncNode.sh <fully_qualified_hostname> username=<username> password=<password>
- Start the Node Agent
startNode.sh
[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"ARM Category":[{"code":"a8m50000000CbUkAAK","label":"System Administration->Security"},{"code":"a8m50000000CbCvAAK","label":"System->System Related"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSWT9A","label":"IBM Control Desk"},"ARM Category":[{"code":"a8m500000008b3sAAA","label":"Miscellaneous Category (Portal, UI, Maximo, Install)->Misc - Maximo Base"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]
Was this topic helpful?
Document Information
Modified date:
11 March 2021
UID
swg21683851