Upload file in web form - ora-105101

I want to upload files in a web form. I downloaded fileupload utility, but I can't make it work.
I can launch the form, open the dialog box, choose a file, then the progress bar appear and a
ora-105101 is raised in the custom_item_event trigger. When I close the form after that, a Dr watson
box appear.
I tried java 1.2.2, then java 1.4.1, then java 1.1.8, with no success.
I tried Jinitiator 1.1.7.30, then 1.1.8.7, then 1.1.8.10, and finally 1.1.8.16, with no success.
I tried many many path and classpath setting, with no success.
I executed each time that (in the current jinitiator directory) :
javakey -r PJC
javakey -c PJC true
javakey -ic PJC c:\temp\pjc.x509
to ensure the security aspect is ok.
Do you have any ideas, or something ?
My configuration is :
forms 6.0.8.13.0
windows NT service pack 5
I use CGI mode to launch fileupload utility
Thanks,

The problem here is usually one of setting up the classpath correctly on the server.
If you run the Demo Form that comes with the utility and press KEY-LISTVAL then it will pop up an alert with the current classpath in it.
If this fails and you get an error it's because Forms can't start Java on the server at all which indicates that you need to check the o/s path that is configured for the CGI to use.
In general I'd recommend using the Forms listener Servlet with this kind of code because it means that you can do all you're configuration in a simple .env file.
Have a look at the HTML document that comes with the upload utility - there are some hints at then end of it to help with the setup.

Similar Messages

  • Upload file in Web Dynpro and add to Workflow container as SOFM object

    Hi!
    I have a Web Dynpro for ABAP application that should send attachments of uploaded files to a workflow container. I have already managed to do this, and it works fine for TXT files, but when I try to attach a WORD (.DOC) file the file looks corrput when I open it from the SAP inbox.
    When uploading files in Web Dynpro it is as an XSTRING. I have tried out the following alternatives regarding convertion of the XSTRING before it is inserted in the SOFM object:
    1) Convert from XSTRING to STRING using codepage 4110.
    Then it is split into a string table of 255 chars
    2) Convert from XSTRING to STRING using codepage 4102
    Then it is split into a string table of 255 chars
    3) Convert from XSTRING to BINARY format
    I use function module 'SWL_SOFM_CREATE_WITH_TABLE'
    and then swf_create_object lr_sofm 'SOFM' ls_sofm_key.
    before I call some macros to fill the container.
    Anyone else who have tried to do this with success? I'm greatful for any help.
    Regards, Tine

    Hi,
    I had the same problem in the last days and finally I got a quite simple solution:
    I had a look at the FM SWL_SOFM_CREATE_WITH_TABLE an noticed that it calls another FM (SO_DOCUMENT_INSERT_API1) which has a tables parameter for HEX data and is actually able to  create a SOFM object from HEX data.
    I simply copied SWL_SOFM_CREATE_WITH_TABLE as a customer FM and applied a few changes to make it accept HEX data:
    First I added a new table parameter in the interface which gets the HEX data from the calling application (uploaded data using BIN format):
    OBJECT_CONTENT_HEX     LIKE     SOLIX
    Here is the code of the FM (I marked all additional and changed lines with a comment):
    function z_test_sofm_create_with_table .
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(NOTE_TITLE) LIKE  SODOCCHGI1-OBJ_DESCR OPTIONAL
    *"     VALUE(DOCUMENT_TYPE) LIKE  SOODK-OBJTP DEFAULT SPACE
    *"  EXPORTING
    *"     VALUE(SOFM_KEY) LIKE  SWOTOBJID-OBJKEY
    *"  TABLES
    *"      NOTE_TEXT STRUCTURE  SOLISTI1 OPTIONAL
    *"      OBJECT_CONTENT_HEX STRUCTURE  SOLIX OPTIONAL
    *"  EXCEPTIONS
    *"      ERROR_SOFM_CREATION
      data: region like sofd-folrg.
      data: folder_id like soodk.
      data: l_folder_id like soobjinfi1-object_id.
      data: document_data like sodocchgi1.
      data: document_info like sofolenti1.
      data: object_content like solisti1 occurs 0 with header line.
      data: lines like sy-tabix.
    *- set default
      if document_type is initial.
        document_type = 'RAW'.
      endif.
    *- create office object
    *-- get dark folder
      region = 'B'.
      call function 'SO_FOLDER_ROOT_ID_GET'
        exporting
          region                = region
        importing
          folder_id             = folder_id
        exceptions
          communication_failure = 1
          owner_not_exist       = 2
          system_failure        = 3
          x_error               = 4
          others                = 5.
      if sy-subrc ne 0.
        message e696(wl)                       "<== Add message class
                raising error_sofm_creation.
      endif.
    *- get description
      if note_title is initial.
        read table note_text index 1.
        note_title = note_text.
      endif.
    *-- create office document
      document_data-obj_name = 'ATTACHMENT'.
      document_data-obj_descr = note_title.
      document_data-obj_langu = sy-langu.
      object_content[] = note_text[].
      describe table object_content lines lines.
      document_data-doc_size = ( lines - 1 ) * 255 + strlen( object_content ).
      if object_content[] is initial.                     "<== insert
        describe table object_content_hex lines lines.    "<== insert
        document_data-doc_size = lines * 255.             "<== insert
      endif.                                              "<== insert
      l_folder_id = folder_id.
      call function 'SO_DOCUMENT_INSERT_API1'
        exporting
          folder_id                  = l_folder_id
          document_data              = document_data
          document_type              = document_type
        importing
          document_info              = document_info
        tables
          object_content             = object_content
          contents_hex               = object_content_hex   " <== Insert line
        exceptions
          folder_not_exist           = 1
          document_type_not_exist    = 2
          operation_no_authorization = 3
          parameter_error            = 4
          x_error                    = 5
          enqueue_error              = 6
          others                     = 7.
      if sy-subrc ne 0.
        message e696(wl)                              "<== Add message class
                raising error_sofm_creation.
      endif.
    *- set export parameter
      sofm_key = document_info-doc_id.
    endfunction.
    The returned  SOFM key I added to a container element. The element refers to event parameter of type OBJ_RECORD in my ABAP OO Class
    Using this function I was able to raise an event by using Method cl_swf_evt_event=>raise
    that invoked a workitem containing an Excel-File i had uploaded as binary file and passed to the FM z_test_sofm_create_with_table as document type 'XLS'.
    In the woritem preview when clicking on the attachment the file was opened directly in Excel.
    Actually the new lines for calculation the file size is not yet quite correct. At first glance it does not seem to cause any trouble, but I will stll check that. In FM SO_OBJECT_INSERT the size is again checked and calculated if initial, so leaving size initial might also be an option.
    I hope this helps anyone having a similar issue.
    Greetings,
    Michael Gulitz

  • Down-/Upload files via Web Services using a NON-SAP system!?

    Hello,
    is it possible to down-/upload files via web services using a NON-SAP system!?
    Regards,
    Jens

    Hi Jens,
    I am not sure about your requirement here. What i could understand is that you want to check whether service could handle file processing?
    1) Uploading file - You can build a Webservice which has import/export parameters as the file structures and implement the proxy class in such a way that the passed data is written to application server.
    2) Downloading file - Same as uploading file, but the proxy class would have the code to extract data from the application server and pass them as output parameter.
    Functionality of Non SAP system: The system which calls these services should be able to convert the output of proxy data into file in case of downloading the file and it should be able to convert the file data into export parameters in case of uploading file.
    Hope this helps.
    Regards,
    Prasanna

  • Possible to show file upload progress for web form submission?

    I just made a simple form as a test. There are 3 files being submitted here via a "web form".
    Files being uploaded in this case are of these sizes:
    110MB
    9MB
    24MB
    I'm testing functionality that will let a print shop's clients upload their files. For larger files they'll use FTP but this "order form" does a lot of business for them so we're trying to replicate in BC.
    My problem is that I am wondering if there is a way to show the "upload progress" as a total %. Such as a visual status bar, etc.
    As of now the only way it's showing is in the default browser status bar (chrome in this case):
    http://cl.ly/image/1d3U0S1h2521
    I read somewhere that the limit is 150MB for an upload. Wondering if that means 150MB TOTAL as in 3 files combined in my case. Or If I chose to allow 3 files to be attached would it allow for 450MB?
    Also, if you do a user submitted web app instead and allow people to attach files that way, does the same file limit apply?
    My second issue is that the upload speed seems to be SLOW. I know it's not my connection because on my non BC site as well as another with the same form, the files upload fairly fast. But on BC it just crawls and on a few tests I get this:
    http://cl.ly/image/2T2q160M1R1n
    Any help or suggestions with the file upload progress as well as file upload speed would be appreciated.
    Thanks!

    So if i have 3 files to be uploaded, the max allowed is 750MB correct? (just wondering if when uploading its 250mb total or per file).
    Guess i'll do something fake to make it appear its working with a loading graphic or something.
    My web browser (chrome in this case) shows the % uploaded. I wonder if all web browsers do the same. I havent tested yet.
    If only there were a way to have javascript or something grab that same #% from the web browser itself and just format it to appear where I want on the form along with the % uploading.
    Anyone know if that's possible?
    Here's where Chrome for mac shows it:
    http://cl.ly/image/1c3i3x25262j
    If I could grab that (uploading 19%) from the browser and format it into css/html i'd be gold.
    Then find if similar browsers do the same and write some js for each browser specifically to grab it.
    In a perfect world at least....

  • Uploading files from web to db server

    hi, yesterday discover article from otn about uploading file from clients filesystem to web application server.
    but how about uploading from clients filesystem directly into database column? (i'm talking about forms application via web server, btw, not c/s app)
    i've search through the archieve, but cant find anything useful, just alot of similar question with no useful answer. so i guess alot of people could use this feature, if it can be done.
    thanks in advance
    Phil

    The demo titled "Forms, Reports, and Portal Integrated Demo"
    has the package and a form using it.
    You can download it from http://technet.oracle.com/sample_code/products/forms/content.html
    Read the script and search the part where you upload an image.

  • Uploading files via web page

    Hi,
    I want to use a file form field to upload files to my Web server for manipulation. But I am at a loss as to how to start. Can anyone point me to examples codes, class or anything that I can use as a staring point? Thanks.

    http://jakarta.apache.org/commons/fileupload

  • I am unable to upload files via web browser

    Good morning
    I have just upgraded to Mavericks (10.9.5), and I am running into a weird issue. I am unable to upload any files via the web browser. If I go to a website, and select an Upload File option, I am taken to Finder, where I am able to select the file, and press attach. The issue comes when I press upload on the website. It always either times out, or gives me an error that I was disconnected from the server. This happens on Safari, Firefox, and Chrome. I'm not sure what to do... I've repaired disk permissions and tried a lot of different security settings, but I am stumped.
    Thank you

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Upload files box in form on CS6

    I'm a student learning Dreamweaver and I am creating a form on a page to upload files or (attach files) but I can't find a way to create the box. I do have a server to post to if that matters. My current form code looks like this
    <form name="form1" method="post" action="">
            <p>Quote registration form
    </p>
            <table width="400" border="0" cellpadding="4">
              <tr>
                <td width="175">First name:</td>
                <td><label for="fname"></label>
                <input type="text" name="fname" id="fname" tabindex="1"></td>
              </tr>
              <tr>
                <td width="175">Last name:</td>
                <td><label for="lname"></label>
                <input type="text" name="lname" id="lname" accesskey="L" tabindex="2"></td>
              </tr>
              <tr>
                <td width="175">Business name:</td>
                <td><label for="bname"></label>
                <input type="text" name="bname" id="bname" accesskey="B" tabindex="3"></td>
              </tr>
              <tr>
                <td width="175">E-mail:</td>
                <td><span id="sprytextfield1">
                <label for="Email"></label>
                <input type="text" name="Email" id="Email" accesskey="E" tabindex="4">
                <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
              </tr>
              <tr>
                <td width="175">Phone number:</td>
                <td><span id="sprytextfield2">
                <label for="phone"></label>
                <input type="text" name="phone" id="phone" accesskey="P" tabindex="5">
                <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
              </tr>
              <tr>
                <td width="175">Address:</td>
                <td><label for="address"></label>
                <input type="text" name="address" id="address" accesskey="A" tabindex="6"></td>
              </tr>
              <tr>
                <td width="175">How should we contact you?</td>
                <td><label for="contact you"></label>
                  <select name="contact you" id="contact you" accesskey="C" tabindex="7">
                    <option>Phone</option>
                    <option>E-mail</option>
                    <option selected>Mail</option>
                </select></td>
              </tr>
              <tr>
                <td width="175">What do you need?</td>
                <td><span id="sprytextfield3">
                <label for="what do you need"></label>
                <input type="text" name="what do you need" id="what do you need" accesskey="W" tabindex="8">
                <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
              </tr>
              <tr>
                <td width="175">Upload pictures:</td>
                <td> </td>
              </tr>
              <tr>
                <td width="175">Upload files</td>
                <td> </td>
              </tr>
            </table>
            <p>  </p>
          </form>
    please keep in mind I have a pretty basic knowledge of DW
    Thanks

    If your server supports PHP, this form-to-email processing script from DB masters supports attached files, plus it thwarts spam & conceals your e-mail address from robots.
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    If your server doesn't support PHP, you'll need to find an appropriate script in a programming language you can use -- asp, aspx, perl, etc...
    Nancy O.

  • NMH410 as a external hard drive & upload files through web browser

    Hi,
    I had just installed a NMH410 and has some questions as follow:
    Can NMH410 be used as an external HDD without internet?
    Is there anywhere I can upload files through the web browser?

    mosidiot wrote:
    I had just installed a NMH410 and has some questions as follows:
    1. Can NMH410 be used as an external HDD without internet?
    Yes - The NMH is a local network device, and you can store/retrieve files on it using the computers on your home network using either Windows Explorer, or connecting to it in Linux/MacOS as a Samba share.
    However: The NMH requires an Internet connection to dowload firmware updates, and - If my experiences today are anything to go on - You'll need to have up to date Flash support in your web browser to be able to configure and administrate the thing.
    (See the new thread that I'll be posting in this forum shortly.)
    mosidiot wrote:
    2. Is there anywhere I can upload files through the web browser?
    Yes - The NMH does support uploading via a web browser as long as the latter has a recent Flash plugin installed. For small numbers of files, this should work fine...But for larger numbers of files, I'd suggest using either Windows Explorer, or the Media Importer program that came on the enclosed CD-ROM. :-)
    You can find full details and instructions for doing both of the above in the NMH 4xx user guide, which may be downloaded Here. :-)
    Farewell... >:-)
    +++ DieselDragon +++
    Edit: Corrected broken link to user guide.

  • Upload File in Web Dynpro Java CO and store it in the context

    Hi Guys!
    I have developed a web dynpro CO form, and I need to be able to upload a file in an action and then be able to download that file in further actions.. I have evaluated saving the file in the backend via RFC, in KM and also creating a CAF project.. but I think there must be a simpler way : saving it in the context of GP.
    Does someone knows if it is possible to do that?
    best regards,
    Marco.

    Hi Marco
    In webdynpro java, there are UI elements File Upload and File Download. You can use these UI's to upload and download attachments. From NetWeaver 7.0 onwards, you have IWDResource interface which can be used to upload attachments. But in GP if you want to pass attachment to another action you must use Binary as a data source. Bind the File upload UI element to Binary. In addition, you should define input and out parameters in getDescription method.
    Thanks
    Ghazanfar

  • Selecting html input type=file in web form does not open a file browser on ZTE Open

    While trying to files from ZTE Open, I browsed to a web page with a file upload form. When I selected the file input, the input behaved as a text input and the on screen keyboard appeared.

    We are working to make Firefox OS better. This feature is not currently available but will be available in future updates to the device.
    Thank you for contacting Mozilla Support.

  • How to upload files from a form using pl/sql ?

    Hi
    Is it possible to upload the physical files outside the database (under UNIX server)using pl/sql? I already know how to store the files inside the database(wwwdoc_documents$) but I didn't find any documentation about storing the physical files outside the database.
    I have in my form the following component:
    <input type="file" name="upload">
    and I want to let the user browse for the file on his/her disc that he want to use. What I want to do next is to save a copy of that file on our file-server, and then use it in my application. How do I do that in pl/sql?
    Any help will be appreciated.
    Sebas.

    Thanks for the suggestion. I like this approach as Java is more familiar to me than other languages.
    Our DBA is out of touch today, so I could not grant the javauserpriv to my database user. I tried to run the script anyway in the chance that my user had the privs, and it seemed to have hung. I am now combing Oracle's site for more documentation so I can write some tests to see if I can get a basic Java object working. Under what heading would I find this?
    ajt

  • Problem with: Upload file thru Web access.

    We have configure iFS 1.1 on AIX 4.3. Everything is running fine like ifsstart, ifsmgr. Its showing me all protocols and agents running.
    I am able to access iFS through web access program and its accepting login and password. After login in to iFS server when we try to upload any file using Brower option its gives us following error.
    Request URI:/ifslogin/jsps/upload2.jsp
    Exception:
    java.lang.NoClassDefFoundError: java/sql/Blob
         at oracle.jdbc.driver.OracleStatement.get_blob_value(Compiled Code)
         at oracle.jdbc.driver.OracleStatement.getBLOBValue(Compiled Code)
         at oracle.jdbc.driver.OracleStatement.getObjectValue(
    Can anybody guide us. We are not having JAVA knowledge.
    Thanks
    Dilip

    Hi,
    create an attribute(say ca_fileupload) of  type XSTRING  under context and bind that attribute with the data property.
    For binding the attribute just Click on the element file_up , there you can see data property,click on that and you can see all the nodes and attributes  you have created and there click on the attribute(ca_fileupload).

  • Problem with Uploading files in Web applications with the iPad

    Hello,
    I have a question. How can I upload a word file in the gmx-Mailserver with my IPad? I can only find the picture library. In this library i cannot upload a word-file or other files-types. I use Safari. The same problem exists by other web applications.
    Thanks for your help.
    Kami2013

    I think I just did something wrong myself. I was finally able to upload the file. However, I wrote the following procedure in my package but wasn't able to download the file from the report. Do I need to grant any privilege from the system user?
    Also, does anyone know how to convert a BLOB table into 11g Securefiles table?
    Thanks.
    <pre>
    procedure download_birth_cert(p_vrds_birth_cert_pk in number) is
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(4000);
    Lob_loc BLOB;
    begin
    select mime_type, blob_content, file_name, dbms_lob.getlength(blob_content)
    into v_mime, lob_loc, v_file_name, v_length
    from vrds_birth_cert
    where vrds_birth_cert_pk = p_vrds_birth_cert_pk;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header(nvl(v_mime,'application/octet'), FALSE);
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || v_length);
    -- the filename will be used by the browser if the user does a save as
    htp.p('Content-Disposition: attachment; filename="'||substr(v_file_name,instr(v_file_name,'/')+1)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    exception
    when others then
    null;                    
    end download_birth_cert;
    </pre>

  • Upload file in web - data doesn't refresh

    Hi, we have implemented the how-to doc for uploading a file via the web.  The upload works great, but it doesn't refresh properly.  On the layout, we have a button to upload the file.  Once the upload has taken place and we save it, the layout doesn't show the data even if we refresh.  I have to leave the WIB and get back into it to see the data.  Has anyone experienced this and is there a solution to this?
    Thanks
    Kory

    Hello,
    I used this code to resolve the same problem
                 if ( l_subrc = 0 ).
                   call function 'API_SEMBPS_POST'
                     importing e_subrc = l_subrc
                               es_return = ls_msg.
                   if ( l_subrc = 0 ).
                     call function 'API_SEMBPS_REFRESH'
                     importing e_subrc = l_subrc
                               es_return = ls_msg.
                     if ( l_subrc = 0 ).
                        cl_upwb=>set_parameter( param = 'buffer_changed'
    value = 'X' ).
                     else.
                       append ls_msg to lt_msg.
                     endif.
                   else.
                     append ls_msg to lt_msg.
                   endif.
                 endif.

Maybe you are looking for

  • Macintosh formatted iPod won't work for Windows

    Hi, I have 2 computers, an Apple iMac and a Windows Vista laptop. My iPod used to be Windows formatted, which worked for both Windows and Mac, when I restored it though, it was restored to Macintosh. I tried transferring some files to my Vista only i

  • MSS Business Package Integration (ep 6)

    Hi Everyone I'm on an EP 6 SP3 and SAP 4.7 extension set 2 and I'm bringing in the business package and I've imported all of the packages through the Portal application. I've created a System entry with the SAP_R3_HumanResources system alias.  I've a

  • Need sample ALSB project migration to OSB 11g environment

    Hi I'm looking for sample ALSB project migration to OSB 11g environment and as well as steps to automate deployment of OSB 11g projects by using WLST Can some one please help me out in regards to the same Thanks Ram.S

  • Delivery Qty and OPEN Qty Field in SALES Order Delivery Reports.

    Dear All Experts. Please Help me for which field put for Delivery QTY. and it is necessary to calculate OPEN QTY. or we can put directly from field. i used this field for Order Qty : WMENG. Please Guide me. Thnks With Regards : Bhavesh Panchal.

  • Pixelization after Rendering - Desaturate Highlights?

    I'm running Final Cut Pro 5.0.4 (anyone know where I can get the $49 5.1 update?). I've shot a video on miniDV, and have edited it into an Uncompressed 10-bit 4:2:2 sequence. In the Video Processing tab, I've selected "Render All YUV Material in High