meta data for this page
How to execute a Python script on a remote server during data export in N4V for Webi
Anonymised summary of support ticket #358528 (2025-09-02)
Symptom
The user wants to execute a Python script on a dedicated server during the data export process in N4V for Webi (Data Analyzer).
Environment
N4V for Webi (Data Analyzer) with Tomcat hosting the JSP pages. Python script available on a remote server.
Resolution
- Option 1: Modify the JSP page hosted on Tomcat to call the Python script remotely via:
- - An exposed API endpoint (HTTP GET/POST using HttpURLConnection in the JSP), or
- - SSH command execution (configure Tomcat for SSH access with a private key, then execute the Python script via SSH in the JSP).
- Option 2: Move the JSP page to the remote server (if it hosts a Tomcat instance) and call it directly from N4V for Webi.