Hi Anton,
I have resolved my resolution issues – it was indeed the image.
I have another question now – I am using this package to create a pdf which then I in a brower using wpg_docload.downloadfile().
I call finish_pdf (changed it to public) to create the temp lob and then I call a procedure I wrote to display to pdf to the browser:
here are the guts:
owa_util.mime_header( nvl(v_mime,’application/octet’), FALSE );
htp.p(‘Content-Length: ‘ || DBMS_LOB.GETLENGTH(g_pdf_doc));
htp.p(‘Content-Transfer-Encoding: binary’);
–File that will be used by the broswer is the users does a “Save as”
htp.p(‘Content-Disposition: inline; filename=’ || p_filename );
owa_util.http_header_close;
WPG_DOCLOAD.DOWNLOAD_FILE(g_pdf_doc);
After calling wpg_docload.downloadfile, I check V$TEMPORARY_LOBS and I see that the cache_lobs column is increasing in number – that is, the session is generating this temp lob is not being released.
I only have this issue when I call wpg_docload.downloadfile(). If I don’t call this then the temp lob (s) are being released and cache_lobs = 0.
I have tried calling dbms_lob.freetemporary(g_pdf_doc) after downloading the file but it doesn’t change anything.
Is is possible that wpg_docload.downloadfile is creating the temp lob and not freeing it??
Any suggestions?
Thanks,
Michelle