Delivery Manager Tool - Add Version

*Purpose

This page will help you to solve problems related to the Add version feature.

For more information, refer to:

Official documentation:

*Observed in CAST AIP

ReleaseYes/No
8.3.x
8.2.x

*Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS

Action Plan

Proceed as shown below:

  1. When an issue occurs during the Add version, check first the CAST-MS.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.
2. For the error "Source Server : This feature is not available in offline mode",as shown in the following screenshot:   
   ![](https://doc-data.castsoftware.com/TG/attachments/566532257/566532256.png)  
   make sure that the file CAST-MS.l4j is not in the CAST installation folder. If it is then:
   1. Close CAST-MS.
   2. Remove the file CAST-MS.l4j
   3. Open CAST MS
   4. Add a new version
3. If issue is not resolved, open the DmtClone-<datetime>.castlog2 and check for the error. Navigate to the below pages :
4. If you do not find the information you are looking for or solution for your problem, in this page, contact [CAST Technical Support](https://help.castsoftware.com/hc/en-us/requests/new) with [Relevant Input](https://doc-legacy.castsoftware.com/display/TKBQG/CMS+Application+-+Delivery#CMSApplicationDelivery-anchor1) for CAST Technical Support to reproduce.

 

#### Relevant Input

- [Sherlock](https://help.castsoftware.com/hc/en-us/articles/203751708-CAST-Support-Tool-CST-alias-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.

 

**Notes/Comments**

**Related Pages**