====== Troubleshooting RESTful Web Services logon failure after Tomcat cache clearing in N4V for Webi ====== //Anonymised summary of support ticket #150070 (2025-01-17)// ===== Symptom ===== %%After modifying the Tomcat server.xml configuration file for N4V and clearing the Tomcat cache, users encounter the error 'Logon failed for RESTful Web Services. Contact system administrator.' in SAP BusinessObjects Web Intelligence. Browser console (F12) also shows multiple 'non-HTTPS cookie cannot be set as secure' warnings and XML parsing errors related to i18n properties files.%% ===== Environment ===== SAP BusinessObjects Web Intelligence 4.3 with N4V extensions, Tomcat application server. Issue observed across multiple environments (dev, stage, prod). ===== Resolution ===== - %%Verify that the Tomcat server.xml configuration changes for N4V are correctly applied and compatible with the current SAP BO Webi version. Revert any non-essential modifications to the default configuration.%% - %%Ensure HTTPS is properly configured in Tomcat for secure cookie handling. Update the server.xml file to enforce HTTPS for all cookies by adding the 'secure' attribute to cookie settings.%% - Clear the Tomcat cache again after applying configuration changes. Restart the Tomcat service to apply updates. - Check the N4V configuration files for any references to RESTful Web Services endpoints. Ensure these endpoints are accessible and correctly configured in the N4V settings. - %%Review browser console logs for additional errors. If non-HTTPS cookies are still rejected, enforce HTTPS at the web server level (e.g., Apache, IIS) in front of Tomcat.%% ===== Other resolution ===== %%XML parsing errors and JavaScript errors (e.g., 'setWebiLinked is not defined', 'Illegal constructor') may indicate corrupted or missing static resources. Verify the integrity of N4V and SAP BO Webi static files in the Tomcat webapps directory. Re-deploy the N4V WAR files if necessary.%%