Blob download issue
Hi , all. Why that code:
select some_csv_blob
from somewhere
where someone = somewhat
v_mime:= 'text/csv';
v_file_name:= 'some_file_with_a_strange_name';
OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
HTP.p ('Content-length: ' || v_length);
if INSTR(UPPER(OWA_UTIL.GET_CGI_ENV('HTTP_USER_AGENT')), 'MSIE') > 0 then
HTP.P ('Content-Disposition: attachment; filename="'
|| UTL_URL.ESCAPE( v_file_name, FALSE, 'UTF-8' ) || '"');
else
HTP.P('Content-Disposition: attachment; filename*=UTF-8'''''||UTL_URL.ESCAPE( v_file_name, FALSE, 'UTF-8' ));
end if;
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file(blob_content);
apex_application.stop_apex_engine;
always force browser not to download a blob file , but load into current browser window ?
Thanks in advance.
Any thoughts ?
Similar Messages
-
Hi All,
I have designed an APEX application to download multiple files. I have check box in each row of the file name and a download button.
When the users checks set of checkboxes and click on the "Download" Button, i am expecting the marked files to be downloaded. I am encountering the below issues in this implementation(i.e single file download is fine):
1. When ticks all the check boxes and click download, the files are never downloading. The target URL goes something like this :
www.example.com/abc/bcd/wwv_flow.accept
and there is a cross icon in the new page. No download happening.
2. When ticks few files and leave rest of the files un-checked, there are either junk charactes in target page (or) only the last checked box file alone downloading.
Please refer the code below and advice. Thanks very much in advance.
Code:
=====
declare
check_box_val varchar2(500):=' ';
file_name varchar2(500):=' ';
begin
for i in 1..htmldb_application.g_f01.count
loop
check_box_val:=nvl(htmldb_application.g_f02(i),' ');
if(check_box_val<>' ') then
sho_pdf(check_box_val);
end if;
end loop;
exception
when others then
null;
end;
sho_pdf.sql
========
CREATE OR REPLACE PROCEDURE FDM_UAT14.sho_pdf(p_file in varchar2)
AS
l_blob BLOB;
l_bfile BFILE;
BEGIN
DBMS_LOB.createtemporary (l_blob, TRUE, DBMS_LOB.SESSION);
l_bfile := BFILENAME ('UPDOWNFILES_DIR', p_file);
DBMS_LOB.fileopen (l_bfile);
DBMS_LOB.loadfromfile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
DBMS_LOB.fileclose (l_bfile);
OWA_UTIL.mime_header ('application/octet',
bclose_header => FALSE);
HTP.p ('Content-length: ' || DBMS_LOB.getlength (l_blob));
HTP.p( 'Content-Disposition: filename="' || p_file || '"' );
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file (l_blob);
DBMS_LOB.freetemporary (l_blob);
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
/I have read that "patch number 8548651" need to be applied in order to download multiple files in Single Page. Is it true? Pls refer this page :
http://dgielis.blogspot.com/2010/01/oracle-application-express-patch-set.html
8555172 -- BLOB download links are incorrect when multiple file items referenced on a page. -
Download issue in a portlet page
Hi,
We have the following download issue in the portlet: Download works in an expected way in a standalone application, but fails when trying to do the same from a portlet.
1. We have a blob column in a table (Oracle 10g db), and we have uploaded files into the blob column through the JSF page using Trinidad my faces application.(using JSF + BC4J) in Jdeveloper 11g
2. We have an another JSF page which would list files uploaded, with the file names being hyperlinked, so that the user can click on the file name to download the file.
3. When we try to download the file, it works fine in a standalone OC4J, but fails with the error in a portlet :
4. We have portletized the download page and deployed the entire application as WSRP provider enabled portlet application onto embedded Webcenter OC4J.
5. When we tried to download the file, by clicking on the file name link in the download page (which is part of the portlet), we ge the error as given below:
Is it an issue with the portletization ? Can you please provide pointers to resolve the issue ? Is it the same limitation as any portal application wherein for download, we need to go outside the portal, that means, we have to explicitly call servlet to flush the file content onto the outputstream ? If this is the workaround, then please let us know how this can be accomplished in the above scenario.
Thanks and Best Regards, nattuPlease find the stack trace, which was missed in the original post :
08/02/12 14:42:01 PortletExternalContextImpl.getViewId: found action_id = null
08/02/12 14:42:01 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /Incidents.jspx
08/02/12 14:42:01 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
08/02/12 14:42:01 Received RenderParams:
08/02/12 14:42:01 logMap completed
08/02/12 14:42:01 PortletExternalContextImpl.getViewId: found action_id = null
08/02/12 14:42:01 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /ListIncidents.jspx
08/02/12 14:42:01 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
08/02/12 14:42:01 Received RenderParams:
08/02/12 14:42:01 logMap completed
08/02/12 14:42:02 PortletExternalContextImpl.getViewId: found action_id = null
08/02/12 14:42:02 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /Locations.jspx
08/02/12 14:42:02 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
08/02/12 14:42:02 Received RenderParams:
08/02/12 14:42:02 logMap completed
08/02/12 14:42:02 PortletExternalContextImpl.getViewId: found action_id = /SearchLocationBCDR.jspx
08/02/12 14:42:02 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
08/02/12 14:42:02 Received RenderParams:
08/02/12 14:42:02 Map entry: ACTIONID value:/SearchLocationBCDR.jspx
08/02/12 14:42:02 Map entry: adf.winId value:10621624244
08/02/12 14:42:02 Map entry: adf.ctrl-state value:10621624243
08/02/12 14:42:02 logMap completed
08/02/12 14:42:07 PortletExternalContextImpl.getViewId: found action_id = /SearchLocationBCDR.jspx
08/02/12 14:42:07 ADFPortletExternalContextImpl.<init>: skinId=null ;stylesheetId=null
08/02/12 14:42:07 Received ActionParams:
08/02/12 14:42:07 Map entry: ACTIONID value:/SearchLocationBCDR.jspx
08/02/12 14:42:07 Map entry: adf.winId value:10621624244
08/02/12 14:42:07 Map entry: adf.ctrl-state value:10621624243
08/02/12 14:42:07 Map entry: adfpportlet_binding_id value:continuitySearchLocationBCDRjspx1_1
08/02/12 14:42:07 Map entry: table1:rangeStart value:0
08/02/12 14:42:07 Map entry: adfpiframe_dtd value:loose#
08/02/12 14:42:07 Map entry: j_id__ctru5 value:
08/02/12 14:42:07 Map entry: org.apache.myfaces.trinidad.faces.FORM value:form1
08/02/12 14:42:07 Map entry: javax.faces.ViewState value:!3
08/02/12 14:42:07 Map entry: adfppage_def_name value:/Flow1.jspx
08/02/12 14:42:07 Map entry: source value:table1:4:commandLink1
08/02/12 14:42:07 Map entry: table1:selected value:5
08/02/12 14:42:07 Map entry: adfpfaces_form_id value:j_id__ctru2
08/02/12 14:42:07 Map entry: adfpportlet_component_id value:portlet4
08/02/12 14:42:07 logMap completed
08/02/12 14:42:07 WARNING: Exception thrown in doFacesRequest:action
javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
at view.util.FileOperations.downloadFile(FileOperations.java:47)
at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
... 52 more
08/02/12 14:42:07 WARNING: An internal error has occurred in method performBlockingInteraction
javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:284)
at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.portlet.faces.BridgeException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:267)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
... 41 more
Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
at view.util.FileOperations.downloadFile(FileOperations.java:47)
at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
... 42 more
Nested Exception is javax.portlet.faces.BridgeException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:267)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
at view.util.FileOperations.downloadFile(FileOperations.java:47)
at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
... 42 more -
Cannot find BLOB Download Format Mask link.
Hello,
I cannot find the "BLOB Download Format Mask" link and I am using a current version of APEX. can someone tell me where I might find it? I have followed the instructions and see no such link under Page Item, Source. Please help!
Thanks
LEHScott,
Yes, I have created a form on a table and that table contains a column of datatype BLOB. I followed the APEX advanced tutorial for uploading and downloading files. Now I want to be able to display the (Blob) images that I have uploaded.
As I research the topic, I get the feeling that displaying the BLOB image can only be done in APEX 3.1 and up. Is this true? I have that version of APEX installed on my laptop and have successfully completed the "Defining and Viewing BLOB Data in Oracle Application Express 3.1" tutorial found here: http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
But I could not do it on the company server that runs APEX 3.0
Even if I did get the approval to have the company APEX application upgraded to 3.1, there still is the issue of scaling the images so that they are not so large. I understand that there is a UTIL.APEX function "GET_BLOB_FILE_SRC" that would do this for me. I read the documentation at:
http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/api.htm#CHDICGDA
After reading it, I was still not clear as to how to use it correctly. Is there any documentation on how to implement this function in APEX?
I did find something that I was hoping would help me. The article is entitled "Show Blob of other table in APEX Form" by Dimitri Gielis can be found here: http://dgielis.blogspot.com/2008/07/show-blob-of-other-table-in-apex-form.html
I tried to import the file "blob_support.sql" application (on both APEX 3.0 and APEX 3.1 systems) but got errors. I'm not having very much luck here and would appreciate the help in pointing me in the correct direction.
Help!!
Thanks
LEH -
Display image for BLOB Download link in Interactive Report
I have a table containing BLOB data and am displaying the table in an interactive report. I would like to replace the "Download" text link with an icon that represents the MIME type of the BLOB, but can't seem to find a way to make the substitution. Does anyone know how to do this? Thanks.
-JeffHey Ben,
Thanks for the suggestion. I understand what you are saying, the problem is that when you have an interactive report that includes a BLOB and you use the built-in method for displaying a download link, it only gives you the option of using a text link. The method is outlined in the online help under:
Home > Advanced Programming Techniques> About BLOB Support in Forms and Reports > About BLOB Support in Reports
This is done by using the following syntax in the Number/Date Format of the column attribute of the BLOB:
DOWNLOAD:CC_DOCUMENTS:CONTENTS:ID::MIME_TYPE:FILENAME:UPDATED_ON::attachment:View
Where the last parameter is the link text. The only problem is that there is no option for substituting an image rather than the link text. That's what I'm trying to work around. Sorry if you new all of this already, but I wanted to explain what I've already done. Thanks for any help you can offer. -
BLOB download from report region in translated application does not work
We created an application (APEX 3.1.2) with a base language dutch (300) and a translated application en-uk (3001). The problem is that in the translated application downloading BLOB's from a report region does not work and results in an error (page cannot be found).
The query source for the region is:
select naam
, dbms_lob.getlength(bestand)
, mimetype
from bos_documentatie
The column 'dbms_lob.getlength(filename)' is defined as a 'BLOB Download Format Mask' with the following setting:
DOWNLOAD:BOS_DOCUMENTATIE:BESTAND:NAAM::MIMETYPE:FILENAME:::attachment:Open
The URL's to the BLOB documents are different between the dutch and en-uk application:
dutch:
http://nldvnr01ux002:7792/pls/xvapexd/apex_util.get_blob?s=4260101889649158&a=300&c=12455124581749125&p=1001&k1=Application Multi Language.doc&k2=&ck=A24A5EA6903C5A9603B86D30F128F4DE&rt=CR
en-uk:
http://nldvnr01ux002:7792/pls/xvapexd/apex_util.get_blob?s=4260101889649158&a=300&c=12455124581749125.3001&p=1001&k1=Application Multi Language.doc&k2=&ck=7FF0C64FDD48A4D7A6892CFB2B6BCA57&rt=CR
As you can see the c parameter for the en-uk version has a '.3001' at the end, the internal ID of the translated application. I don't know if this can be the cause of the problem?Hi Peter,
Thanks for the suggestion. However we have a lot of APEX applications build in that same APEX version (one development database) and upgrading now to a higher APEX version would mean we would have to re-test all our applications and upgrade all our test and production environments, just for this bug. And, maybe the higher APEX version may not solve our problem.
Thanks and regards,
Patrick -
Download issue with Oracle 9i DataBase
I get the 404.htm error when I click the file download link.
Hi,<br>
<br>
There are too many threads about this one. Depend of your desired plateform.
See Downloads Issues<br>
<br>
Nicolas. -
HD Movie / TV episode download issue / problem / difficulty
The issue is that the download is extremely slow.
I purchased both the HD and the SD versions of Lost - "the Final Journey" - (2.56 GB and 1.11 GB respectively), as they are free.
The download was proceeding in parallel.
While the SD episode was downloaded in about 3 hours (370 MB per hour), the HD version was not moving at all (or almost). It did less than 10 MB in 3 hours (3.2 MB per hour).
I do not understand why the HD version which is 2.5 times larger, downloads at a pace of 100 time slower than standard definition version.
This experiment clearly shows that my connection is fine, and there is something different in the server that holds the HD version, or the way it is handled that makes the download so slow.
(the fact that they ran in parallel does not matter, because when the SD episode finished, the HD episode downloaded alone at the same slow pace).
I had a similar issue on a HD movie rental, but was not able to resolve it then,
and gave up. At the time, I did not have the SD version download in parallel.
Thanks,
Gideon.I guess Apple does not care enough to answer their customers. Do not purchase any more videos from the Apple Store until these forums no longer contain these download issues, especially with no replies. Funny, I don't have these problems with my PC companies!, You know, Real computer companies!
-
Hello Experts,
I am facing typical material download issue, please help me out to overcome this:
- material number in ERP has lot of speical characters say e.g. - : =
- DNL_CUST_PROD0 / PROD1 / PROD 3 / TAX all has bee done
- Materials are already downloaded
- When I tried to download new materials from ERP to CRM(missing) I am getting error: as "Mat. for Initial Download: Function table not supported" ; additionally I am also getting tax sequence for country CA, but in ERP no tax classification maintained for CA for particular material. Also no data available in TSTL, TSKD etc..tables.
Pleas let me throw your thoughts here.
Cheers,
BobbyHello Bobby,
Corrections present in note:1121999 was due to program error.
Did tax customizing error still present?Did you run txn:CRM_TAXCUST_VALIDATE.
Check the error tab of the Bdoc and see can you get any hint?Also,does the BDoc contains Data or its blank?
Its very difficult to know the cause unless having look into the system and debugging the issue,
Regards,
Shanthala Kudva. -
Filereference download issue on some browsers
Hi, Im having a filereference download issue which is turning
out to be rather elusive. I have it working great on my comp in ie,
however on my comp with firefox, or with any browser on my father's
computer we get the file browser popup and when we hit "save"
everything SEEMS to go OK but the file doesnt get downloaded. Weve
checked and re-installed all the browsers / flash plugins, and
nothing has changed. No error handelers get tripped, and Ive
checked the scope issue. The following is the code Im using,
published to flash 8 AS 2.
import flash.net.FileReference;
_root.vars.fileRef = new FileReference();
_root.functions.getit = function(){
_root.vars.fileRef.download("
http://www.myURL.com/myList.csv",
"myList.csv")
Thanks for your help.an absolute path would be something like:
www.yourdomain.com/subdirectory/yourfile.ext
(looking at the op's original message, i see he used an
http:// prefix which isn't going to work in any
case.)
a relative path from yourdomain's main directory would be:
subdirectory/yourfile.ext -
Satellite A350-212 PSAL6E BIOS download issue
Currently Toshiba driver download website does not list search results
so I could not download BIOS officially.
I have found for my Toshiba A350-212 PSAL6E BIOS but thats giving previllage error even I run as administrator. Maybe its not the actual BIOS.
I need the latest BIOS urgently,
Does any one have ?
PS: OS:=XPIt looks like there is an temporal driver download issue.
I recommend you to visit the page some time later -
Error code 3253 download issues
Can anyone help me fix downloading issues in itunes? Error 3253?
Try the direct download links for AAM found in this article
http://helpx.adobe.com/creative-cloud/kb/download-error-403-launching-aam.html -
I cannot download issues of New Yorker and Smithsonian Air
I cannot download issues of New Yorker and Smithsonian Air & Space since I in installed ios8. Where can I get assistance?
Tara which Adobe software specifically are you trying to install?
-
When downloading the trial, has anyone run into download issues?
when downloading the trial, has anyone run into download issues?
I remembered we have weird permission issues at work. Somewhere between my Home Windows 8 machine(horrible permissions issues with network), my home mac, email and my work computer, some permission got out of whack. The workaround for this was copying the file to my desktop, back to the exact same spot on the network. This resolved all issues.
-
IChat/Photobooth More Download Issues.
i've looked through many forms relating to this, but NONE has helped me at all. i downloaded "More iChat Effects 2.0.4" at
http://www.apple.com/downloads/macosx/email_chat/moreichateffects.html
for a lot of the settings, it comes out all inverted. its a brand new laptop, nothing is wrong with my iSight. i have the 10.6.4 version. here is my hardware info.
"Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro7,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.4 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 3 MB
Memory: 4 GB"
i know that you can change it to the 32-bit, but when ever i try switching it over to that, nothing comes up when i press down command-i. here is some more info if it can at all help you.
"System Software Overview:
System Version: Mac OS X 10.6.4 (10F569)
Kernel Version: Darwin 10.4.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: ----
User Name: ----
Secure Virtual Memory: Enabled
64-bit Kernel and Extensions: No
Time since boot: 3:22"
i do have snow leopard, and i am aware that screws the effects up. so help? please?Welcome to Discussions, cakwinn
cakwinn wrote:
i've looked through many forms relating to this, but ...
i know that you can change it to the 32-bit, but when ever i try switching it over to that, nothing comes up when i press down command-i. ...
(1) *Only applications* can show the "_Open in 32-bit mode_" option.
If you are using "Get Info" on some other filetype, not seeing 32-bit is expected. However, you should still see the Get Info window.
(2) Test as follows: select any application's iCon by clicking once on it in your Mac's "Applications" folder. Then hold down the "⌘" key and tap the "i " key once. The Get Info window should open.
(3) Having used the process in (2), if you still see "... nothing comes up ..."
Does that mean that no Get Info window opens?
If you are uncertain that you are seeing a Get Info window, here is a picture of one:
(Yours will contain different information.)
(4) If you do not see any "Get Info" window, try using the *File > Get Info* menu command instead of the "⌘ i" keyboard shortcut.
... i do have snow leopard, and i am aware that screws the effects up. so help? please?
I do not understand this.
(5) If this paragraph is still related to your +Get Info+ problem, see the suggestions above.
(6) If this paragraph relates to "download issues", please provide some explanation of the problem.
(7) If this paragraph is still about help with More iChat Effects problems, my best suggestion is you carefully follow the developer's uninstall instructions to remove this third-party add-on if it will not work with the Mac OS.
If you want keep trying to use MiE with SL, take a look at this recent thread about the same 32-bit and color-inverted problems you mention for other suggestions:
http://discussions.apple.com/thread.jspa?messageID=11879328�
(8) We will watch for your status update.
If you need other ideas to resolve your issue(s), we will try to offer specific suggestions based on the details in your response.
Because of the number of possible issues involved, please key your responses to the numbered items above. Add new numbers if I missed something.
EZ Jim
Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.4) MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.4)
LED Cinema Display G4 PowerBook 1.67GHz (10.4.11) iBookSE 366MHz (10.3.9) External iSight
Maybe you are looking for
-
Error while posting FB50 transaction code
Hi I am getting the below error while doing FB50 transaction code. Please help me My company code is using EUR & country is Greece Company code not assigned to country or country to calculation procedure Message no. FF703 Diagnosis An error occurred
-
HT4623 how can i sync my music from my apple pc to my iPhone 4s
how can i sync my music from my apple pc to my iphone 4s
-
Forms builder layout questions
Hi guys I have three questions on forms builder: 1. Is there a way to evenly space records? I see all the allign features but not arrange evenly. It really takes a lot of time to space 10 fields evenly vertically 2. Is it possible to have a fram with
-
Trying to add memory to 24" 2007 iMac
Trying to add memory to mid 2007 24"iMac. Big surprise - RAM access door screw is stripped. Any ideas about how to remove door panel without damage? Thanks
-
I need to get the Adobe Camera Raw to convert my Raw shots to jpeg. Do I buy Photoshop CS6, Photoshop CC or can I just get simply the ACR? I am not a professional photographer and am only using photoshop sparingly. I currently have an old version