This page will help you to solve problems related to the Add version feature.
For more information, refer to:
Official documentation:
- Version 8.3: DMT - Add a new version
Release | Yes/No |
---|---|
8.3.x | |
8.2.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS |
Proceed as shown below:
When an issue occurs during the Add version, check first the CAST-MS<id>.log.txt file that there is an explicit information that could explain the reason why the issue occurs. For instance :
Check in CAST MS log file :INF: 2016-10-17 18:08:13: C:\Program Files\CAST\8.0/DeliveryManagerTool/DeliveryManagerTool-CLI.exe AddVersion -application J2EE Refined Target -version My Version 5 -name My Version 7 -guid f01d5eac-9aac-4555-8f20-a47d629ec001 -copySources false -releaseDate 201610170000 -storagePath C:\SBO - CAST\CAST-MS\802\Delivey -oneApplicationMode 3e931e5a-e59f-400a-bab7-16a927fefe8a -serverUrl -logFilePath C:\xxx\Temp\Logs\3e931e5ae59f400abab716a927fefe8a\DmtClone-20161017180813.castlog2 ERR: 2016-10-17 18:08:13: An error has occurred while creating an external process ERR: 2016-10-17 18:08:13: com.castsoftware.util.logger.exceptions.LogException cast.java.runtime.createProcessIOException com.castsoftware.java.InternalException:com.castsoftware.util.logger.exceptions.LogException cast.java.runtime.createProcessIOException com.castsoftware.pmc.features.RunProcess.executeProcess(RunProcess.java:508) com.castsoftware.pmc.features.OpenDMT.executeProcess(OpenDMT.java:316) ..... .... java.lang.Thread.run(Thread.java:744) Cannot run program ""C:\Program Files\CAST\8.0/DeliveryManagerTool/DeliveryManagerTool-CLI.exe"" (in directory "C:\Program Files\CAST\8.0\DeliveryManagerTool"): CreateProcess error=267, The directory name is invalid java.io.IOException:Cannot run program ""C:\Program Files\CAST\8.0/DeliveryManagerTool/DeliveryManagerTool-CLI.exe"" (in directory "C:\Program Files\CAST\8.0\DeliveryManagerTool"): CreateProcess error=267, The directory name is invalid
The message to check in that example is
Cannot run program ""C:\Program Files\CAST\8.0/DeliveryManagerTool/DeliveryManagerTool-CLI.exe"" (in directory "C:\Program Files\CAST\8.0\DeliveryManagerTool"): CreateProcess error=267, The directory name is invalid
java.io.IOException:Cannot run program ""C:\Program Files\CAST\8.0/DeliveryManagerTool/DeliveryManagerTool-CLI.exe"" (in directory "C:\Program Files\CAST\8.0\DeliveryManagerTool"): CreateProcess error=267, The directory name is invalid
It means that the C:\Program Files\CAST\8.0\DeliveryManagerTool folder does not exist. To solve the issue, check if the folder exists, else, it means that the folder has been removed or the name has changed.- For the error "Source Server : This feature is not available in offline mode",as shown in the following screenshot:
make sure that the file CAST-MS.l4j is not in the CAST installation folder. If it is then:Close CAST-MS.
Remove the file CAST-MS.l4j
Open CAST MS
Add a new version
- If issue is not resolved, open the DmtClone-<datetime>.castlog2 and check for the error. Navigate to the below pages :
- CMS Application - Delivery - Add version - Fatal Error - An error has occurred while reading the property file localpswds dat Access is denied
- CMS Application - Delivery - Add version - Fatal Error - Failed to create temporary file for jnidispatch library - FileNotFoundException
- CMS Application - Delivery - Add version - Fatal Error - Failed to delete XXXXX - the directory may be locked by another application
- CMS Application - Delivery - Add version - Fatal Error - Invalid delivery dmtcoe
- CMS Application - Delivery - Add version - Fatal Error - No connection to server
- CMS Application - Delivery - Add version - Fatal Error - The application XXX is not binded to the Source Delivery Server
- CMS Application - Delivery - Add version - Fatal Error - The Program Delivery Manager Tool has not ended correctly- errorcode - 1000
- CMS Application - Delivery - Add version - Fatal Error - Content is not allowed in prolog
- If you do not find the information you are looking for or solution for your problem, in this page, contact CAST Technical Support with Relevant Input for CAST Technical Support to reproduce.
Relevant Input
- Sherlock Output. The option to select : Export logs, Export Configuration files. If you launch DMT via AIC Portal and your delivery has not been successful, don't run Sherlock and retrieve the DELIVERY folder manually instead, at the following location on the machine you have launched DMT: %TEMP%/CAST/CAST/DMT.
- The Plugins folder that is in the delivery folder is requested.
- Screenshot showing the issue.