Symptom
XSA cannot be started.
XSA logs show and command "XSA enable --verbose" results error:
[...]
ERROR: Service "xsuaaserver" failed to start.
com.sap.xs2rt.installation.util.InstallationException: Service "xsuaaserver" failed to start.
[...]
XSuaaserver_<X>.log shows:
[...]
Unexpected exception resolving reference
com.sap.db.jdbc.exceptions.SQLInvalidAuthorizationSpecExceptionSapDB: [10]: authentication failed
[...]
xsuaaserver.out shows:
[...]
ERROR: Initialization of the OIDC service failed with: PUT request to https://<HOSTNAME>:<port>/uaa-security-oidc/identity-providers/oidc/register failed with response code 404: <!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Not found</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>tomcat</h3></body></html>.
[...]
OR
XSA diagnose shows ::
Checking trust configuration between databases and UAA: FAILED
FAILED to get token from UAA. Caused by: REST request POST to url 'https://<HOSTNAME>:<PORT>/uaa-security/oauth/token' had response code 500 (Operation failed due to unexpected server error) with error message: '<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>'.
Run 'XSA diagnose' to check the system.
java.io.IOException: PUT request to https://<HOSTNAME>:<PORT>/uaa-security-oidc/identity-providers/oidc/register failed with response code 404: <!doctype html><html lang="en"><head><title>HTTP Status 404
Read more...
Environment
SAP HANA Extended Application Services Advanced Model
Product
Keywords
xs advanced, xs , KBA , BC-XS-RT , XS Advanced Runtime / XS Controller , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview