Use the Lock Conflicts page

1,157 views
Skip to first unread message

Kadinamkulam

unread,
Sep 20, 2012, 6:48:05 PM9/20/12
to atg_...@googlegroups.com
Hi,

I am getting below exception while trying to deploy and asset.

Could you please help me on resolving this issue,

Warm Regards
KdM




Caused by: atg.epub.project.AssetLockException: Failed to approve the project kdm_sku_p65149 (id: prj376010) for deployment. Unable to obtain exclusive locks to one or more assets. Use the Lock Conflicts page to determine which assets are locked by other projects.
    at atg.epub.project.ProjectMethods.acquireAssetLocks(ProjectMethods.java:2016)
    at atg.epub.project._Project_Impl.acquireAssetLocks(_Project_Impl.java:194)
    at atg.epub.project.ProjectMethods.approveDeployment(ProjectMethods.java:1851)
    at atg.epub.project._Project_Impl.approveDeployment(_Project_Impl.java:170)
    at atg.epub.workflow.process.action.ApproveProject.executeAction(ApproveProject.java:92)
    ... 115 more
SOURCE EXCEPTION:
atg.epub.project.AssetLockException: Failed to approve the project kdm_sku_p65149 (id: prj376010) for deployment. Unable to obtain exclusive locks to one or more assets. Use the Lock Conflicts page to determine which assets are locked by other projects.

Kadinamkulam

unread,
Sep 20, 2012, 7:05:39 PM9/20/12
to atg_...@googlegroups.com
Full ERROR

2012-09-20 18:56:25,457 WARN  [VersionManagerService] asset Gold Cascade Earrings_ajg already locked by workspace epub-prj370003.
2012-09-20 18:56:25,518 WARN  [ProjectServices] Asset 'p65149' is locked by Workspace 'name:ID' = 'epub-prj370003:43202' yet no Project was found owning that Workspace.
2012-09-20 18:56:25,520 WARN  [WorkflowProcessManager] Error executing action approveAndDeployProject[target=Production] on process instance 36600012; reverting the process instance to its original state
CAUGHT AT:
CONTAINER:atg.process.ProcessException; SOURCE:atg.epub.project.AssetLockException: Failed to approve the project kdm_sku (id: prj376011) for deployment. Unable to obtain exclusive locks to one or more assets. Use the Lock Conflicts page to determine which assets are locked by other projects.
    at atg.epub.workflow.process.action.ApproveProject.executeAction(ApproveProject.java:109)
    at atg.epub.workflow.process.action.ApproveAndDeployProject.executeAction(ApproveAndDeployProject.java:67)
    at atg.process.action.ActionImpl.execute(ActionImpl.java:397)
    at atg.process.ProcessManagerService.executeAction(ProcessManagerService.java:13900)
    at atg.process.ProcessManagerService.takeIndividualTransition(ProcessManagerService.java:13307)
    at atg.process.ProcessManagerService.takeIndividualTransition(ProcessManagerService.java:13352)
    at atg.process.ProcessManagerService.receiveIndividualEventMessage(ProcessManagerService.java:11783)
    at atg.process.ProcessManagerService.receiveIndividualEventMessage(ProcessManagerService.java:11478)
    at atg.process.ProcessManagerService.receiveMessage(ProcessManagerService.java:11288)
    at atg.process.ProcessManagerService.receiveMessage(ProcessManagerService.java:11246)
    at atg.dms.patchbay.ElementManager.deliverMessage(ElementManager.java:294)
    at atg.dms.patchbay.InputPort.onMessage(InputPort.java:168)
    at atg.dms.patchbay.InputDestination.onMessage(InputDestination.java:375)

Kiran Kumar Rapelly

unread,
Sep 20, 2012, 7:50:44 PM9/20/12
to atg_...@googlegroups.com
Make sure no other active project has the same asset in it.

Either go to Lock Conflicts tab and resolve the conflicts or delete the same assets in other active projects

--
--
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To post to this group, send email to atg_...@googlegroups.com
To unsubscribe from this group, send email to atg_tech-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/atg_tech?hl=en
 
 



--

Regards
Kiran Kumar Rapelly
(M) +1 415 866 5672

Kadinamkulam

unread,
Sep 20, 2012, 8:01:48 PM9/20/12
to atg_...@googlegroups.com
sorry ,, i was bit eager in getting a resolution asap ..hence i mailed individually ..sorry for the same

Gulab Prasad

unread,
Sep 21, 2012, 9:20:39 AM9/21/12
to atg_...@googlegroups.com

Hi Kdm,

Usually this exception comes only when one of the Project which u have created earlier is not in complete state and one of its assets is being used in other project.

So you can try it again by completing all the stages of previous project.

Hope this could help you coz I got the same issue today and got resolved by following the above approach. Once it is done, the lock is released.

Experts please share ur view on this.

Regards,
Gulab

--

Kadinamkulam

unread,
Sep 21, 2012, 9:50:24 AM9/21/12
to atg_...@googlegroups.com
ya.. i too did that way, and issue got resolved .. thanks a lot for the comments

Mayur Bhatia

unread,
Sep 21, 2012, 9:52:41 AM9/21/12
to atg_...@googlegroups.com
Hi Kdm,

Use the LOCK CONFLICT tab in BCC, to identify the PROJECT which is giving lock conflict with your project.

After you come to know the name of the project in the LOCK CONFLICTS tab, then deploy that project first(project in lock conflict tab) and after that deploy your project.

This will hopefully resolve the issue.

Thx and Regards,
Mayur   

Kadinamkulam

unread,
Sep 21, 2012, 9:55:19 AM9/21/12
to atg_...@googlegroups.com
In the lock conflict i cud not see any.. thats is my issue...
thinking some OOTP tables needs to be cleared , if so what are they ?

any thoughts ?

Mayur Bhatia

unread,
Sep 21, 2012, 10:00:57 AM9/21/12
to atg_...@googlegroups.com
Hi,

There are three tables


avm_asset_lock(we can check if there is a record against the asset you are talking)
avm_devline,
avm_workspace 

You will definitley get some information from these tables in CA Schema.......

I dont remember the exact steps coz I did it long time back .....but these are the three tables ....

Mayur 
Reply all
Reply to author
Forward
0 new messages