VERIFIED SOLUTION i

Resolve "External Properties File not found or expected properties not found within file" error occurred during execution of delete-old-version batch in EngageOne Server

Issue

When running the delete-old-version batch utility, below error occurred: 

1731 [main] INFO com.pb.viewpoint.common.config.PropertiesFile - External properties file 'null' does not exist 
1731 [main] WARN com.pb.viewpoint.common.config.ViewpointProperties - External Properties File not found or expected properties not found within file. 
1731 [main] ERROR com.pb.config.iface.ws.client.ConfigAPIWS - No config.service.endpoint property defined. 

Cause

Possible root causes could be:
  • 'Properties' File not present on the specified path
  • User running .bat file not being administrator
  • Command prompt not launched using elevated privilege (i.e using 'Run as Administrator')

Resolution

UPDATED: November 3, 2017
Ensure:
1) 'Properties' File to be present on the specified path.
2) User running .bat file being administrator and command prompt is launched using elevated privilege (i.e using 'Run as Administrator').