Error 500: com.ibm.websphere.servlet.session.UnauthorizedSessionRequestException error

You encounter an error if you are using same browser for two different applications.

Symptoms

Logging in to the WebSphere® Application Server and the Admin UI on different tabs, but in the same browser, produces the following error.
Error 500: com.ibm.websphere.servlet.session.UnauthorizedSessionRequestException: 
SESN0008E: A user authenticated as anonymous has attempted to access a session owned by user:
defaultWIMFileBasedRealm/uid=admin,o=defaultWIMFileBasedRealm

Causes

When single sign-on (SSO) is enabled on the WebSphere Application Server, the SSO uses same session for all the applications on the same browser windows in the different tabs. When you first log in to the WebSphere Application Server, the SSO took the first WebSphere Application Server session that was not applicable to the IBM® Product Master resulting in an exception.

Resolving the problem

Always use different browsers for the two applications for different sessions.