【转】Output Post Processor(OPP)/输出提交处理程序

Form: http://blog.csdn.net/x_focus/article/details/25345307

All About Output Post Processor (OPP) in Oracle Applications

The integration of XML Publisher within Concurrent Processing is done by means of a specialized concurrent manager called the Output Post Processor (OPP). If a request is submitted which has an XML Publisher template specified as a layout for the output, then after the concurrent manager finishes running the concurrent program, it will contact the OPP to apply the XML Publisher template and create the final output.

  An overview of the actions involved:

1. An application user submits an XML Publisher based report.
2. The standard concurrent manager processes the request.
3. The XML data file is generated by the standard concurrent manager. This can be done by various methods:
   o Oracle Reports - Report Definition File (RDF)
   o XML Publisher Data Template - XML data template linked to the Data Definition
   o Any other process that produces XML output
4. A post processing action defines that the output needs to be generated by the Output Post Processor hence it is triggered by the standard manager.
5. The Output Post Processor generates the final report and informs the standard concurrent manager whether that was successful.
6. The standard concurrent manager finalizes the concurrent request.

  Processes in OPP:

There should always be at least one OPP process active in the system. If no OPP service is available to process concurrent requests,

completed requests that require OPP post-processing will complete with a status of Warning.One service instance of the OPP service is seeded by default.

This seeded OPP service instance has one workshift with one process.

A concurrent manager contacts an available OPP process when a running concurrent request needs an OPP post-processing action.

Concurrent managers use a local OPP process (on the same node) by default, but will choose a remote OPP if no local OPP process is available.

Threads in OPP:

The OPP Service is multi-threaded and will start a new thread for each concurrent request it processes. You can control the number of simultaneous threads for an OPP Service Instance by adjusting the Threads per Process parameter for the instance.

If all the OPP process has reached their respective maximum number of threads, the requests waiting to be processed remain in a queue to be processed as soon as threads become available. If request throughput has become slow, you may want to increase the number of Threads per Process for the OPP.

The number of concurrent requests that the Output Post Processor can handle in parallel depends upon:

   · the number of Processes
   · the number of Threads Per Process

The default values are 2 Processes and 5 Threads per Process so a total of 10 reports can be processed in parallel.

Issues with OPP:

1. Timeout issue with OPP:

Example:

There is 1 OPP process with 2 threads. Hence 4 reports can be processed at any time.

- In case there are other concurrent requests running which have already invoked the OPP then it might happen that no additional requests can be picked up for a period of time. The pending request will be picked up as soon as one of the running jobs completes.

By default a timeout will occur if it takes longer than 120 seconds (2 min.) for the Output Post Processor to pick up the request from the concurrent manager process. In that case, the concurrent request will complete with status Warning.

-Once the Output Post Processor picks up the request, the BI Publisher engine is invoked to generate the final output file.

The time that this takes will depends on various elements such as:

· size of the XML Data File
· complexity of the template
· performance of the server

By default a timeout will occur if it takes longer than 300 seconds (5 min.) for the BI Publisher engine to generate the output file.

The concurrent request will complete with status Warning

Solution: 

There are 2 new profiles options that can be used to control the timeouts.

Profile Option : Concurrent:OPP Response Timeout
Internal Name : CONC_PP_RESPONSE_TIMEOUT
Description : Specifies the amount of time a manager waits for OPP to respond to its request for post processing

Profile Option : Concurrent:OPP Process Timeout
Internal Name : CONC_PP_PROCESS_TIMEOUT
Description : Specifies the amount of time the manager waits for the OPP to actually process the request.
The value for the above profile options can be increased to avoid timeouts.

The number of processes/threads for OPP can also be increased; however the concurrent manager has to be restarted for the changes to take effect.

2. Output Post Processing Fails Due To java.lang.ThreadDeath

-Increase the value of the Concurrent:OPP Timeout profile option to 10800 seconds.
-Enable the scalability feature of XML Publisher:

a. Login as SYSADMIN
b. Responsibility: XML Publisher Administrator
c. Function: Administration
d. Set the following properties:
e. Temporary Directory
f. Use XML Publisher‘s XSLT processor: True
g. Enable scalable feature of XSLT processor: True
h. Enable XSLT runtime optimization: True

- Restart the Concurrent Managers so that changes take effect

3. Output Post Processor is Down with Actual Process is 0 And Target Process is 1

This can happen on a cloned instance.

- FNDSVC should exist under FND_TOP/bin
- Bring down all application services and relink the FNDSVC through adadmin or using the below command:

adrelink.sh force=y ranlib=y "FND FNDSVC"

- Restart all applications services and restest the issue.

4. Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError: Java heap space
- Determine what the heap size per OPP process is currently:

 select DEVELOPER_PARAMETERS from FND_CP_SERVICES
 where SERVICE_ID = (select MANAGER_TYPE from FND_CONCURRENT_QUEUES
 where CONCURRENT_QUEUE_NAME = ‘FNDCPOPP‘);

- The default should be:

J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx512m

- Increase the Heap Space per Process to 1024:

update FND_CP_SERVICES
 set DEVELOPER_PARAMETERS =
 ‘J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx1024m‘
 where SERVICE_ID = (select MANAGER_TYPE from FND_CONCURRENT_QUEUES
 where CONCURRENT_QUEUE_NAME = ‘FNDCPOPP‘);

- Bring the Concurrent managers down.
 - Run cmclean.sql script from Note 134007.1 - CMCLEAN.SQL Non-Destructive Script to Clean Concurrent Manager Tables.
 - Bring the managers up again.

OR


- Log into applications with the System Administrator responsibility.

- Navigate to Concurrent -> Program -> Define

- Query the XML Publisher Template Re-Generator program

- Set the following value for the Executable Options: -Xmx1024m

- Save changes.

- Retest the program.

时间: 2024-12-14 03:50:45

【转】Output Post Processor(OPP)/输出提交处理程序的相关文章

XML Publisher 并发程序由于"输出提交处理程序提交失败

http://www.cnblogs.com/benio/archive/2012/03/30/2424900.html xmlp 报表运行完成后,状态为warning,其原因大概有以下3类:1."输出提交处理程序"(Output Post Processor)未运行(状态为非active),或者请求未生成结果2."输出提交处理程序"(Output Post Processor)正在运行(状态为active),请求未生成结果3.并发管理器延时等待"输出提交

EBS R12中FND凭证打印警告:OPP响应超时

接近年关,最近年结忙的飞起,此为背景,今天运维那边反应日记账凭证打印报错,看了下后台请求发现请求有警告. 查看日志发现报了“并发:OPP响应超时”的警告,这个地方响应超时可能是配置文件中“并发:OPP超时响应”等相关参数的影响,在参数规定的时间内OPP 服务没有及时响应造成的,当然问题的起因可能有深层次的原因,这里我们需要去找一下OPP服务日志. 那么,怎么去找OPP服务日志呢,我们通过请求号 查询OPP服务日志的位置: SELECT FCPP.CONCURRENT_REQUEST_ID REQ

XML Publisher Report Issues, Recommendations and Errors

In this Document   Purpose   Questions and Answers   References APPLIES TO: Oracle Process Manufacturing Financials - Version 11.5.9 to 12.1.3 [Release 11.5 to 12.1] Information in this document applies to any platform. All reports that uses XML publ

并发:OPP 响应超并发:OPP 响应超时

用户提交报表,无法正常结束,报表日志中有如下消息: “正在执行请求完成选项... +------------- 1) PUBLISH -------------+ 节点 FIN1 上的请求 2988497 于 11-10-2011 13:51:44 开始进行后期处理. 请求 2988497 的后期处理于 11-10-2011 13:57:44 失败,并显示错误消息: 输出提交处理程序正在运行,但尚未获得此请求. 将不再尝试进行此请求的后期处理,并且将该请求标记 为“警告”状态. 必须将配置文件选

Java编程思想读书笔记

声明:原创作品,转载时请注明文章来自SAP师太技术博客:www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将追究法律责任!原文链接:http://www.cnblogs.com/jiangzhengjun/p/4290955.html 第一章对象导论... 1 第二章一切都是对象... 4 第三章操作符... 10 第四章流程控制... 12 第五章初始化与清理... 14 第六章访问权限控制... 15 第七章复用... 23 第八章多态... 2

常见计算机英语单词

1. file n. 文件:v. 保存文件 2. command n. 命令指令 3. use v. 使用用途 4. program n. 程序 5. line n. (数据程序)行线路 6. if conj. 如果 7. display vt. 显示显示器 8. set v. 设置n. 集合 9. key n. 键关键字关键码 10. list n. 列表显示v. 打印 11. by prep. 凭靠沿 12. press v. 按压 13. with prep. 用与随着 14. forma

Word Properties <?ref:xdo000X?> - BIP Deskotop 11.119.00.0 (32-bit) with Office 2013 (32-bit) on Win 7 64-bit

BIP Deskotop 11.119.00.0 (32-bit)Office 2013 (32-bit)Win 7 (64-bit)The current certification matrix seems to say this is supported, however I am having the following problem:1. I have an existing RTF template, with data template that works. I have ru

Interrupt distribution scheme for a computer bus

A method of handling processor to processor interrupt requests in a multiprocessing computer bus environment is described. This method allows a multiple-tiered, increasing priority, interrupt request scheme. This method also allows processor to proce

EBS报表输出文件格式控制

具体使用方法:1.添加用户参数p_conc_request_id2.在BeforeReport trigger中添加srw.user_exit('FND SRWINIT');          和AfterReport trigger中添加srw.user_exit('FND SRWEXIT');3.添加用户参数p_output_format4.在BeforeReport trigger中添加UPDATE FND_CONC_PP_ACTIONS X   SET X.ARGUMENT5 = :P_