Following error is encountered while updating License of CAST MS using CLI CAST-MS-CLI.exe
Internal error occurred.
The application is closing. Call CAST support now providing the log file at C:\Users\XXXX\AppData\Local\Temp\2\CAST\CAST\7.3\CAST-MS1.log.txt
com.castsoftware.java.MessageRuntimeException:Internal error occurred.
The application is closing. Call CAST support now providing the log file at C:\Users\125565\AppData\Local\Temp\2\CAST\CAST\7.3\CAST-MS1.log.txt
com.castsoftware.java.IOMonitor.fail(IOMonitor.java:252)
com.castsoftware.java.IOMonitor.throwGeneralError(IOMonitor.java:194)
com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:251)
com.castsoftware.mda.run.ConfiguredApplication$2.call(ConfiguredApplication.java:1)
com.castsoftware.util.logger.Logging.execute(Logging.java:491)
com.castsoftware.util.logger.Logging.runInNewContext(Logging.java:383)
com.castsoftware.mda.run.ConfiguredApplication.run(ConfiguredApplication.java:227)
...
The delivery folder is already set.
com.castsoftware.mda.validations.ValidationException:The delivery folder is already set.
com.castsoftware.mda.validations.ValidationQuery.<init>(ValidationQuery.java:44)
com.castsoftware.mda.validations.ValidationQuery.<init>(ValidationQuery.java:55)
com.castsoftware.mda.transactions.SectionAction.runInternal(SectionAction.java:37)
com.castsoftware.mda.transactions.Section.runInTransaction(Section.java:192)
com.castsoftware.mda.transactions.Section.run(Section.java:137)
...
Return value: 1000
Release | Yes/No |
---|---|
8.3.x |
RDBMS | Yes/No |
---|---|
CSS |
Try to set the Management Service schema license key with command as shown below:
CAST-MS-CLI.exe ConfigurePlatformPreferences -connectionProfile "xxxxx_mngt on CastStorageService _ YYYXXX:2280" -licenseKey "xxxxx" -sourceDeliveryFolder "C:\CAST\Delivery" -sourceDeploymentFolder "C:\CAST\Deploy" -logRootPath "C:\CAST\Log"
The command mentioned in step by step scenario, is used to set the License as well as Delivery and Deployment Folder of CAST MS.
The error in question is encountered if the Deliver and Deployment folder is already set.
Since delivery and deployment folder is already set, so the solution is to
Only update the license and not delivery and deployment folder with below comment.
CAST-MS-CLI.exe ConfigurePlatformPreferences -connectionProfile "<profile>" -licenseKey "<xxxxx>"
Impact of error : License key is not set
Impact of solution: None