Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 10 Next »

Overview

This How To describes two ways to use the CAST Delivery Manager Tool (DMT) with OpenJDK and therefore without JNLP (Java Network launch Protocol) support. The method you choose depends on the security constraints in your environment. Each method is described below.

Note that these instructions assume that an Application has been created and already exists in the Delivery folder.

Method 1 - DMT in standalone mode with network share access to the Delivery folder via a UNC path

Summary: This method does not use the CAST AIC Portal/Delivery Manager Tool via HTTP/HTTPS, instead, the CAST Delivery Manager Tool is launched on the Delivery Manager's workstation in standalone mode via CLI and will directly access the Delivery folder over a network share using a UNC path, therefore circumventing the CAST AIC Portal entirely.

Step 1

Copy the CAST Delivery Manager Tool and jre binaries from the CAST AIP installation folder over to the Delivery Manager's workstation. You will need to copy these two folders:

%PROGRAMFILES%\CAST\<version>\DeliveryManagerTool
%PROGRAMFILES%\CAST\<version>\jre

Paste these folders into an empty folder on the Delivery Manager's workstation, for example:

C:\CAST\DeliveryManagerTool
C:\CAST\jre

Step 2

Identify the UUID of the Application you are delivering source code for - this UUID is used in the command line mentioned at the end of these instructions. This UUID can be found in the following file in the Delivery folder:

Delivery\data\index.xml

For example, the UUID for the Application "MEUDON" is highlighted below:

Click to enlarge

Step 3

Launch the CAST Delivery Manager Tool in standalone mode using the following command line and proceed with the source code Delivery:

<path_to>\DeliveryManagerTool.exe -oneApplicationMode <application_uuid> -StoragePath <shared_delivery_folder_location> -logFilePath <path_to>\dmtstandalone.castlog2

For example:

c:\CAST\DeliveryManagerTool\DeliveryManagerTool.exe -oneApplicationMode c037115d-35e7-4d14-9839-31007d897ed9 -StoragePath S:\CAST\Delivery -logFilePath c:\temp\dmtstandalone.castlog2

Method 2 - DMT in connected mode with access to the Delivery folder via the CAST AIC Portal using HTTP/HTTPS protocols

Summary: This method uses the CAST AIC Portal/Delivery Manager Tool via HTTP/HTTPS but it circumvents the need for the JNLP protocol by manually copying the CAST Delivery Manager Tool binaries over to the Delivery Manager's workstation.

Step 1

Identify the UUID of the Application you are delivering source code for - this UUID is used in the command line mentioned at the end of these instructions. This UUID can be found in the address bar of the CAST AIC Portal:

Step 2

Copy the CAST Delivery Manager Tool binaries from the CAST AIC Portal deployment folder over to the Delivery Manager's workstation. You will need to copy the content of this folder, which is located on the machine hosting the application server running the CAST AIC Portal:

%CATALINA_HOME%\webapps\CAST-AICP\WEB-INF\apps\DeliveryManagerTool

Paste this content into the %LOCALAPPDATA% folder located on the Delivery Manager's workstation. You may need to create this folder structure yourself - note the required curly braces around the application UUID:

%LOCALAPPDATA%\CAST\CAST\DMT\{application_uuid}

For example: 

%LOCALAPPDATA%\CAST\CAST\DMT\{60d8f6cf-032b-49f5-8f5e-e98de13fe394}

This will give you this file hierarchy:

Step 3

Copy the plugins folder from the Delivery folder over to the Delivery Manager's workstation. You will need to copy this folder:

S:\CAST\Delivery\plugins

Paste this folder into the same %LOCALAPPDATA% folder as previously described:

%LOCALAPPDATA%\CAST\CAST\DMT\{60d8f6cf-032b-49f5-8f5e-e98de13fe394}

This will give you this file hierarchy:

Step 4

Create a file called url.dat in %LOCALAPPDATA%\CAST\CAST\DMT with the following content:

  • In the <entry key="url.1.directory"> element, paste in the UUID of Application you are delivering source code for, surrounded by curly braces
  • In the <entry key="url.1.url"> element, paste in the URL to the CAST AIC Portal

For example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
	<comment/>
	<entry key="url.1.directory">{60d8f6cf-032b-49f5-8f5e-e98de13fe394}</entry>
	<entry key="url.1.url">http://my_host_name:8080/CAST-AICP</entry>
</properties>

Step 5

Launch the CAST Delivery Manager Tool in connected mode using the following command line and proceed with the source code Delivery:

<path_to>\DeliveryManagerTool.exe -serverUrl <CAST_AIC_Portal_url> -oneApplicationMode <application_uuid> -logFilePath <path_to>\dmtconnected.castlog2

For example:

c:\CAST\DeliveryManagerTool.exe -serverUrl http://my_host_name:8080/CAST-AICP -oneApplicationMode 60d8f6cf-032b-49f5-8f5e-e98de13fe394 -logFilePath c:\temp\dmtconnected.castlog2
  • No labels