When I try to export MCS configuration profiles I get an error: Failed to read property file:
Example:
E:\Nimsoft\probes\service\mon_config_service\tools>java -jar mcs-cli.jar bulk-profile-export -base_url http://10.228.84. 222/mcsws/v0 -directory E:/Test/ -groups ALL username: administrator password: 2019-05-22 17:31:44 ERROR [main] [com.nimsoft.selfservice.cli.handlers.BulkProfileExport] Failed to read property file. java.io.FileNotFoundException: C:\Users\APP-xxxx-CA-w\.mcs-cli.properties (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at com.nimsoft.selfservice.cli.handlers.BulkProfileExport.validateArgs(BulkProfileExport.java:103) at com.nimsoft.selfservice.cli.handlers.BulkProfileExport.run(BulkProfileExport.java:77) at com.nimsoft.selfservice.cli.Dispatcher.main(Dispatcher.java:64)
Environment
UIM 8.x / 9.x
Resolution
This error can be ignored as even getting this error the Profiles are exported to the defined folders anyway. To avoid this error from showing option -force can be added.