HTTP Status 500 - Incorrect result size: expected 1, actual 0


Article ID: 103870


Updated On:


CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)


Logging into Release Operations Center (ROC) with an Active Directory user redirects to the following page: http://mgmtServer:8080/datamanagement/j_spring_security_check

The result page shows the following errors:
HTTP Status 500 - Incorrect result size: expected 1, actual 0



This is related to how the file is configured which serves as a basis for how subsequent searches are done when trying to authenticate active directory users.



CA Release Automation and above.


1. Login with the user's UPN (userPrincipalName).
2. Change the user's UPN (userPrincipalName) so that it a search for the name (as described in additional info) would be found.
3. If your file is configured to point to a global catalog (usually indicated by the directory.url property pointing to either port 3268 for non-ssl or 3269 for ssl) then another option would be to define an additional domain controller for the domain that this user's userPrincipalName is associated with. For more information on how to add multiple active directory domain controllers see the following KB:

Additional Information

Example of problematic configuration and login IDs. file configured with an Active Directory domain controller:
[email protected]*******

I have a test user whose sAMAccountName is: myeastuser
This users userPrincipalName is: [email protected]

If I try to login to the ROC with myeastuser then it generates the error above. This is because we attempt to search for the user using the userPrincipalName attribute. If a login id is supplied without the userPrincipalName value then we attempt to search for it by appending "@<>". In this case it was looking for: [email protected]
But this user is not valid, although in my active directory environment it is a menu option for me to change the usersPrincipalName. This is another option if your active directory admin, the user, and whoever else is okay with making this change.