Symptoms
the following error is displayed in the server configuration window:The following errors are observed in the catalina logs:WARNING: Unable to recover the list of modules for server '<srm hostname>'!com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: UnauthorizedWARNING: Unable to recover instance of module 'module-manager'com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
Cause
This issue is observed when the server configuration is missing either the username or password.
Resolution
To resolve the issue, make sure the server configuration contains both the username and password for the admin user. Save the server configuration and make sure the server connection is established without errors.
Related Information
if there was a recent password change using central configuration repository this will not necessary change the webservice-gateway admin user's password. To ensure the password is changed in the webservice gateway do the following:
Make sure the admin password is first changed in Webservice-gateway for the admin user (this will ensure the password configured for the SP s matches the password for the admin user)
Use the crypt-password.sh utility to generate a new hash:
APG/bin/crypt-password.sh newpassword
This will generate the hash that needs to be copied over in the APG/Tools/Webservice-Gateway/Default/conf/users file
To change the password across all the solution packs, you need to use the central configuration repository /Webservice-Gateway and select the Webservice gateway for all of the solution packs