Creating a Domain and Track in the CMS

Use

In this step, you create a domain and a track in the Change Management Service (CMS). In this way, you make the development configuration for component-based development available to the SAP NetWeaver Developer Studio, and you define a transport environment. You use this transport environment to transport the software components you develop through consolidation and quality assurance to production use.

The values for Domain ID and CMS Name are stored in the SLD. You can specify the Domain ID and the CMS Name only once. If you specified the name Tst already in another example, you must first delete the domain data in the SLD.

For the Domain ID, use only names with three characters.

Creating Domains

To create a domain in the CMS, proceed as follows:

...

       1.      In the browser, start the initial page of the SAP NetWeaver Java Development Infrastructure with the following URL:

http://<host>:5<instance number>00/devinf

Replace <host> with the name of the machine on which you have installed the JDI; replace <instance number> with the SAPSYSTEM number of the J2EE Engine.

You assigned the SAPSYSTEM number when you installed the J2EE Engine. You can find this number in the file system of the J2EE Engine installation under the following path:

usr ® sap ® <system name> ® JC<instance number>

       2.      Choose the link Change Management Service. The logon screen appears. Log on with user Admin, which you created in step Creating Users and Assigning Groups. The Change Management Service Landscape Configurator screen appears; you are on the Domain Data tab page.

If you have created a track before, the CMS opens in the Transport Studio. You must then switch to the Landscape Configurator first.

If you already created a domain and only want to download a new software component from the SLD, on the Domain Data tab page choose Update CMS.

       3.      On the Domain Data tab page, enter the following data:

Domain Data

Value

CMS Name

Tst

CMS Description

Tst

CMS URL

http://<host name>:<port number>

Replace <host name> and <port number> with the host name and port of the J2EE Engine on which the CMS is installed.

CMS User

CMSadm

Password

The password that you assigned to the CMSadm user in the previous step.

Transport Directory

Enter a directory name that can be created by the CMS. On Windows, the default is C:\usr\sap\JTrans. In this case, the CMS creates the subdirectory JTrans.

Domain ID

Tst

Domain Name

Tst

Domain Description

Tst

SLD URL

http://<host name>:<port number>

Replace <host name> and <port number> with the host name and port of the J2EE Engine on which the SLD is installed.

Choose Save Domain. The message Your data has been saved appears.

Creating a Track

...

       1.      Switch to the Track Data tab page.

       2.      To create a track, enter the following data:

Track Data

Value

Repository Type

DTR

Track ID

APPL

Track Name

APPL

Track Description

Track for Software Component Application

DTR URL

http://<host name>:<port number>/dtr

Replace <host name> and <port number> with the host name and port of the J2EE Engine on which the Design Time Repository (DTR) is installed.

CBS URL

http://<host name>:<port number>

Replace <host name> and <port number> with the host name and port of the J2EE Engine on which the Component Build Service (CBS) is installed.

Development Configuration

APPL (This value is a copy of the track name and cannot be changed here.)

Development Configuration Description

Development Configuration for Software Component Application (This value is a copy of the track description and cannot be changed here.)

Development Configuration Path

APPL/1.0

       3.      In the Software Components for Development table, choose the Add SC... function. The Add Software Component dialog box appears.

       4.      In the table, select the Applicationsoftware component.

The example.org vendor and the release 1.0 appear in the appropriate fields. Leave the package type set to Source and Archive.

Choose Add. The Applicationsoftware component is inserted in the table. In accordance with the defined dependencies, the CMS automatically fills the table Required Software Components with the following software components:

Ў        SAP_BUILDT

Ў        SAP_JTECHS

Ў        SAP-JEE

       5.      Choose Close.

       6.      Switch to the Runtime Systems tab page.

       7.      Under Selected Runtime Systems, select the following runtime systems:

Ў        Development

Ў        Test

Ў        Production

       8.      Enter the following data for the Software Deployment Manager (SDM):

Ў        SDM Host Name: Name of the host on which you have installed your J2EE Engine for the central integration tests, for example, myserver.

Ў        SDM Port Number: Port number used to access the SDM, for example, 5<instance number>18.

Ў        SDM Password: The password you assigned for the SDM when you installed the J2EE Engine.

The default port of the SDM is 18. If you changed the port settings during the installation, you must change the port number accordingly.

Leave the option Disable automatic deployment unselected.

(Optional) Expand the tray View/Edit Deployment Deployment Substitution Parameters. The deployment substitution parameters for the selected runtime system are displayed.

       9.      Add the runtime systems Test and Production in the same way.

   10.      Choose  Save. The message Track created successfully appears.

Result

In the CMS, you have created a domain and a track for developing the Application software component. When creating the track, the CMS also generates the development configurations for the development and the consolidation of the resources and the corresponding workspaces in the DTR. The CMS also generates the required build spaces in the CBS for a central build of the software component.

When creating runtime systems, you already determined the J2EE engines in which you can integrate, test and productively use the latest changes to the application.