Previous Topic: How Access to a Data Source WorksNext Topic: Edit an ASCII Encoded File


How to Create a Configuration File

To define a data source (an CA Endevor SCM instance) to Web Services, you must create a data source configuration (.cfg) file. This file includes configuration and connection information about this CA Endevor SCM instance. More than one configuration file can be defined and in use at the same time. The Web Services initialization process scans all .cfg files located in the webapps/endevor folder. Only valid .cfg files are activated.

Follow these steps:

  1. Use the supplied .cfg file (ENDEVOR.cfg) as a template or create your own configuration file manually in an editor. This file is coded as an XML document. If the file contains errors, Web Services will not activate it. For more information, see the V16 Data Source Configuration File Template.

    Important: The .cfg file is ASCII coded. For more information, see Edit an ASCII Encoded File.

    If you are using the supplied ENDEVOR.cfg file template, you must modify the HostName and JobName parameters. Also, you should edit the Comments parameter specific for your installation. Review the other parameters and, if needed, change them to your preferences. For more information, see ENDEVOR.cfg Parameters. All other parameters can be left as defined.

  2. Rename the .cfg file to match the value of the Name= parameter coded in the configuration file. The client web service application uses this name to refer to the data source repository.
  3. Deploy the file to the following location on your web server: /cai/CADeploy/ESCM/tpv/tomcat/webapps/endevor