Download BLOB via wpg_docload does not
HelloI installed a new oracle database server and recently installed the 4.1 Apex then transferred my legacy data and applications from the old server.
My new configurations are
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
My oracle Enterprise Manager displaysHosts 1 Application Servers 1
OC4J Instances 1 HTTP Server Instances 1
Previously I had Apex 4.0.1 on Apex listener through the Glassfish server and all my applications worked perfectly. But on the new installation of the page that downloads report, via the rtf code generation and it downloaded from the BLOB does not work.Declare
l_mime varchar2 (255);
l_length number;
l_file_name varchar2 (2000);
l_lob_loc blob;
l_rtf clob;
l_name varchar2(100);
-- conversion variables
l_src_offset number := 1;
l_dest_offset number := 1;
l_lang_ctx number := 0;
l_warning varchar2(32767);
begin
-- get name
select 'testrtf'
into l_name
from dual;
-- generate document
select :P16_RTF into l_rtf from dual;
--:P16_RTF contains rtf code.
-- convert to lob
dbms_lob.createtemporary(l_lob_loc, false);
dbms_lob.converttoblob(l_lob_loc, l_rtf, DBMS_LOB.GETLENGTH(l_rtf), l_dest_offset, l_src_offset, 0, l_lang_ctx, l_warning);
l_length := dbms_lob.getlength(l_lob_loc);
-- http header
owa_util.mime_header('application/rtf', false);
htp.p('Content-length: ' || l_length);
htp.p('Content-Disposition: attachment; filename="'||l_name||'.rtf"');
owa_util.http_header_close;
-- download blob
wpg_docload.download_file (l_lob_loc);
end;
I searched and didn't find any help, but it seems that there is a problem of configuration of DAD. My DAD file looks like<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString db:1521:orcl ServiceNameFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword ******
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
Allow from all
</Location>
and I could not find wwv_flow_file_objects$ either. All of the suggestions.Concerning
Sabir
Published by: sabir786 on December 29, 2011 11:37
Hi sabir786,
I had exactly the same problem. I went to my request of APEX 4.0 and Oracle 10 g to 4.1 APEX and Oracle 11 g, then all download functions via wpg_docload stopped calling the download dialog box.
Now, I tried some kind of workaround to find the feature.
Rather than use page-processes to call the download functions, I tried to use enforcement procedures (called on request) and it works fine.
that is to say:
an application process named 'export' called at the request
Start
(#OWNER) # .f_export
v_EXPTYP =>: P10_EXPORT_TYPE,
v_ID =>: F_PROJEKT_ID
);
end;
a button that calls a branch with the following query
APPLICATION_PROCESS = export
f_export is the function that generates the rtf file and in the end, it has the wpg_docload functions to download the file.
Hope it helps you as well.
Concerning
Tags: Database
Similar Questions
-
File sharing Mac for iphone via Airdrop does not
File sharing Mac for iphone via Airdrop does not. Please suggest me.
In the finder of mac and iPhone, I clicked on "Let me o find out for everybody". IPhone is still not release shows.
IPhone is the model of 5 s (10 iOS) and mac MAc mini end of 2014 (OS X EL Capitan - 10.11.4).)Cross the writeup here. Make sure that both devices have Wi - Fi and Bluetooth connection 'On '.
Use AirDrop to send the contents of your Mac - Apple Support
-
I have Firefox 13 and real player 15, but the download this video option does not work, under extensions to save browser plugin is disabled, but if active videos do not play in youtube, error occurs, it's major drawback, it works well with IE, but I prefer Firefox so any help to rectify the issue is appreciated.
One possibility is to upgrade to Flash 11.2 and re - activate the Plugin RealPlayer browser Record extension in the Add-ons Manager (Tools > Modules > Extensions) (it's a softblock).
If you need to return to 11.2 Flash you can download Player Flash 11.2 through this direct link:
You must uninstall version 11.3 Flash.
-
recommended security cumulative ie8 and compatible display updates fail. can install it with the installer of standalone download but then ie8 does not connect. If I remiove update ie8 works very well
Hi mikedav,
Thank you for using the Microsoft Windows Vista Forums.
Method 1:
Microsoft has released a new "Fix it" solution that should automatically solve your problems with Windows Update. Just click on the link below and follow the instructions.
How to reset the Windows Update components?
http://support.Microsoft.com/kb/971058
If you are not able to connect to the internet after you install the update, you need to optimize Internet explorer by following the instructions below.
Method 1:
Follow the instructions in the link below which will help you solve the problem.
Tips for solving problems with Internet Explorer
http://windowshelp.Microsoft.com/Windows/en-us/help/8038f9ac-9bf9-4809-8d75-fc42818d8af71033.mspx
Method 2:
Follow the instructions in the link below to optimize Internet Explorer.
How to optimize Internet Explorer
http://support.Microsoft.com/kb/936213
Please post back and let us know if it helped to solve your problem.
Kind regards
KarthiK TP
-
HP ENVY tx1215 m6: after downloading Windows 10 bluetooth does not.
Seen above Notebook, previous bluetooth not working properly. HP service authentic carloss replaced recently the same thing. After downloading Windows 10, bluetooth does not work. Please help in this regard.
Aashrita Dule
Hello:
It is very unlikely that the Ralink bluetooth radio that has your model is compatible with Windows 10.
The only suggestion I can offer would be to try the bluetooth W10 Ralink driver and see if it works.
-
j ' have an asus x93s it does not read my dell AIO 926 photo printer all-in-one. I HAVE BEAUTIFUL DOWNLOAD THE DRIVER.CA DOES NOT WORK!
Microsoft answers site provides support in English. The following Uniform Resource Locator (URL) will be low - you receive information appropriate for your set up support. Open the link and get your region from the drop-down list, and then click the arrow to continue.
-
FVD video Downloader for Google Chrome does not.
Google Chrome FVD Video Downloader does not work. When I click on the button
an empty bubble appears saying nothing. someone tell me full gas should be there.Good bye. FVD video Downloader for Google Chrome does not. Good bye.Hello
1 did you do changes on the computer before the show?
2. what browser do you use?
I suggest you to reinstall the software and see if the problem is resolved.
Step 1: Uninstall extensions
See the site:
Uninstall the extensions
http://support.Google.com/chrome/bin/answer.py?hl=en&answer=113907
Step 2: Install the extensions
See the site:
How to install extensions
http://support.Google.com/chrome_webstore/bin/answer.py?hl=en&answer=167997
If the problem persists, then I suggest you to visit:
-
Creative cloud is dead and no download possible because it does not open.
Does not open App | Wheels of progress turn continuously
https://helpx.Adobe.com/creative-cloud/KB/creative-cloud-app-doesn ' t - open.html
-
I can't not persistent install the latest update of Adobe Audition. It is not a CC version but came on disc in CS6. I constantly get this error message after you download the update that does not install: U43M1D207. What are the steps to perform this installation?
-
I want to download legacy, but he does not appear in my creative cloud. I want to download it as a trial version.
You must have a 64-bit computer and operating system to download, install and run After Effects.
CHECH that you are using a 64-bit system.
-
Hello! Help, please! I bought the original version of Illustrator, there is a very long download, but the final does not charge, what should I do?
Available downloadable Setup files:
- Suites and programs: CC 2015 | CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC, XI, X | Suite X | 9,8 | 9 standard | 8 standard
- Captivate: 8 | 7 | 6 | 5.5, 5 | 1
- Cold Fusion: 11: 10 | 9.0.2 version 9.0.0, 9.0.1, 8.0.1, 8.0.0, 7.0, 6.1, 6.0, 5.0, 4.0
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
- Lightroom: 6| 5.7.1| 5 | 4 | 3
- Photoshop Elements: 14,13,12,11,10 | 9,8,7 win | 8 mac | 7 mac
- Premiere Elements: 14,13,12,11,10| 9, 8, 7 win | 8 mac | 7 mac
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
I bought adobe illustrator and waiting for the e-mail so I can download it but it does not appear
I bought adobe illustrator and waiting for the e-mail so I can download it but it does not appear
Hello
I don't see no active membership/registration under the Adobe Id on the forums.
Please confirm if there is any other Adobe Id in which you may have subscribed.
Kind regards
Sheena
-
Win version first elements 14 rather than Mac version you downloaded. Serial number does not work. How to get the right serial number?
It is unclear what problem you are facing... the wrong version or the wrong serial number. The serial number is likely for the other version. You don't want the serial number of Windows or the Mac version?
One of the following conditions may be useful...
You can exchange languages/platforms for a newer version product if you follow the instructions on the following link:
l http://helpx.adobe.com/x-productkb/Policy-Pricing/Order-Product-Platform-Language-swap.htm
To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.Serial number and activation support (non - CC) chat
https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp -
re downloaded suite cs5 and does not accept my serial number
re downloaded suite cs5 and does not accept my original serial number
Hi Charles,
Please see: error of incorrect serial number
I hope this helps.
Concerning
Megha Rawat
-
I installed the download Assistant and she show Acrobat is downloaded, but the program does not run or listed as a program. The only thing listed under programs is the wizard. When I click on it, it gives me just the possibility to download Acrobat again.
Charlesgreen123 after the installation files are downloaded, you can run the Setup program to install Acrobat. By default, the installation files are saved in your download folder.
Maybe you are looking for
-
Delete the old partition of Vista HDDRecovery after migration to W7
I bought my PC with Vista, including a special partition DATA (E) containing HDDRecoverySince I installed Windows 7 and I have created a new recovery disk.Is it possible to delete the old partition E now?Thank you for your response.
-
Buenas Amigos are posible instalar win 8 64 bit en mi lapto hp6730s pro? TODO are intel, el detail como hago con los contralodores. Quiero hacer el upgrade as I have win 7 ultimate 64 bit, fits me well.
-
Satellite P200 - Win 7 x 64 install memory 4 GB (3 GB usable)
Hello I update my Satellite P200 (PSPBGA-01W015) for Windows 7 x 64 but I had problem with memory, Windows said: installed memory 4 GB (3 GB usable). In the resource material say monitor reserved 1026MB When I check the properties of the graphics car
-
I need support for the second hard drive on my Aspire 8942 G...
I want to install a hard drive of diving Bay 2nd in my 8945G and I need a support to hold it in place. Uses same medium used for the original HD. Any help to locate one, please?
-
My windows maximized all of a sudden and I need to know how to make them smaller?
I read my email and all of a sudden my enlarged windows and fonts with them, that's happened once before and the maintence system I managed to fix the problem this time but his does not work?