我們確實從Tridion 5.3 SP1升級到Tridion 2011 SP1。發佈階段提交部署失敗
大部分的事情工作正常。在「提交部署」狀態下出現少量頁面失敗,出現以下提及的錯誤。數據庫是SQL Server。
Phase: Deployment Prepare Commit Phase failed, Unable to prepare transaction: tcm:0-249333-66560, Unable to store
item inside current transaction, Unable to persist data entity, org.hibernate.exception.ConstraintViolationException:
could not insert: [com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could
not insert: [com.tridion.storage.ComponentMeta], Unable to persist data entity,
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], Unable
to store item inside current transaction, Unable to persist data entity,
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], Unable
to persist data entity, org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta], Unable to prepare transaction: tcm:0-249333-66560, Unable to store item inside
current transaction, Unable to persist data entity, org.hibernate.exception.ConstraintViolationException: could not
insert: [com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta], Unable to persist data entity,
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], Unable
to store item inside current transaction, Unable to persist data entity,
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta],
org.hibernate.exception.ConstraintViolationException: could not insert: [com.tridion.storage.ComponentMeta], Unable
to persist data entity, org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta], org.hibernate.exception.ConstraintViolationException: could not insert:
[com.tridion.storage.ComponentMeta]
您是否使用安裝或舊版本的示例cd_storage配置文件?也許嘗試使用該示例,並將您的數據庫設置和綁定到它? – robrtc
是的,我們使用了示例cd_storage配置並將其設置移動到了它。大部分頁面都已成功發佈。很少有頁面失敗。 – user1453602
我們還發現,當頁面上有特定的組件時,只有gettting失敗。如果我們刪除該組件(演示文稿),那麼頁面將成功發佈。 – user1453602