Friday, March 9, 2012

Resolving BCC SMI : ATG BCC

SMI : Snapshot Mismatch Issue

Anyone who has worked with the BCC has experienced the dreaded "snapshot mismatch" error when deploying a project or performing a full deployment in the BCC
If you are facing any issue with the snap shot mismatch  while deploying the Assets to Staging,Production,run the below query in the CA

select epub_target.display_name as "Target",
epub_prj_tg_snsht.snapshot_id as "Snapshot",
epub_project.display_name as "Project" from
epub_target, epub_project, epub_prj_tg_snsht
where
epub_prj_tg_snsht.project_id in
(
select project_id from epub_project where
workspace is not null and
checked_in = '1'
) and
epub_target.target_id = epub_prj_tg_snsht.target_id and
epub_prj_tg_snsht.project_id = epub_project.project_id
order by epub_project.checkin_date desc;

You will  get the latest snap shot ID for Staging and Production.

In CA Server,Go to the Component Browser,Browse to the path

http://hostname:port/dyn/admin/nucleus/atg/epub/DeploymentServer

Enter the snapshot id in the property Force snapshot ID click “init” button.
            Do the same for the Staging and Production environment .
            This will resolve the issue

No comments:

Popular Posts