Stuck Concurrent Requests
Jeudi 21 août 2008Background: Concurrent programs may be incompatible with other programs which means they cannot execute at the same time. If the stuck concurrent request has such rules defined, then programs it is incompatible with will not run until the problem is solved.
There are 2 ways to do this, update the table manually or run the Oracle provided cmclean.sql script. Depending on the method you choose, you’ll need the request id.
programs are currently being executed. With the help of your users, find the request id in question and make note of it. The recommended approach from Oracle will be:
1. Kill the database sessions for the requests. (In our case there weren’t any.)
2. Shutdown the concurrent managers.
3. Run the cmclean.sql script Note: 134007.1
4. Start your concurrent managers.
The other method is to update the bad rows in the fnd_concurrent_requests table manually.
1. Query up the concurrent process that is stuck and make note of it’s Request ID.
2. Log onto unix as applmgr and Log onto SQL*Plus as APPS.
3. Perform this update statement:
update fnd_concurrent_requests
set phase_code = ‘C’,
status_code = ‘X’
where request_id = &request_id;
This statement will set the request to completed terminated
4. should return a value of “1 row updated”. If so then commit the change, if not, rollback and find the error.
5. Check the concurrent process in the application and it should now be set to Completed Terminated.
For a list of status, phase_codes and what they mean, refer to Note: 297909.1.
The benefit to updating the fnd_concurrent_requests table manually is that no downtime is required.
Thanks for Reading.





Index du Blog














