Configure Publishing Behavior

For publish jobs, you can define how CA TDM Portal processes batches, and what to do with already processed batches if an error occurs. The settings in the application.properties file are global and apply to all publish jobs. The settings in the CA TDM Portal are per publish job. 
tdm49
For publish jobs, you can define how CA TDM Portal processes batches, and what to do with already processed batches if an error occurs. The settings in the application.properties file are global and apply to all publish jobs. The settings in the CA TDM Portal are per publish job. 
Follow these steps:
  1. Navigate to the directory where you installed the CA TDM Portal, and open the
    conf
    subdirectory.
  2. Locate and open the
    application.properties
    file in a text editor.
  3. Define what CA TDM Portal does if an error occurs during publishing.
    tdmweb.publish.actionOnError=exit|rollback
    • exit
       — Specifies that any records already published to the target database remain in the target database.
    • rollback
       — Specifies that any records already published to the target database are rolled back.
      Default: exit
  4. Specify how CA TDM Portal inserts records into the target database.Note: This parameter is effective only if the target database supports batch inserts, and if the 
    actionOnDuplicate
     parameter for the publish job (See Publish Data Using the CA TDM Portal) is set to the default value of "exit". 
    tdmweb.publish.batchCommit=false|true
    • true
      — Specifies that records are inserted in batches in the target database.
    • false
      — Specifies that records are inserted individually to the target database.
      Default: false
  5. Define the batch size.
    Note: This parameter is only effective if the parameter tdmweb.publish.batchCommit is set to true.
    tdmweb.publish.iterationsBeforeCommit=
    n
    • n
      — Specifies the number of iterations before a batch is committed to the target database.
      Default: 1. This means, commit after each iteration.
      Limits: If you specify a value greater than the repeat count, it defaults to a value equal to the repeat count, and one commit will be done after it completed all iterations. If you specify a value less or equal to 0, it defaults to 1.
  6. Save the application.properties file.
  7. Restart the CA TDM Portal service.