====== Troubleshooting N4V FOR WEBI extension deployment in HTTPS environment ====== //Anonymised summary of support ticket #194754 (2025-02-10)// ===== Symptom ===== %%The N4V FOR WEBI extension fails to load in SAP BusinessObjects Web Intelligence when HTTPS is enforced, despite working correctly in HTTP. The issue persists even after modifying server.xml and web.xml configurations, with errors such as 'com.sap.json.JSONException: A JSONObject text must begin with '{' at character 0' appearing in logs.%% ===== Environment ===== %%SAP BusinessObjects Web Intelligence (Webi) with N4V FOR WEBI extension, deployed on Apache Tomcat. HTTPS is enforced via SSL/TLS configuration in Tomcat (server.xml).%% ===== Resolution ===== - %%Verify SSL/TLS configuration in Tomcat's server.xml: Ensure the keystore (JKS or PKCS12) is correctly referenced and the SSL connector is properly configured (e.g., protocol='org.apache.coyote.http11.Http11NioProtocol', SSLEnabled='true', scheme='https', secure='true').%% - Check certificate chain: Ensure the keystore contains the full certificate chain (including root and intermediate certificates) and that the alias matches the one used in the configuration. - %%Modify web.xml security constraints: Add exclusions for the N4V extension paths (e.g., /N4VCustomElements/*) to allow both HTTP and HTTPS access. Example: N4V Extension /N4VCustomElements/* CONFIDENTIAL %% - Clear browser and application caches: After configuration changes, clear the browser cache and restart Tomcat to ensure changes take effect. - Test with a JKS keystore: If using a PKCS12 certificate, consider converting it to JKS format using keytool for better compatibility with Tomcat. - Validate Tomcat listener ports: Ensure the HTTPS listener (e.g., port 8443 or 443) is correctly configured and not conflicting with other services. ===== Other resolution ===== %%If the issue persists, enable debug logging in Tomcat to capture detailed SSL/TLS handshake errors. Check Webi logs for JSON parsing errors related to the extension declaration.%%