Transport Packages
Depending on the nature of the publish (or unpublish) action, one or more Transport Packages are created on the Content Manager side. The Transport Packages that are sent to the Content Deployer can help you determine where a publish action went wrong.
A Transport Package is one of the following types:
- Content
- PREPARE
- COMMIT
- ROLLBACK
In the Transport instructions configuration file, transaction.xml, each Transaction element also has a Control attribute, which has one of the following values:
- WAIT
- COMMIT
- PREPARE
- ROLLBACK
- Normal publishing
-
A normal (non-transactional, non-scheduled) publish action involves only one package, of type "Content", with its Control to set to COMMIT.
- Transactional publishing
-
Transactional publishing involves the following Transport Packages:
- Type Content, Control WAIT: this Package is sent to the Content Deployer and placed in the incoming folder's \zip\ subfolder on each destination.
- Type PREPARE, Control PREPARE: this Package is never sent.
- Type COMMIT, Control COMMIT: this Package is sent to the Deployer if the Content Transport Package has been deployed successfully to all servers. It results in a database commit.
- Type ROLLBACK, Control ROLLBACK: this Package is sent to the Deployer if the publish action failed on at least one server, and it causes a rollback of all publish actions for the Content Transport Package, including successful ones.
- Scheduled publishing
-
Scheduled publishing involves a number of Transport Package, divided by publish phase:
- Phase 1, type Content, Control WAIT: this Package is sent to the Content Deployer and placed in the incoming folder's \zip\ subfolder on the destination.
- Phase 1, type PREPARE, Control PREPARE: this Package is never sent.
- Phase 1, type COMMIT, Control COMMIT: this Package is never sent.
- Phase 1, type ROLLBACK, Control ROLLBACK: this Package is sent to the Deployer if phase 1 of the publish action of the Content Transport Package failed. It causes a rollback of that publish action.
- Phase 2, type PREPARE, Control PREPARE: this Package is never sent.
- Phase 2, type COMMIT, Control COMMIT: this Package is sent when the Content Transport Package was deployed successfully.
- Phase 2, type ROLLBACK, Control ROLLBACK: this Package is sent to the Deployer if phase 1 of the publish action of the Content Transport Package failed. It causes a rollback of that publish action.