My Oracle Support Banner

Delays When Printing Reports Using BI Publisher (Doc ID 1492607.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 6.2.6 and later
Information in this document applies to any platform.


Experiencing slow performance / wait times when printing multiple reports from OTM.

Technically speaking, the steps to create a report are roughly as follows:
Step 1. OTM calls BI Publisher to generate the report.
Step 2. BI Publisher calls the CUPS server to process the print request.

It is in the second step that bad performance is observed.
When looking at the BI Publisher log files, it turns out that during the call from BI Publisher to the CUPS server, there is a delay of several seconds. This delay occurs on each job, therefore when printing numerous jobs, the delays will add up to long delays.

This is where the delay takes place:

- Run a report
- Check the logfile "bipublisher.log" file in the "logs" directory of the OTM filesystem.
- The log file shows a large delay in the class HTTPSession.
 See an excerpt from an example log file:
 [082012_135731862][][STATEMENT] submitRequest() called
 [082012_135743897][][STATEMENT] submitRequest(): pIn.available(): 387
 In this case there is a delay of 135731862-135743897=12035 milliseconds (over 12 seconds).
- Looking closer at the code, it becomes clear that the method 'waitResponse' will ALWAYS wait for at least  1000x10=10000 milliseconds, even if the response has been received.
 Hence, even if the CUPS server responds very quickly (e.g. within 1 second), there will be a minimum delay of 10 seconds.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.