meta data for this page
Resolving CORS issues with N4V for Webi in Tomcat
Anonymised summary of support ticket #914234 (2025-04-14)
Symptom
CORS (Cross-Origin Resource Sharing) errors preventing proper functionality of N4V extensions in SAP BusinessObjects Web Intelligence when accessed via Tomcat.
Environment
N4V for Webi extension deployed in Tomcat server hosting SAP BusinessObjects Web Intelligence.
Resolution
- Configure Tomcat's CORS filter by adding the following lines in the Tomcat configuration file (e.g., web.xml or server.xml):
- Set the CORS filter to allow all origins by using '*' in the allowed origins configuration.
- Clear the Tomcat cache after applying the changes.
- Restart the Tomcat server to apply the new CORS settings.
Other resolution
If the issue persists, verify that the CORS filter is correctly applied and that no conflicting configurations exist in the Tomcat or N4V settings.