Re: Commerce 5.6 Scheduled Commands Deadlock With User-Initiated
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Commerce suite > Re: Commerce 5.6 Scheduled Commands Deadlock With User-Initiated




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Commerce 5.6 Scheduled Commands Deadlock With User-Initiated  
Robert Brown


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-04-05 07:55 AM

> I'm running into a problem where scheduled commands that update data are c
onflicting with user-initiated commands that are also trying to use that dat
a. For instance, if a user is updating his order, but a scheduled command th
at manipulates order data h
as kicked off and is in the middle of its transaction, the user's command fa
ils because it is locked out of the data by the scheduled command. To make m
atters worse, I have a clustered environment, so obvious solutions like usin
g a singleton to keep track
of which orders are in the middle of an operation will not work. Any ideas?

This seems a bit of bad luck on the timing side for the user.  Can't you
reschedule the scheduler command to run in the middle of the night?

My only valid suggestion would be to modify the command to peek into the
USERS table and grab the LASTSESSION value.  This would give you an idea
whether the user was logged in within the last xxx minutes and provide
assurance that the user was not online when the scheduled command was
ready to update that user's data.  The command would attempt to update
those users on the next scheduled run.

R





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:55 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register