File upload conflict with BC4JRequestProcessor under 10g

Hello.
I'm using file upload in application designed in JDeveloper 9i with STRUTS framework. Request processor is BC4JRequestProcessor. Application uses file upload performed with form derrived from ActionForm with property of interface FormFile. Everything was OK until migration to 10g was performed. Under 10g, the NullPointerException is reported in MultipartUtil class called from BC4JRequestProcessor. Details:java.lang.NullPointerException
at oracle.jbo.html.struts11.MultipartUtil.populate(MultipartUtil.java:227)
at oracle.jbo.html.struts11.BC4JRequestProcessor.processPopulate(BC4JRequestProcessor.java:433)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
...The problem is, that method "populate" of MultipartUtil class doesn't resolve the MultipartRequestHandler parameter and the names of the parameters (Enumeration names) has than a null value. There is a NullPointerException thrown after an attempt of iteration of this enumeration.
Any suggestions?
Thanks.

just found this thread
BC4J MultipartRequestHandler is null

Similar Messages

  • Interakt File Upload incompatible with Firefox?  Recommend ASP Upload tool?

    Hi,
    I've been using Interakt's File Upload tool for quite some
    time but have
    recently been made aware that it doesn't work in Firefox!
    Anyway, I notice that Interakt no longer exist now, having
    been bought out
    by Adobe some time ago as it turns out.
    Has anyone experienced this problem and found a solution?
    Adobe aren't
    offering any support for the Interakt products and no-one is
    answering, or
    even looking at, their forums.
    My feeling is that I'll need to just scrap the Interakt
    extension and try
    something else? Can anyone recommend a good File Upload
    extension for
    Dreamweaver ASP/VBScript?
    Please do not recommend DMX Zone as I am looking for a
    company that actually
    provides customer support for their products!
    Thanks for any advice offered. Much appreciated
    Nath.

    Hi Joris,
    Is the Adobe Dreamweaver Developer Toolkit included with
    Dreamweaver CS3?
    I'm using Dreamweaver 8.0.2 at the moment, but I would
    upgrade to CS3 if it
    included the Developer Toolkit. If not, it would appear that
    Adobe want
    $299 for it, although I'm in the UK, so it'll probably be
    double that! :o(
    I was previously using Interakt's File Upload
    behaviour/extension, but the
    re-direct code isn't Firefox compatible, so it doesn't
    re-direct correctly:
    <!--#include file="includes/common/KT_common.asp" -->
    <!--#include file="includes/tNG/tNG.inc.asp" -->
    <%
    'Make a transaction dispatcher instance
    Dim tNGs: Set tNGs = new tNG_dispatcher
    tNGs.Init ""
    %>
    <%
    'start Trigger_FileUpload trigger
    'remove this line if you want to edit the code by hand
    Function Trigger_FileUpload (ByRef tNG)
    Dim uploadObj: Set uploadObj = new tNG_FileUpload
    uploadObj.Init tNG
    uploadObj.setFormFieldName "imageone"
    uploadObj.setDbFieldName "imageone"
    uploadObj.setFolder "itemphotos/"
    uploadObj.setMaxSize 1000
    uploadObj.setAllowedExtensions "jpg, gif, jpeg"
    uploadObj.setRename "auto"
    Set Trigger_FileUpload = uploadObj.Execute()
    End Function
    'end Trigger_FileUpload trigger
    %>
    <%
    'start Trigger_Custom trigger
    Function Trigger_Custom (ByRef tNG)
    query = "SELECT rowID FROM table WHERE rowID = " &
    Session("rowIDsess")
    On Error Resume Next
    Set rsCheck = tNG.connection.Execute(query)
    if (Err.Number <> 0) OR (Not rsCheck.EOF) then
    KT_redir("confirmation.asp")
    else
    Set Trigger_Custom = nothing
    end if
    On Error GoTo 0
    End Function
    'end Trigger_Custom trigger
    %>
    As you can see, it should redirect to confirmation.asp, but
    this doesn't
    work in Firefox - it just loads a blank white page! Do you
    have a re-direct
    selected in your form using Kollection 3.7.1? Does it work?
    Is my code
    vastly different to what you've got?
    I purchased Advanced HTML Editor from DMX Zone, experienced a
    problem with
    it, sent e-mails and posted on their forum. I did not receive
    ONE reply. I
    won't be back.
    Would appreciate any help you could offer.
    Thank you.
    Nathon.
    > Some of the interakt products are now sold as Adobe
    Dreamweaver Developer
    > Toolkit,
    > using Kollection 3.7.1 I can't reproduce not being able
    to upload in
    > Firefox on Mac and Windows.
    >
    > I have good experiences with DMXZone support, why are
    you suggesting
    > they're not providing support?

  • File Upload- problem with IE

    I am using commons file upload:
    When I do item.getName() I am getting the name of the file(When I use Mozilla Browser).
    But with IE I am getting the full path instead of name of file.
    So this creates the issues while uploading.
    Can any one help me out with this.
    Thanks
    Aniketh

    Just trim off the file path? The java.lang.String API offers useful methods for that.
    Also see http://balusc.blogspot.com/2007/11/multipartfilter.html for an example.

  • File upload: problem with writing uploaded file to server-harddisk

    Hello,
    according to the example in the File upload tutorial, I tried to save an uploaded file to disk, but it didn't work (and also no messages / exceptions were thrown).
    The Javadoc for the function uploadedFile.write(filename) says that if the file should be written in an other directory than the servers' tmp-directory, the server.policy has to be adjusted.
    The following line is already included in my server.policy:
    permission java.io.FilePermission "<<ALL FILES>>", "read,write";
    So I have two questions:
    1) Where can I find the servers' tmp-directory?
    2) How should the sever.policy permission code look like?

    The File Upload tutorial at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/file_upload.html has you save the uploaded file to disk. It also gives this information:
    The server holds the uploaded file in memory unless it exceeds 4096 bytes, in which case the server holds the file contents in a temporary file. You can change this threshold by modifying the sizeThreshold parameter for the UploadFilter filter entry in the web application's web.xml file. For more information on modifying the web.xml file, see the last section in this tutorial, Doing More: Modifying the Maximum File Upload Size.
    In cases where you want to retain the uploaded file, you have three choices:
    * Write the file to a location of your choosing, as shown in this tutorial.
    * Create an UploadedFile property in a managed bean and set it to the component's value before you exit the page (as in the button's action method).
    * Save the file to a database.
    By default, the File Upload component can handle files up to one megabyte in size. You can change the maximum file size by modifying the maxSize parameter for the UploadFilter filter entry in the application's web.xml file, as described in the last section in this tutorial, Doing More: Modifying the Maximum File Upload Size.

  • Dreamweaver CS5.5 file upload problems with javascript

    Hi,
    Maybe someone can help me. I have both CS4 and CS5.5 and Lion installed.
    When I upload files to the remote server, formatting for all source code (including javascript) is lost. And then any javascript functions on the website do not work. I have the same problem when uploading files with Filezilla.
    Another problem - probably related - is that under Firefox javascript of my local website does not work (it works on a fresh start, but only for the first link), while the remote site under Firefox works fine. Safari works both remotely and local.
    Now, when I boot the Mac from the Snow Leopard partition, everything works just fine. So it must have to do with Lion.
    Does anyone know how to fix this, please?

    Hi, thank you for helping.
    Line Break is set to CR (Macintosh). I don't know what OS our host server is running. I would assume it is either  Linux or Windows.
    On the other user account Line Break was set to LF (Unix), so I switched it on my account as well.
    After that the file transferred with the code intact. Just out of curiosity I switched the setting back, and it still works, but only for new files. Also, old files can no longer be deleted.
    Firefox hasn't changed. Under the other user the local site works, under my user, the scripts still don't work.
    So, I am very confused. I will give Apple a call to see, how I can reset the user preferences and report back.

  • Flex file upload issue with large image files

         Hello, I have created a sample flex application to upload an image and also created java servlet to upload and save image and deployed in local tomcat server. I am testing the application in LAN. I am able to upload small as well as large image file(1Mb) from some PCs but in some other PCs I am getting IOError while uploading large image files however it is working fine for small images. Image uploading is hanging after 10%-20% and throwing IOError. *Surprizgly it is working Ok with XP systems and causeing issues with Windows7 systems*.
    Plz give me any idea to get a solution.
    In Tomcat server side it is giving following error:
    request: org.apache.catalina.connector.RequestFacade@c19694
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
            at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.ja va:126)
            at flex.servlets.UploadImage.doPost(UploadImage.java:47)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProto col.java:594)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStre am.java:982)
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:8 86)
            at java.io.InputStream.read(InputStream.java:101)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:96)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66)
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)
    UploadImage.java:
    package flex.servlets;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    import java.util.regex.*;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    import sun.reflect.ReflectionFactory.GetReflectionFactoryAction;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UploadImage extends HttpServlet{
             * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
             *      response)
            protected void doGet(HttpServletRequest request,
                            HttpServletResponse response) throws ServletException, IOException {
                    // TODO Auto-generated method stub
                    doPost(request, response);
            public void doPost(HttpServletRequest request,
                            HttpServletResponse response)
            throws ServletException, IOException {
                    PrintWriter out = response.getWriter();
                    boolean isMultipart = ServletFileUpload.isMultipartContent(
                                    request);
                    System.out.println("request: "+request);
                    if (!isMultipart) {
                            System.out.println("File Not Uploaded");
                    } else {
                            FileItemFactory factory = new DiskFileItemFactory();
                            ServletFileUpload upload = new ServletFileUpload(factory);
                            List items = null;
                            try {
                                    items = upload.parseRequest(request);
                                    System.out.println("items: "+items);
                            } catch (FileUploadException e) {
                                    e.printStackTrace();
                            Iterator itr = items.iterator();
                            while (itr.hasNext()) {
                                    FileItem item = (FileItem) itr.next();
                                    if (item.isFormField()){
                                            String name = item.getFieldName();
                                            System.out.println("name: "+name);
                                            String value = item.getString();
                                            System.out.println("value: "+value);
                                    } else {
                                            try {
                                                    String itemName = item.getName();
                                                    Random generator = new Random();
                                                    int r = Math.abs(generator.nextInt());
                                                    String reg = "[.*]";
                                                    String replacingtext = "";
                                                    System.out.println("Text before replacing is:-" +
                                                                    itemName);
                                                    Pattern pattern = Pattern.compile(reg);
                                                    Matcher matcher = pattern.matcher(itemName);
                                                    StringBuffer buffer = new StringBuffer();
                                                    while (matcher.find()) {
                                                            matcher.appendReplacement(buffer, replacingtext);
                                                    int IndexOf = itemName.indexOf(".");
                                                    String domainName = itemName.substring(IndexOf);
                                                    System.out.println("domainName: "+domainName);
                                                    String finalimage = buffer.toString()+"_"+r+domainName;
                                                    System.out.println("Final Image==="+finalimage);
                                                    File savedFile = new File(getServletContext().getRealPath("assets/images/")+"/LowesFloorPlan.png");
                                                    //File savedFile = new File("D:/apache-tomcat-6.0.35/webapps/ROOT/example/"+"\\test.jpeg");
                                                    item.write(savedFile);
                                                    out.println("<html>");
                                                    out.println("<body>");
                                                    out.println("<table><tr><td>");
                                                    out.println("");
                                                    out.println("</td></tr></table>");
                                                    try {
                                                            out.println("image inserted successfully");
                                                            out.println("</body>");
                                                            out.println("</html>");  
                                                    } catch (Exception e) {
                                                            System.out.println(e.getMessage());
                                                    } finally {
                                            } catch (Exception e) {
                                                    e.printStackTrace();

    It is only coming in Windows 7 systems and the root of this problem is SSL certificate.
    Workaround for this:
    Open application in IE and click on certificate error link at address bar . Click install certificate and you are done..
    happy programming.
    Thanks
    DevSachin

  • File upload - issue with European .csv file format

    All,
    when uploading the .csv file for "Due List for Planned Receipts" in the File Transfer Upload center I receive an error.  It appears that it is due to the european .csv file format that is delimited by semicolon rather than comma. The only way I could solve this issue is to change Regional and Language options to English. However, I don't think this is a great solution as I can't ask all our suppliers to change their settings.  Has anyone come across this issue and another way of solving it?
    Thank you!
    Have a good day,
    Johanna

    Igor thank you for your suggestion. 
    I found this SAP note:
    +If you download a file, and the formatting of the CSV file is faulty, it is possible that your column separator does not match the standard settings of the SAP system. In the standard SAP system, the separator is ,.
    To ensure that the formatting is correct, set your global default for column separation in your system, so that it matches that of the SAP system you are using.+
    To do that Microsoft suggests to change the "List separator" in the Regional and Language Options Customize view. Though like you suggest that does not seem to do the trick. Am I missing something?
    However, if I change the whole setting from say German to English (UK) the .csv files are comma delimited and can be easily uploaded.  Was hoping there would be another way of solving this without need for custom development.

  • File upload interface with gui_upload

    Hi Experts,
    I am trying to use the method GUI_UPLOAD of the class CL_GUI_FRONTEND_SERVICES.
    But the problem is I am not getting a dialog box where we can select the file by browsing our computer.( like the browse button in Windows).
    I remember getting this dialog box when using the FM WS_UPLOAD.
    But this is obsolete and cannot use in Unicode programs.
    What should I do? and how?
    can anybody help me?
    Thanks in advance.
    Goldie.

    May be this way
    * At selection screen event                                            *
    at selection-screen on value-request for p_file1.
      perform f_get_f4_filename using p_file1 changing p_file1.
    *  Form f_get_f4_filename                                              *
    * For F4 help for file name                                            *
    form f_get_f4_filename using pfile changing pfile1.
    * Private Variables
      data :v_subrc     type i.
      refresh : i_file1. clear i_file1.
      call method cl_gui_frontend_services=>file_open_dialog
        exporting
          window_title            = 'Select Files'
          default_extension       = '*.xls'
          default_filename        = '*.xls'
          initial_directory       = 'c:'
          multiselection          = ' '
        changing
          file_table              = i_file1
          rc                      = v_subrc
        exceptions
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 4
          others                  = 5.
      if sy-subrc eq 0.
        loop at i_file1 assigning <fs>.
          pfile1 = <fs>.
          exit.
        endloop.
      else.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                                 " F_get_f4_filename

  • File Upload program with return value

    Hello,
    I have the following code in my Java program which I use to upload files and return the value of "filename" to the original opening window. Somehow there where changes which now invalidates this piece of code and gave a javascript error message of
    "Error : Access is denied"
    "Code : 0"
    Here is the portion of the code where processing seems to stop.
    fileOut.flush();
    out.println("<script language='javascript'>");
    out.println("this.window.opener.document.frm.sign2.value='" + saveFile + "';");
    out.println("window.close()");
    out.println("</script>");
    out.println("<br> !!! File written " +
    "<br> This is an attachment confirmation page" +
    "<br> *** Please close this window ***");
    More particularly the statement --> out.println("this.window.opener.document.frm.sign2.value=" + saveFile + ";");
    As I have stated, this program worked before and returns the value to the opening window.
    Now, it can still upload but doesn't not return the saveFile to the field sign2 of the opening window.
    Any help or leads will be very helpful and appreciated.
    Thanks very much.
    Juan

    No need of ; after window.close() ?

  • How to Rename a Topic ID in Map File to Avoid Conflict with Another Program?

    Robo 8 HTML:
    Can somebody assist me in understanding how to rename a topic ID in my map.h file?
    An application programmer informs me there are nine topic IDs (shown below) in my project map file which conflict with predefined names of constants/functions from the Visual Studio Libs program and, is requesting I change the names of the topics listed below to resolve topic ID conflict in order to enable F1 call for these topics.
    #define Open    59
    #define Save    60
    #define Print   63
    #define Cut     72
    #define Copy    73
    #define Paste   74
    #define Clear   75
    #define Status  81
    #define Substructure  139
    Can I simply alter the topic names and retain their associated map numbers in <Create/Edit Map ID> dialog to resolve the map file conflict with Visual Studio Libs program functions? Or, is there more work involved in changing a topic name in a map.h file?
    Any assistance with this question is greatly appreciated.
    Thanks,
    robert

    Hi,
    Simply renaming the TopicID's in the .h file won't work. The TopicID is used in the alias file (projectname.ali) to link a map number with a topic. Also, you can use either TopicID's or map numbers to call the help. (Using TopicID's only works for WebHelp afaik.)
    If you use map numbers to call the help, you can rename the TopicID using the mentioned dialog. No problem.
    If you want to change the ID from the files, you have to change both the .h file as the .ali file. No changes to topics needed.

  • File upload with DAD not working

    Hi all,
    I have an application which uses the file upload function, similar to the sample http://otn.oracle.com/products/database/htmldb/howtos/howto_file_upload.html
    During the development I was not using a DAD and it was working perfectly. Now I have changed the application to use a DAD and now the file upload fails with a HTTP 404 - File not found error
    [DAD_din]
    connect_string = deccasm01os.na.decoma.com:1521:DIN
    ;password =
    ;username =
    ;default_page =
    document_table = wwv_flow_file_objects$
    document_path = docs
    document_proc = wwv_flow_file_mgr.process_download
    ;upload_as_long_raw =
    ;upload_as_blob =
    ;name_prefix =
    ;always_describe =
    ;after_proc =
    ;before_proc =
    reuse = Yes
    ;connmax =
    ;pathalias =
    ;pathaliasproc =
    enablesso = No
    ;sncookiename =
    stateful = STATELESS_RESET
    ;custom_auth =
    response_array_size = 128
    ;exclusion_list =
    ;cgi_env_list =
    bind_bucket_widths = 32,128,1450,2048,4000
    bind_bucket_lengths = 4,20,100,400
    ;error_style =
    ;nls_lang =
    BTW, it is on HTMLDB v1.6 on 9iDB (9.2.0.4)
    thx

    Rob,
    The File Browse item type does not require upload table WWV_FLOW_FILE_OBJECTS$. The POST for the File Browse item type is intercepted by modplsql and is inserted into the Document Table as defined by the Database Access Descriptor.
    You could ultimately create your own DAD with your own Document Table. The Document Table would have to contain the minimum definition as described at:
    http://download-west.oracle.com/docs/cd/B14099_03/web.1012/b14010/concept.htm#i1005880
    This way, users of the application using the Basic Database Authenticated DAD would be uploading directly into your table and not the HTML DB one. A word of caution, though, is that you would never want to use this DAD with HTML DB development itself...you would need to use the DAD that specifies upload into WWV_FLOW_FILE_OBJECTS$ for HTML DB development.
    I hope this helps.
    Joel

  • File Upload, how to get full file name

    Hi Experts,
    I have to get the complete file path when I use fileupload UI Element. but I am not able to achive this.
    I used a File Upload UI, with filename property mapped to string variable filename and Data mapped to a binary variable filedata.
    I tried to get the file name in below ways
    1. wdContext.nodefile().currentfileelement.getfilename();
    and
    2. through modifiablebinary type also.
    but in both cases I am getting only the file name, but not the complete path.
    Is there any way that I can get the file path.
    If I uplod a file in D drive (example.txt),
    I am getting the file name as example.txt but I want to get it as D://example.txt
    Please help me,
    Regards,
    Srinivas

    Hi
    What Stream are you using for read a file ?
    InputStream inputStream = resource.read(false);
    File  filePath = new File(inputStream.toString());
    wdComponentAPI.getMessageManager().reportWarning(filePath .getAbsolutePath());
    Best Regards
    Satish Kumar

  • Process triggered by file upload - is GP the right tool?

    Hello All,
    I have a process I need to model that starts with a file upload from the user, followed by some manipulation of the file by some web services.
    Is GP the right tool for modeling that process?
    After completing the file upload action, how can I access the the uploaded file on the server?
    Do I need to implement the file upload handling with Webdynpor?
    Thanks!
    Yossi

    Yossin,
    Based on your requirement, the GP process would be to use File Input CO followed by Web Service CO (in that order). Consolidate the output param of File Input CO (which is the File Structure) to the input for the Web Service CO (which is also a structure). I dont think you need to save the file to the local drive. The web service should be able to consume the uploaded file (which resides in the process context).
    Thanx,
    Mahesh

  • Problem with file upload in JDeveloper 10.1.2 version

    Hi,
    My application is running in JDveloper 10.1.2.1 version with BC4J Struts. Now, I want to do a module with file upload. I am getting an error in the uploading section as
    java.lang.NullPointerException
    at oracle.jbo.html.struts11.MultipartUtil.populate(MultipartUtil.java:227)
    at oracle.jbo.html.struts11.BC4JRequestProcessor.processPopulate(BC4JRequestProcessor.java:433)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:673)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Please suggest me an option to resolve the issue.
    Regards,
    Jobz....

    I remember that there was a bug in the MultipartHandler of the BC4JRequestProcessor in one of the 10.1.2.x version, however I'm nit sure which one. I found the old fix we implemented back then
    Try this request processor and see if this helps:
    package xx.yy.zz.common;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.html.struts11.BC4JActionMapping;
    import org.apache.struts.Globals;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.upload.MultipartRequestHandler;
    import org.apache.struts.upload.MultipartRequestWrapper;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import oracle.jbo.html.HtmlServices;
    import oracle.jbo.html.struts11.BC4JRequestProcessor;
    import oracle.jbo.html.struts11.MultipartUtil;
    * RequestProcessor for Apache Struts based applicartions
    * Fix for a bug in <code>BC4JRequestProcessor</code> Multipart-Requests (e.g. Upload).
    * @projekt common
    public class HvbgBC4JRequestProcessor extends BC4JRequestProcessor {
         * Override to fix a bug. Note that this works only if all ActionMappings in the project
         * are of the type BC4JActionMapping.
         * @see oracle.jbo.html.struts11.BC4JRequestProcessor#processMultipart(HttpServletRequest) processMultipart
        protected HttpServletRequest processMultipart(HttpServletRequest request)
            // Overide only if the action mapping is a BC4JActionMapping.
            BC4JActionMapping mapping = (BC4JActionMapping) request.getAttribute(Globals.MAPPING_KEY);
            if (HtmlServices.isMultipartPost(request)) {
                MultipartRequestHandler handler = MultipartUtil.retrieveMultipartHandler(request);
                if (handler == null) {
                    try {
                        request = MultipartUtil.parseMultipartRequest(request, servlet);
                    catch (ServletException se) {
                        throw new RuntimeException(se.getMessage());
                else {
                    // This is a forward from a Multipart Post upload
                    if (!(request instanceof MultipartRequestWrapper)) {
                        request = new MultipartRequestWrapper(request);
                        MultipartUtil.setWrapperParams(handler, (MultipartRequestWrapper) request);
                    else {
                        // do nothing
            return (request);
    Don't forget to set this new class in your struts-config.xml file!
    Timo

  • Error "PPE is working" on File Upload with Oracle Portlet running 10.1.2

    I am attempting to perform file upload using an Oracle Portlet running under the 10.1.2 Portal.
    All the examples I have seen indicate you must identify the encoding type as "multipart/form-data" in your JSP. When I do this and attempt to submit the page I get a blank screen with the words "PPE is working.".
    Looking at the "http-web-access.log" on my OC4J Standalone server I can see that the Standalone server never actually receives the request. For some reason it appears the Portal is not forwarding the request to OC4J like it is suppose to.
    Can someone tell me what might be wrong? Does anyone have experience implementing file upload using Oracle Portlets and the 10.1.2 Portal?
    Thanks,

    I have encountered the same problem 4 years before. Finally i figured out, Oracle Portal is not supporting "multipart/form-data".
    Work around is write a servlet program to upload the file into DB.
    This blog may help you.. http://bsubramaniam.blogspot.com/search/label/Java%20File%20Upload
    --Balaji S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • How to extract data from RR cluster n B2 cluster for data warehousing.

    Hi,     Our company wants to make backup of RR cluster and B2 cluster data of all employees. its basically moving all the employee master data to data warehousing. Your suggestions are appreciated. Cheers, Senthil

  • External LaCie HD not being recognized after 10.5.6 upgrade?

    My LaCie HD used for Super Duper backup is not being recognized by OSX. I also use a WD HD for Time Machine backup. Before I upgraded to 10.5.6 i repaired permissions and backedup to the LaCie. Now when I turn on the drive, OSX does not see the drive

  • HT1420 de-authorization of a decommissioned PC

    1.  I have decommissioned two of the five PCs iTunes thinks are still authorized.  I have, in fact, destroyed the hard-drive of two of the five authorized pcs in my household.  How does one de-authorizes the decommissioned PCs in this case? 2.  We no

  • Which Apple laptop is most appropriate for university students?

    I just purchased a 15.4" MacBook Pro for university, which I am starting for the first time in the fall. After having received it however I have my doubts if I chose the right one - weight and size being some of my biggest concerns, along with batter

  • Compiling and linking Pro*c

    Hi All. i want to know the complete process os compiling and linking Pro*c programs. Q:1. Do i need to install visual studio? Q:2. If yes, please tell me complete procedure for setting environment variables and usage. Q:3. If visual studio is not req