otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM / G-Log - Functional Topics > Planning
Reload this Page

Secure resources timed out waiting for lock on object shipment


Planning Planning orders in OTM / G-Log - including bulk planning, itineraries, planning parameters, load configuration and optimization.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old February 26th, 2009, 17:47
Junior Member
 
Join Date: Aug 2008
Posts: 10
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mosubram is on a distinguished road
Secure resources timed out waiting for lock on object shipment

Hi,

We are facing issues where while tendering a shipment by clicking on 'Secure resources' it errors out with error 'Secure resources time out waiting for lock on object shipment'. We checked to see if there are any locks using the servlet which provides the details of locks. But could not find what is exactly causing the issue. Oracle updated the service request raised saying that the issue might be due to poor
design of automation agents. Please let us know if you have faced this kind of issue.
And any help in resolving the same will be appreciated.

Thanks,
Mohan.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old February 26th, 2009, 23:21
Member
 
Join Date: Dec 2007
Posts: 97
Groans: 1
Groaned at 1 Time in 1 Post
Thanks: 5
Thanked 18 Times in 18 Posts
Rep Power: 3
james_foran is on a distinguished road
Re: Secure resources timed out waiting for lock on object shipment

Hi Mohan,

I have seen the exact same issue in the past. It was infact caused by Agent configuration. There are a few rules you should implement when creating agents.

1. Only have one agent listenting to a given event. If you have 2 or more agents listening to the one even, a lock can easily occur, especially if the agents are performing large operations.

2. If you are triggering Custom Events from within an agent, always "Create New Process", unless this causes sequencing issues.

There are more complex issues here too though. If you are setting Status' from one agent, these may be triggering another agent, and these will be executed from within the same "Process" by OTM. It gets pretty complicated, but I will try and give you a few tips to track down your issue.

A) ensure that Agent logging is switched on in your SYSTEM log file.

b) Execute teh process that results in the error. You do not have to re-produce the error at this stage.

c) To to LOGS, and select SYSTEM, in IDs, SELECT "Agent", then in the Search For, type in "Starting".

d) Select View results. From here, try and track down the specific "Process" (generally a 6 digit number in the second column). Record this number.

e) Return to the "System Log Entry Selection" screen. Now, enter the number recorded in step d) in the Top Level Process field, the Select View Results again.

f) Now, you should have a list of all agents that are being executed as part of the single action. Map the agents out into a workflow, investigate how each agent is triggered, etc.

This will hopefully give you a view into the cause of the Lock. It is a fairly involved process, but I would imagine the solution for you may be to consolidate agents where possible. This will give you greater control over the sequence certain events are executed in also.

If you have any questions, please let me know.

Thanks and regards,

James
__________________
James Foran
Toll Solutions
http://www.tollgroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to james_foran For This Useful Post:
Sachin (August 17th, 2010)
  #3 (permalink)  
Old February 26th, 2009, 23:41
Junior Member
 
Join Date: Aug 2008
Posts: 10
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mosubram is on a distinguished road
Re: Secure resources timed out waiting for lock on object shipment

Hi,

We have one agent which seems to be causing the issue. The agent does the following actions.
Agent is triggered on shipment creation event. The agent is defined on object shipment.

1. Update the shipment table
2. Insert into shipment_refnum table.

Please let me know if having two agents one for update and one for insert will help.

Thanks,
Srikanth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old February 27th, 2009, 00:18
Member
 
Join Date: Dec 2007
Posts: 97
Groans: 1
Groaned at 1 Time in 1 Post
Thanks: 5
Thanked 18 Times in 18 Posts
Rep Power: 3
james_foran is on a distinguished road
Re: Secure resources timed out waiting for lock on object shipment

This will cause more issues, not less. I dont think this is the cause of the issue.

You will need to find all the agents that are triggered using the steps previously provided.
__________________
James Foran
Toll Solutions
http://www.tollgroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shipment resources withdrawn email only!! yogi43 Execution 0 March 21st, 2008 14:18
Column Lock in Screen Set albert Branding, Screen Sets, XSL/CSS and Translations 7 February 15th, 2008 07:11
Secure Resources by Planner but No Tender cwarner Rating 4 February 12th, 2008 17:13
Unable to secure resources for shipments surender Workflow and Agents 0 January 18th, 2008 11:14
[SOLVED] Geocoding resources chrisplough Planning 7 April 26th, 2007 19:38



All times are GMT. The time now is 12:18.
Copyright © 2006-2010, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44