!--a11y-->
Creating a Domain and Track in the CMS 
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 the domain name and the CMS name are stored in the SLD. You can assign the domain name and the CMS name once only. If you specified the name Tst already in another example, you must first delete the domain data in the SLD.

Use only one- to three-character names for the domain name.
To create a domain in the CMS, proceed as follows:
...
1. In the browser, start the CMS Web interface with the following URL:
http://<host>:5<SID>00/webdynpro/dispatcher/sap.com/tc~SL~CMS~WebUI/Cms
Replace <host> with the name of the host on which you have installed the JDI. Replace <SID> with the SAPSYSTEM number in the start profile 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<SID>
2. The logon screen appears. Log on with the Admin user that you created in the Creating Users and Roles step. The Change Management Service Landscape Configurator appears; you are on the Domain Datatab 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 have already created a new domain and only want to download a new software component from the SLD, on the Domain Data tab page choose Download Software Components from SLD.
3. On the Domain Data tab page, enter the following data:
Domain Data |
Value |
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. |
Domain Name |
Tst |
Domain Description |
Tst |
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. |
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. |
CMS User |
CMSadm |
Password |
The password that you assigned to the CMSadm user in the previous step. |
Choose Save Domain. The CMS switches to the Track Data tab page and you see the message Your data has been saved.
...
1. To create a track, enter the following data:
Track Data |
Value |
Track Name |
APPL |
Track Description |
Track for Software Component Application |
Repository Type |
DTR |
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. |
CIM Namespace |
sld/active |
Development Configuration |
APPL |
Development Configuration Description |
Development Configuration for Software Component Application |
2. Above the Software Components for Development table, open the Add Software Component tray.
3. In the Name dropdown menu, select the Application software 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 Component. The Application software component is inserted in the table.
4. Above the Required Software Components table, open the Add Software Component tray.
Select the following software components and add them to the table:
¡ SAP_BUILDT, Release 6.30
¡ SAP_JTECHS, Release 6.30
¡ SAP-JEE, Release 6.30
5. Switch to the Runtime Systems tab page.
6. Open the Add/Delete Runtime Systemstray.
7. In the dropdown menu, select the Development system and choose Add Runtime System. The new tab page Development appears.
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: Number of the port through which the SDM is addressed (for example, 5<SID>18).

The default port of the SDM is 18. If you changed the port settings during the installation, you must change the port number accordingly.
Choose Get Runtime System. The deploytime substitution parameters for the selected runtime system appear.
9. In the same way, add the runtime systems Test and Production.
10. Choose Save Track. The message Track created successfully appears.
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 development and consolidation of the resources and the respective workspaces in the DTR. The CMS also generates the required build spaces in the CBS for a central build of the software component.
By defining runtime systems, you have already determined the J2EE Engines in which you can integrate, test and use any new changes to the application.
