How to configure clustering for N4V FOR WEBI in SAP BusinessObjects Web Intelligence

Anonymised summary of support ticket #414213 (2026-03-18)

Symptom

Clustering configuration for N4V FOR WEBI fails with a JSON syntax error when starting PM2 with the apps_need4viz.json file. The error indicates a missing comma in the JSON structure, preventing the file from being parsed correctly.

Environment

N4V FOR WEBI extension for SAP BusinessObjects Web Intelligence (BO2025 or earlier versions), running on Windows with Node.js and PM2.

Resolution

  1. Stop all running PM2 processes using 'pm2 stop all' followed by 'pm2 kill'.
  2. Edit the apps_need4viz.json file located in the Node.js directory of the N4V installation. Ensure all JSON entries (including 'err_file' lines) end with a comma, except the last entry in each object.
  3. Start the PM2 processes manually with 'pm2 start apps_need4viz.json' from the Node.js directory.
  4. Save the PM2 configuration with 'pm2 save' to persist the changes.
  5. Verify that the processes are running in cluster mode by checking the PM2 list output.

Other resolution

If the Windows service for N4V was previously created, the JSON file modifications will not take effect until the service is recreated or the PM2 dump is updated. The JSON file is overwritten during upgrades, so it should not be modified directly after initial setup.