User reported that there were performance issues for some of the custom programs. In addition, concurrent view output was displaying in XML format.
1. Performance Issue reported for few concurrent programs- XX: AR Arrears Aging Summary Report , XX AR Adjustment ODSP & XX Bank Statement Line Analyzer Report
2. Concurrent->Request->”View Output” is displaying in XML instead of pdf format
Initial investigation showed that all the concurrent jobs in question use XML Publisher.
The OPP log file details the following error:
$ find FNDO* |xargs grep -i 10400888
FNDOPP110027.txt:[2/4/21 11:40:27 AM] [OPPServiceThread0] Post-processing request 10400888. FNDOPP110027.txt:[2/4/21 11:40:27 AM] [UNEXPECTED] [110827:RT10400888] java.io.IOException: No such file or directory FNDOPP110028.txt:[2/4/21 11:40:27 AM] [OPPServiceThread0] Post-processing request 10400888. FNDOPP110028.txt:[2/4/21 11:40:27 AM] [UNEXPECTED] [110028:RT10400888] java.io.IOException: No such file or directory
Root Cause & fix:
1. OPP temporary directory was incorrect – /data1/oracle/UAT/tmp. The temporary directory path for XML publisher is the cause for performance issue of the below reports. Basically the underlying queries are returning results in expected time, after then it’s waiting on OPP for postprocessing for long time and finally completing in warning.
2. Fix was to set OPP temp directory under: XML Publisher Administrator responsibility. Navigate to menu Administration ->Configuration -> General->Temporary Directory. The directory needs to be read/writable by the applmgr user (owner of the $APPL_TOP file system).
3. We also noticed the variable APPLLKOR was set under $APPL_TOP/admin/adovars*.env file, which was pointing to wrong directory
APPLLKOR=”/data/oracle/PROD/tmp” export APPLLKOR
We commented it out, logged out from the bash shell and logged back in and made sure APPLLKOR is unset.
Finally, restarted the application services & the reports performance issue was resolved.