EBS 11i使用者的請求無法提交一直等待
EBS 11i使用者的請求無法提交,一直等待。
檢查併發管理器發現有幾個併發管理器沒有起來。
1.停止併發管理器 ./adcmctl.sh stop apps/apps
2.確保沒有併發管理器的程式執行。
ps -ef |grep FNDLIBR
ps -ef |grep FNDSM
ps -ef |grep FNDOPP
3.如果有,使用系統命令kill -9殺併發管理器的程式。
ps -ef |grep FNDLIBR |grep -v grep|awk '{print $2}'|xargs kill -9
ps -ef |grep FNDSM |grep -v grep|awk '{print $2}'|xargs kill -9
ps -ef |grep FNDOPP |grep -v grep|awk '{print $2}'|xargs kill -9
4.執行指令碼cmclean.sql去清理併發管理器的表,執行完畢,需要輸入commit生效。
cmclean.sqll指令碼
5.啟動併發管理器。 ./adcmctl.sh start apps/apps
6.測試這個issue。
檢查併發管理器發現有幾個併發管理器沒有起來。
1.停止併發管理器 ./adcmctl.sh stop apps/apps
2.確保沒有併發管理器的程式執行。
ps -ef |grep FNDLIBR
ps -ef |grep FNDSM
ps -ef |grep FNDOPP
3.如果有,使用系統命令kill -9殺併發管理器的程式。
ps -ef |grep FNDLIBR |grep -v grep|awk '{print $2}'|xargs kill -9
ps -ef |grep FNDSM |grep -v grep|awk '{print $2}'|xargs kill -9
ps -ef |grep FNDOPP |grep -v grep|awk '{print $2}'|xargs kill -9
4.執行指令碼cmclean.sql去清理併發管理器的表,執行完畢,需要輸入commit生效。
cmclean.sqll指令碼
點選(此處)摺疊或開啟
-
REM
-
REM FILENAME
-
REM cmclean.sql
-
REM DESCRIPTION
-
REM Clean out the concurrent manager tables
-
REM NOTES
-
REM Usage: sqlplus @cmclean
-
REM
-
REM
-
REM $Id: cmclean.sql,v 1.4 2001/04/07 15:55:07 pferguso Exp $
-
REM
-
REM
-
REM +======================================================================+
-
-
-
set verify off;
-
set head off;
-
set timing off
-
set pagesize 1000
-
-
column manager format a20 heading \'Manager short name\'
-
column pid heading \'Process id\'
-
column pscode format a12 heading \'Status code\'
-
column ccode format a12 heading \'Control code\'
-
column request heading \'Request ID\'
-
column pcode format a6 heading \'Phase\'
-
column scode format a6 heading \'Status\'
-
-
-
WHENEVER SQLERROR EXIT ROLLBACK;
-
-
DOCUMENT
-
-
WARNING : Do not run this script without explicit instructions
-
from Oracle Support
-
-
-
*** Make sure that the managers are shut down ***
-
*** before running this script ***
-
-
*** If the concurrent managers are NOT shut down, ***
-
*** exit this script now !! ***
-
-
#
-
-
accept answer prompt \'If you wish to continue type the word \'\'dual\'\': \'
-
-
set feed off
-
select null from &answer;
-
set feed on
-
-
-
REM Update process status codes to TERMINATED
-
-
prompt
-
prompt ------------------------------------------------------------------------
-
-
prompt -- Updating invalid process status codes in FND_CONCURRENT_PROCESSES
-
set feedback off
-
set head on
-
break on manager
-
-
SELECT concurrent_queue_name manager,
-
concurrent_process_id pid,
-
process_status_code pscode
-
FROM fnd_concurrent_queues fcq, fnd_concurrent_processes fcp
-
WHERE process_status_code not in (\'K\', \'S\')
-
AND fcq.concurrent_queue_id = fcp.concurrent_queue_id
-
AND fcq.application_id = fcp.queue_application_id;
-
-
set head off
-
set feedback on
-
UPDATE fnd_concurrent_processes
-
SET process_status_code = \'K\'
-
WHERE process_status_code not in (\'K\', \'S\');
-
-
-
-
REM Set all managers to 0 processes
-
-
prompt
-
prompt ------------------------------------------------------------------------
-
-
prompt -- Updating running processes in FND_CONCURRENT_QUEUES
-
prompt -- Setting running_processes = 0 and max_processes = 0 for all managers
-
-
UPDATE fnd_concurrent_queues
-
SET running_processes = 0, max_processes = 0;
-
-
-
-
-
REM Reset control codes
-
-
prompt
-
prompt ------------------------------------------------------------------------
-
-
prompt -- Updating invalid control_codes in FND_CONCURRENT_QUEUES
-
set feedback off
-
set head on
-
SELECT concurrent_queue_name manager,
-
control_code ccode
-
FROM fnd_concurrent_queues
-
WHERE control_code not in (\'E\', \'R\', \'X\')
-
AND control_code IS NOT NULL;
-
-
set feedback on
-
set head off
-
UPDATE fnd_concurrent_queues
-
SET control_code = NULL
-
WHERE control_code not in (\'E\', \'R\', \'X\')
-
AND control_code IS NOT NULL;
-
-
REM Also null out target_node for all managers
-
UPDATE fnd_concurrent_queues
-
SET target_node = null;
-
-
-
REM Set all \'Terminating\' requests to Completed/Error
-
REM Also set Running requests to completed, since the managers are down
-
-
prompt
-
prompt ------------------------------------------------------------------------
-
-
prompt -- Updating any Running or Terminating requests to Completed/Error canceled by CMCLEAN
-
set feedback off
-
set head on
-
SELECT request_id request,
-
phase_code pcode,
-
status_code scode
-
FROM fnd_concurrent_requests
-
WHERE status_code = \'T\' OR phase_code = \'R\'
-
ORDER BY request_id;
-
-
set feedback on
-
set head off
-
UPDATE fnd_concurrent_requests
-
SET phase_code = \'C\', status_code = \'E\'
-
WHERE status_code =\'T\' OR phase_code = \'R\';
-
-
-
-
-
-
REM Set all Runalone flags to \'N\'
-
REM This has to be done differently for Release 10
-
-
prompt
-
prompt ------------------------------------------------------------------------
-
-
prompt -- Updating any Runalone flags to \'N\'
-
prompt
-
set serveroutput on
-
set feedback off
-
declare
-
c pls_integer := dbms_sql.open_cursor;
-
upd_rows pls_integer;
-
vers varchar2(50);
-
tbl varchar2(50);
-
col varchar2(50);
-
statement varchar2(255);
-
begin
-
-
select substr(release_name, 1, 2)
-
into vers
-
from fnd_product_groups;
-
-
if vers >= 11 then
-
tbl := \'fnd_conflicts_domain\';
-
col := \'runalone_flag\';
-
else
-
tbl := \'fnd_concurrent_conflict_sets\';
-
col := \'run_alone_flag\';
-
end if;
-
-
-
statement := \'update \' || tbl || \' set \' || col || \'=\'\'N\'\' where \' || col || \' = \'\'Y\'\'\';
-
dbms_sql.parse(c, statement, dbms_sql.native);
-
upd_rows := dbms_sql.execute(c);
-
dbms_sql.close_cursor(c);
-
dbms_output.put_line(\'Updated \' || upd_rows || \' rows of \' || col || \' in \' || tbl || \' to \'\'N\'\'\');
-
end;
-
/
-
-
-
-
prompt
-
-
prompt ------------------------------------------------------------------------
-
-
prompt Updates complete.
-
prompt Type commit now to commit these updates, or rollback to cancel.
-
prompt ------------------------------------------------------------------------
-
-
prompt
-
-
set feedback on
-
- REM <= Last REM statment
5.啟動併發管理器。 ./adcmctl.sh start apps/apps
6.測試這個issue。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23757700/viewspace-1064458/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- EBS 11i log檔案太多引起請求無法提交
- EBS提交併發請求的簡單例子單例
- Oracle EBS提交過多請求批量取消的方法Oracle
- EBS 取消“是否提交另一項請求”提示
- 使用axios post 請求資料無法提交的問題iOS
- plsql提交請求SQL
- EBS R12.1中如何提交一個請求(Concurrent Request)
- 檢視ebs請求檔案
- EBS 11i form打不開解決辦法ORM
- EBS 11i 輸入正確密碼後無反應密碼
- EBS 11i彈不出Form介面ORM
- Oracle EBS 11i 表結構Oracle
- Oracle EBS併發請求啟用跟蹤Oracle
- EBS併發請求統計指令碼呢指令碼
- Three ways to quickly login into EBS 11iUI
- 程式中載入layout以及提交請求
- 使用charles無法抓取到iOS Simulator的請求資料包iOS
- 安裝Oracle 11i EBS+Database RACOracleDatabase
- POST 請求的三種常見資料提交格式
- win10 window無法完成請求的更改怎麼解決Win10
- 提交一個併發請求(Concurrent Program)
- iOS 使用form表單形式提交post請求iOSORM
- 深入理解OkHttp原始碼(一)——提交請求HTTP原始碼
- Initial connection超時介面無法正常請求Status canceled
- [原]請求的操作無法在使用使用者對映區域開啟的檔案上執行 的解決辦法
- Oracle EBS 11i 學生手冊(中文版)Oracle
- Oracle EBS 11i全模組設定詳例Oracle
- 解決fiddler無法抓取本地部署專案的請求問題
- 15年前提交的請求,終於有了結果
- 安卓基礎-get post請求與提交資料安卓
- 前置 python 指令碼:requests 無法請求,報錯請問是什麼原因Python指令碼
- oracle ebs 根據請求id找到對應trace 檔案Oracle
- 怎麼檢視ebs裡面的請求執行時間
- Oracle ebs 11i 上的admin scripts list 和說明..Oracle
- 無法開啟登入所請求的資料庫,登入失敗資料庫
- ORACLE EBS 11i APP-FND-00362錯誤OracleAPP
- Php通過curl提交post內容為Json的請求PHPJSON
- EBS併發請求產生的log和out檔案定位及清理