Edi Yanto (何 萬 新)

The XML Publisher Concurrent Request Fails Due to the Output Post Processing (OPP)

Posted on: February 7, 2009


Three possible errors can occur as below:

  • The Output Post Processor is not running or does not pick up the request


+————- 1) PUBLISH ————-+
Unable to find an Output Post Processor service to post-process request [request_id].

Check that the Output Post Processor service is running.
+————————————–+

Solutions:
* Verify that the Output Post Processor is enabled and active.
* If confirmed, retrieve the OPP log file either via the Forms application or via the Oracle Application Manager.
– Via the Forms application:

  1. Login to the application as SYSADMIN
  2. Responsibility: System Administrator
  3. Function: Concurrent –> Manager –> Administration
  4. Select the Output Post Processor
  5. Click on the Processes button
  6. Select the Concurrent Process which was active during the time that the request ran
  7. Click on the Manager Log button to open the Output Post Processor log file

- Via the Oracle Application Manager

  1. Login to the application as SYSADMIN
  2. Responsibility: System Administration
  3. Function: Oracle Applications Manager –> Concurrent Managers
  4. Select the Output Post Processor Service and click on View Details
  5. Click on View Processes
  6. Select the Concurrent Process which was active during the time that the request ran
  7. Click on the Log button to open the Output Post Processor log file
  • The Output Post Processor is running but has not picked up the request
...
+------------- 1) PUBLISH -------------+
The Output Post-processor is running but has not picked up
this request.No further attempts will be made to post-process
this request, and the request will be marked with Warning status.
Setting the profile option Concurrent: OPP Response Timeout
to a higher value may be necessary.
+--------------------------------------+
...

By default a timeout will occur if it takes longer then 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 and the Request log file will contain error message like above.

Solutions:
* Increase the value (in seconds) for the profile option ‘Concurrent:OPP Response Timeout‘.

  • The concurrent manager has timed out waiting for the Output Post-processor to finish this request


+————- 1) PUBLISH ————-+
The concurrent manager has timed out waiting for the Output Post-processor
to finish this request.

Check that there are enough Output Post-processor service processes running.
More information may be found in the service process logfile.
+————————————–+

The concurrent manager process has successfully invoked the OPP but it a timeout is encountered as the OPP takes too long to complete the job.

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 then 300 seconds (5 min.) for the XML Publisher engine to generate the output file. The Concurrent Request will complete with status Warning and the Request log file will contain error message like above.

Solutions:
*
Increase the value (in seconds) for the profile option ‘Concurrent:OPP Process Timeout‘.

 

  • Output Post Processor (OPP) Log Contains Error “java.lang.OutOfMemoryError: Java heap space”

    java.lang.reflect.InvocationTargetException Caused by: java.lang.OutOfMemoryError: Java heap space at oracle.xdo.parser.v2.XMLDocument.createNodeFromType(XMLDocument.java:2869) at oracle.xdo.parser.v2.XMLDocument.createNodeFromType(XMLDocument.java:3000)

Solutions:
1. 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’);

2. The default should be:

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

3. 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’);

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

OR

1. Log into applications with the System Administrator responsibility.
2. Navigate to Concurrent -> Program -> Define
3. Query the XML Publisher Template Re-Generator program
4. Set the following value for the Executable Options : -Xmx1024m
5. Save changes.
6. Retest the program.

OR

Configure the XML Publisher Administrator Configuration settings.
1. As XML Publisher Administrator navigate to Administration->Configuration.
2. Under Temporary Directory pick a temporary file location on your concurrent processing node. This should be at least 5GB or 20x larger than largest XML data file you generate
3.  Under FO Processing, set:
o Use XML Publisher’s XSLT processor set to True
o Enable scalable feature of XSLT processor set to False
o Enable XSLT runtime optimization set to True

About these ads

12 Responses to "The XML Publisher Concurrent Request Fails Due to the Output Post Processing (OPP)"

Hi,

I am getting the following error when using the xml publisher report. Can anyone help in this issue.

+————- 1) PUBLISH ————-+
Beginning post-processing of request 6970140 on node AZ18U532 at 26-MAY-2009 10:01:32.
Post-processing of request 6970140 failed at 26-MAY-2009 10:06:05 with the error message:
java.lang.NoClassDefFoundError: org/xml/sax/Attributes
+————————————–+

Hi Bhasker,
Can you send me the log file and its template (.rtf and .xml), may be I can help you for checking it.
Did you ever test it from local with XML Publisher Desktop? Success generate output or not?

xml view output to excel

ORA-01403: no data found

————————————————————–
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06502.

all set..data definition, tempalte, etc. but view output error on excel, on pdf no problem
need advice

Hi Edi,
Nice article on checking the log file from OPP log for XML Publisher OPP process. However, we need to turn on the XDO / XML Publisher debug log to get meaningful information and detailed logging.

I would like to share this article on how to turn on the debug log.

BI Publisher debugging and logging

Thanks
-Raj
http://www.adivaconsulting.com

Hi Raj,

Thanks for sharing the BI Publisher debugging and logging article.

Thanks,
Edi

When i run Journal voucher within Oracle EBS 12.0.4 i am getting Phase “Completed” Status “Warning” , following are the log for this request.

+—————————————————————————+
General Ledger: Version : 12.0.0

Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

GLRXVCJ module: Journals – Voucher
+—————————————————————————+

Current system time is 04-JUL-2011 12:18:05

+—————————————————————————+

+—————————–
| Starting concurrent program execution…
+—————————–

Arguments
————
P_ACCESS_SET_ID=’1001′
P_ACTUAL_FLAG=’A’
P_LEDGER_ID=’2024′
P_STATUS=’U’
P_CURRENCY=’PKR’
P_START_DATE=’2011/06/30 00:00:00′
P_END_DATE=’2011/07/04 00:00:00′
P_BATCH_NAME=’HO Voucher- 861 – Greenstar’
P_COA=’50329′
P_JOURNALS_LINE_FLAG=’L’
P_PAGEBREAK=’1′
P_CONTRA_FLAG=’N’
P_REPORT_NAME=’VOUCHER’
————

APPLLCSP Environment Variable set to :

Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8

‘.,’

Enter Password:

Report Builder: Release 10.1.2.0.2 – Production on Mon Jul 4 12:18:06 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.

+—————————————————————————+
Start of log messages from FND_FILE
+—————————————————————————+
+—————————————————————————+
End of log messages from FND_FILE
+—————————————————————————+

+—————————————————————————+
Executing request completion options…

+————- 1) PUBLISH ————-+
Beginning post-processing of request 4866350 on node APPSPROD at 04-JUL-2011 12:18:08.
Post-processing of request 4866350 failed at 04-JUL-2011 12:23:08 with the error message:
The Output Post-processor is running but has not picked up this request.
No further attempts will be made to post-process this request, and the request will be marked
with Warning status.
Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary.
+————————————–+

+————- 2) PRINT ————-+
Not printing the output of this request because post-processing failed.
+————————————–+

Finished executing request completion options.

+—————————————————————————+
Concurrent request completed
Current system time is 04-JUL-2011 12:23:08

+—————————————————————————+

Hi Khurram,

Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary.

Thanks,
Edi

Hi Edi,

Can you help me in the following case. I am getting the following error while running the report:-

Custom Account Receivable: Version : UNKNOWN

Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

ARFORM module: Report For AR Transaction Form
+—————————————————————————+

Current system time is 06-DEC-2011 02:23:44

+—————————————————————————+

+—————————–
| Starting concurrent program execution…
+—————————–

Arguments
————
P_TRX_NUMBER=’2142777′
————

APPLLCSP Environment Variable set to :

XML_REPORTS_XENVIRONMENT is :
/gpsescs1/erpapp/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb

XENVIRONMENT is set to /gpsescs1/erpapp/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb

Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8

‘.,’

Report Builder: Release 6.0.8.28.0 – Production on Tue Dec 6 02:23:52 2011

(c) Copyright 1999 Oracle Corporation. All rights reserved.

Enter Username:
+—————————————————————————+
Start of log messages from FND_FILE
+—————————————————————————+
+—————————————————————————+
End of log messages from FND_FILE
+—————————————————————————+

+—————————————————————————+
Executing request completion options…

+————- 1) PUBLISH ————-+
Beginning post-processing of request 45247461 on node TSGSD4902 at 06-DEC-2011 02:23:55.
Post-processing of request 45247461 failed at 06-DEC-2011 02:24:00 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
+————————————–+

+————- 2) PRINT ————-+
Not printing the output of this request because post-processing failed.
+————————————–+

Finished executing request completion options.

+—————————————————————————+
Concurrent request completed
Current system time is 06-DEC-2011 02:24:01

please help me if you can..

Thanks in Advance..
Saurabh.

hi
My concurrent requests are completed with warnings
in opp file i got cause:
Caused by: oracle.xdo.parser.v2.XSLException: No space left on device
i have checkted all tablespace free spaces no problem with them, how can i resolve.

Hi Saurabh,

You can view the Manager Log of OPP at System Administrator Resp. Navigation: Concurrent > Manager > Administer > Select Output Post Processor > (B) Processes > (B) Manager Log of the Active Status, check for this request ID.

Thanks,
Edi Yanto

Hi Nagaraj,

Have you get the XML file and test at your RTF template? It’s worked?

Thanks,
Edi Yanto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers


Edi Yanto
Oracle Applications Technical Consultant
View Edi Yanto's profile on LinkedIn

My Certifications




Follow me on Twitter

Archives

February 2009
M T W T F S S
« Jan   Mar »
 1
2345678
9101112131415
16171819202122
232425262728  

  • Edi Yanto: Hi Hiba, can you sent me the source file and the final layout that you want to edi.y4nto@gmail.com? Thanks, Edi Yanto
  • info20111: I would like to have a repeatable header even if one page split into 2 i worked it as you said but it dosn't work
  • Edi Yanto: Hi Venn, Yup, we can do it in Win XP, Vista or 7, but in Win 8/8.1 not has this Maximize function. Thanks, Edi Yanto

Top Rated

Visitors

Categories

Blog Stats

  • 95,178 hits

Users Online

web counter

Pages

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: