Technote (troubleshooting)
Problem(Abstract)
There is an exception in the SystemOut.log file after installing the PlantsByWebSphere Sample application, and restarting WebSphere Application Server.
Symptom
If IBM WebSphere Application Server security is enabled, you will see the following exception in the <WAS Install Dir>/profiles/<profile name>/logs/<server name>/SystemOut.log file after installing the PlantsByWebSphere Sample application and restarting WebSphere Application Server:
UnixRegistryI E SECJ0351E: Could not get the uniqueId of the user Everyone due to the following exception com.ibm.ws.security.registry.unix.UnixRegistryException: not a valid user
Cause
The messages in the log are caused by WebSphere Application Server attempting to assign the SampAdmin role to the Everyone user, which does not exist.
Resolving the problem
1. Run the following Jython command in the wsadmin command line tool:
-
AdminApp.edit('PlantsByWebSphereEAR-1.1.1','[-MapRolesToUsers [["SampAdmin" Yes No "" ""]]]')
AdminConfig.save()
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.