Uploading Media file to database

Hi experts,
I am able to load image file jpeg..etc to the database and display on jsp page from the database.
Can anyone please help me with uploading media files like video, mp3, wav files to database.
Please help...
Thanx
Deepak

what is the difference between any type of file and an image? It is all binary data with a certain content-type.

Similar Messages

  • How to upload binary file in database?

    Using servlets..how to upload binary file into database...
    How to get the data of file in servlet...
    Please reply...i'm unable to find exact code...that i want..

    You need to do two separate parts: accept the file from a HTTP multi-part POST and then stream it into a BLOB on the database. To do the former, download Jakarta Commons FileUpload. There is extensive documentation on how to write a simple handler for the upload. You then need to send the data to a BLOB. The specifics vary from database to database but generally you will insert or update a row with an empty blob, get a reference to the blob, pipe the data and then commit.
    If you do a quick forum search, this question has been asked (and answered) dozens of times. Some of the replies may even have code for you. Best of luck.
    - Saish

  • How to upload a file to database in Apex 4.2.2?

    How to upload a file to database in Apex 4.2.2 in Existing Application? Also How to view the uploaded file within this application?
    Any help to his question is very appreciated?
    Thanks,
    Prak.

    980835 wrote:
    Please update your forum profile with a real handle instead of "980835".
    Actually we want to upload the file to our own table and retrive from it as well. Is it possible to see the file of person whom we are pulling?
    This is covered in the documentation: About BLOB Support in Forms and Reports. There's also a tutorial in the Oracle Learning Library.

  • How to batch upload PDF files into database BLOB

    Hello.
    I have a requirement to batch upload PDF files into BLOB column of an Oracle 8.1.7 table from Forms 6i Web. The content of the blob column (ie. the PDF content) MUST be displayable from all client software (eg. Oracle Web forms, HTML forms, etc.)
    Our environment is
    Middle-tier is 9iAS on Windows/2000
    Database is Oracle 8.1.7.0.0 on VMS
    Oracle Web Forms 6i Patch 10
    Basically my Oracle web form program will display a list of PDF files to upload and then the user can click on the <Upload> button to do the batch upload. I have experimented the following approaches but with no luck.
    1. READ_IMAGE_FILE forms built-in = does NOT work because it cannot read PDF file. I got error FRM-47100: Cannot read image file
    2. OCX and OLE form item = cannot use this because it does NOT work on the Web. I got error FRM-41344 OLE object not defined
    3. I cannot use DBMS_LOB to do the load because the PDF files are not in the database machine.
    4. Metalink Note 1682771.1 (How to upload binary documents back to database blob column from forms). When I used this, I got ORA-6502 during the hextoraw conversion. In using this solution, I have downloaded a bin2hex.exe from the Google site. I've noticed that when I looked at the converted HEX file, each line has the character : (colon) at the beginning of each line. I know the PDF file has been converted correctly to HEX format because when I convert the HEX file back to BIN format using hex2bin.exe, I'm able to display the converted bin file in Acrobat Reader. When I removed the : (colon) in the HEX file, I did NOT get the ORA-6502 error but I CANNOT display the file in Acrobat Reader. It gives an error "corrupted file".
    5. upload facility in PL/SQL Web toolkit - I tried to automatically submit the html form (with htp.p) but it does NOT load the contents of the file. I called the URL from Oracle forms using web.show_document. There seems to be issues with Oracle Web forms (JInitiator) and HTML (+ htp.p).
    The other options I can think of at this point are:
    1. Use SQL*Loader to do the batch upload via SQL*Net connection and use HOST() built-in from Oracle Webforms to execute SQL*Loader from the 9iAS.
    2. Write a Visual Basic program that reads a binary file and output the contents of the file into a byte array. Then build a DLL that can be called from Oracle webforms 6i via ORA_FFI. I don't prefer this because it means the solution will only work for Windows.
    3. Write a JSP program that streams the PDF file and insert the contents of the PDF file into blob column via JDBC. Call JSP from forms using web.show_document. With this I have to do another connection to the database when I load the file.
    4. Maybe I can use dbms_lob by using network file system (NFS) between the application server and VMS. But this will be network resource hungry as far as I know because the network connection has to be kept open.
    Please advise. Thank you.
    Regards,
    Armando

    I have downloaded a bin2hex.exe from the Google site.
    ... each line has the character : (colon) at the
    beginning of each line. I'm afraid it isn't a correct utility. I hope you'll find the source code of a correct one at metalink forum:
    Doc ID: 368771.996
    Type: Forum
    Subject: Uploading Binary Files: bin2hex and hex2bin do not reproduce the same file
    There is some links to metalink notes and some example about working with BLOB at http://www.tigralen.spb.ru/oracle/blob/index.htm. Maybe it helps. Sorry for my English. If there is any problem with code provided there, let me know by e-mail.

  • Error for the uploading csv file to database

    Hi i tried to upload the csv file to database and i am getting error as
    <cffile action="read" file="#data_dir_upload#/di_audit_corp_upc_ldr_tbl.csv" variable="di_audit_corp_upc_ldr_tbl">
    <!--- loop through the CSV-TXT file on line breaks and insert into database --->
    <cfloop index="index" list="#di_audit_corp_upc_ldr_tbl#" delimiters="#chr(10)##chr(13)#">
        <cfquery  datasource="#request.dsnCAO#">   
                <!--- SET ANSI_WARNINGS OFF      --->
             INSERT INTO [dbo].[di_audit_corp_upc_ldr_tbl]
                                ( cpt_dpt_cd,cpt_com_cd,sub_com_cd,con_upc_no,pid_lng_dsc_tx,pid_sht_dsc_tx)
             VALUES
                      (<cfqueryparam value='#left(trim(listgetAt('#index#',2,',')),2)#' cfsqltype="cf_sql_char">,
                       <cfqueryparam value='#left(trim(listgetAt('#index#',3,',')),3)#' cfsqltype="cf_sql_char">,
                       <cfqueryparam value='#left(trim(listgetAt('#index#',4,',')),5)#' cfsqltype="cf_sql_char">,
                       <cfqueryparam value='#left(trim(listgetAt('#index#',1,',')),13)#' cfsqltype="cf_sql_varchar">,                  
                       <cfqueryparam value='#left(trim(listgetAt('#index#',5,',')),25)#' cfsqltype="cf_sql_varchar">,
                       <cfqueryparam value='#left(trim(listgetAt('#index#',6,',')),12)#' cfsqltype="cf_sql_varchar">)    
       </cfquery>
    </cfloop>
    Error:
    An error occurred while executing DTS package to import data.
    Invalid list index 6.
    In function ListGetAt(list, index [, delimiters]), the value of index, 6, is not a valid as the first argument (this list has 5 elements). Valid indexes are in the range 1 through the number of elements in the list.
    i am unable to solve this issue can any one will help me to solve this issue
    Thanks,
    Kiran

    I take it your are trying to use a csv file to insert new data into a database, using flex and coldfusion?
    if so, then I would load the file in flex using cffile in ColdFusion and then use Load Data if you are using MySQL
    This can show you more about it.
    http://blog.tygate.com/?p=75
    We get very large csv files ftp'd to us every week, and we have to load them in to the db. this works for us.

  • How can upload doc file into database !!

    Dear Everyone,
    How can i upload a doc file into Mysql database ....
    can any one please give ur suggestions...
    i will show u my code
    upload.jsp
    <form name="uploader" action="uploaded.jsp"
    enctype="multipart/form-data">
      <div align="center">
      <table id="table1" border="1" bordercolor="#ff0000"
    cellpadding="0" cellspacing="0" width="50%">
        <tbody bgcolor="#c8d8f8">
          <tr>
            <td bgcolor="#ccccff">
            <p align="center">
               Resume Upload! </p>
            </td>
          </tr>
          <tr>
            <td> 
            <p align="center">You can upload your
    resume.. </p>
            <p align="center">
            <table align="center" border="1"
    cellpadding="10" cellspacing="10">
              <tbody>
                <tr>
                  <td>
                  <p><input name="file" type="file">
                  <input name="uploadButton" value="Upload"
    type="submit"></p>
                  </td>
                </tr>
              </tbody>
            </table>
            </p>
            </td>
          </tr>
        </tbody>
      </table>
      </div>
    </form>
    uploaded.jsp
    <BODY>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <% 
        String file1=request.getParameter("file");
        int len;
        String query;
        PreparedStatement pstmt;
       int i=0;
        Class.forName("com.mysql.jdbc.Driver");
    DriverManager.getConnection("jdbc:mysql://localhost:3306    Connection conn= /employee","root","");
         try {
                File file = new File(file1);
                   if (file==null)
    %>
    <center>Nothing in It</center>
    <%
                else
                FileInputStream fis = new FileInputStream(file);
                len = (int)file.length();
                query = ("insert into loader(resume) VALUES(?)");
                pstmt = conn.prepareStatement(query);
                pstmt.setString(1,file.getName());
                pstmt.setInt(2, len);
                //method to insert a stream of bytes
                pstmt.setBinaryStream(3, fis, len);
              i=pstmt.executeUpdate();
                   if(pstmt!=null)
                 pstmt.close();
                if(conn!=null)
                 conn.close();
            } catch (Exception e) {
                e.printStackTrace();
                 if(i>0)
                        out.println("uploaded");
                    else
                        out.println("not uploaded")
    %>
    </BODY>

    File file = new File("myDoc.doc");
    FileInputStream fis = new FileInputStream(file);The file name will most likely NOT be hard-coded. I don't think the question surrounding this topic is how to do the insert statement (he/she clearly knows SQL).
    HTTP and the web browser take care of the file transfer, but the server stores the file in a temporary location. The question is, "How do I found out that location?" In PHP (I know that doesn't offer much help to you, but ...), that location is held in a variable called $_FILES. From there you can simply copy the file to a location you specify (probably with a user-specified name under a directory specifically for that user).
    I hope this is of some help:
    http://www.oop-reserch.com/mime_example_4.html
    Good Luck,
    C. R.

  • Uploading csv file into database using apex

    Dear all
    I am using apex 4 and oracle express 10g, i need to upload .csv file into the database for one of my appls, i have referred discussion forum for solutions, i found also, but some how its not working for me.
    below mentioned is error and the code
    ERROR:
    ORA-06550: line 38, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550: line 38, column 8: PL/SQL: Statement ignored ORA-06550: line 39, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550: line 39, column 8: PL/SQL: Statement ignored ORA-06550: line 40, column 8: PLS-00221: 'V_DATA_ARRAY' is not a procedure or is undefined ORA-06550: line 40, column 8: PL/SQL: Statement ignored ORA-06550: line 41, column 8: PLS-00221: 'V_DATA_ARRAY' is not a proc
    Error
    OK
    CODE:
    DECLARE
    v_blob_data BLOB;
    v_blob_len NUMBER;
    v_position NUMBER;
    v_raw_chunk RAW(10000);
    v_char CHAR(1);
    c_chunk_len number := 1;
    v_line VARCHAR2 (32767) := NULL;
    v_data_array wwv_flow_global.vc_arr2;
    BEGIN
    -- Read data from wwv_flow_files
    select blob_content into v_blob_data
    from wwv_flow_files where filename = 'DDNEW.csv';
    v_blob_len := dbms_lob.getlength(v_blob_data);
    v_position := 1;
    -- Read and convert binary to char
    WHILE ( v_position <= v_blob_len ) LOOP
    v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
    v_char := chr(hex_to_decimal(rawtohex(v_raw_chunk)));
    v_line := v_line || v_char;
    v_position := v_position + c_chunk_len;
    -- When a whole line is retrieved
    IF v_char = CHR(10) THEN
    -- Convert comma to : to use wwv_flow_utilities
    v_line := REPLACE (v_line, ',', ':');
    -- Convert each column separated by : into array of data
    v_data_array := wwv_flow_utilities.string_to_table (v_line);
    -- Insert data into target table
    EXECUTE IMMEDIATE 'insert into TABLE_X (v1, v2, v3, v4 ,v5, v6, v7,v8 ,v9, v10, v11)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)'
    USING
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4);
    v_data_array(5);
    v_data_array(6);
    v_data_array(7);
    v_data_array(8);
    v_data_array(9);
    v_data_array(10);
    v_data_array(11);
    -- Clear out
    v_line := NULL;
    END IF;
    END LOOP;
    END;
    what i understand from this is system does not identify v_data_array as array for some reasons, please help me.
    initially system was giving error for hex_to_decimal, but i managed to get this function on discussion forum and now it seems to be ok. but v_data_array problem is still there.
    thanks in advance
    regards
    Uday

    Hi,
    Mistakes in your sample I did correct
    Problem 1
    select blob_content into v_blob_data
    from wwv_flow_files where filename = 'DDNEW.csv'; to
    select blob_content into v_blob_data
    from wwv_flow_files where name = :P1_FILE;Problem 2
    EXECUTE IMMEDIATE 'insert into TABLE_X (v1, v2, v3, v4 ,v5, v6, v7,v8 ,v9, v10, v11)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)'
    USING
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4);
    v_data_array(5);
    v_data_array(6);
    v_data_array(7);
    v_data_array(8);
    v_data_array(9);
    v_data_array(10);
    v_data_array(11);  to
    EXECUTE IMMEDIATE 'insert into TABLE_X (v1, v2, v3, v4 ,v5, v6, v7,v8 ,v9, v10, v11)
    values (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11)'
    USING
    v_data_array(1),
    v_data_array(2),
    v_data_array(3),
    v_data_array(4),
    v_data_array(5),
    v_data_array(6),
    v_data_array(7),
    v_data_array(8),
    v_data_array(9),
    v_data_array(10),
    v_data_array(11);  And I did create missing table
    CREATE TABLE TABLE_X
        v1  VARCHAR2(255),
        v2  VARCHAR2(255),
        v3  VARCHAR2(255),
        v4  VARCHAR2(255),
        v5  VARCHAR2(255),
        v6  VARCHAR2(255),
        v7  VARCHAR2(255),
        v8  VARCHAR2(255),
        v9  VARCHAR2(255),
        v10 VARCHAR2(255),
        v11 VARCHAR2(255)
      );Regards,
    Jari
    Edited by: jarola on Nov 19, 2010 3:03 PM

  • Upload .txt file into Database Table

    Hi,
    I was wondering if someone could please point me in the right direction. I've been looking around the forum but can't find anything to help me achieve the following.
    I would like to be able to upload a .txt file using a webpage. Then store the information inside this file into database tables.
    eg. contents of mytextfile.txt:
    richard
    10 anywhere street, anytown, somewhere
    111 222 333 444
    joe
    9 somestreet, elsewhere
    999 888 777 666
    peter
    214 nearby lane, overhere
    555 555 555 555
    I would like to insert this data into a table.
    eg. table name = CONTACTS
    userid = primary key (using sequence)
    username = (line 1 - richard, joe, peter)
    address = (line 2)
    phone_no = (line 3)
    As you can see the records will appear 1 at a time and will have a blank line between records. Is there anyway for me to upload a file like this and have it placed into tables?
    I have seen http://otn.oracle.com/products/database/htmldb/howtos/howto_file_upload.html but this seems to be for uploading a whole file and downloading the same file, rather than extracting data from the file.
    I hope I have managed to explain my problem.
    Many thanks,
    Richard.

    Richard,
    HTML DB allows you to upload CSV files via the Data Workshop. That data would then be parsed and inserted into a specific table. Alternatively, if you have your data in an Excel spreadsheet, and it is less than 32k, you can copy & paste the data directly into HTML DB's Data Workshop, which will then parse and import it into the Oracle database.
    The one obstacle you may have to overcome is converting your data from the format you outlined to CSV format. Specifically, you would have to make this:
    richard
    10 anywhere street, anytown, somewhere
    111 222 333 444
    Look something like this:
    "richard","10 anywhere street, anytown, somewhere","111 222 333 444"
    Hope this helps,
    - Scott -

  • Upload .txt file to database in coldfusion

    Hi i need to know how  to upload text file in to database using coldfusion and the file does not have any column names. Can anyone help me in this.
    The sample of data in file is:
    00012009032216001111039289000005.9900100000000000000.00

    You can start by using list functions.  After uploading and reading the file, you can treat the resulting variable as a list delimited by chr(10) & chr(13).  As far as processing each line goes, you have to know it's structure.

  • Uploading huge file to database

    Hi All,
    We have a requirement to upload huge files using java with some validations for each record.
    Please suggest better approaches for the same.
    Thanks in advance.
    Regards,
    Yong-Loh

    how huge?
    I'll assume gigantic:
    1) use a BufferedReader, or the commons-io LineIterator, to loop through the file line for line without having to read the entire thing in memory.
    2) perform your validations on the record, there is no real standard way of doing this
    3) put record in database
    I don't know which technology you are going to use to communicate with the database; I would recommend to do a commit every X records you import, every 1000 or whatever. This will make sure that the transaction size does not go through the roof.

  • Upload media file and submit data in a same time

    Hi,
    I'm trying to submit data and upload file in a same time to a web page(which is jsp). But i found that the method used to upload file and submit data are different.
    Method used to submit data :-
    PostMethod post = new PostMethod(wbIndex);        
    post.addRequestHeader("Content-Type","text/html; charset=big5");
    for(int i=0;i<field.length;i++){
         post.addParameter(field,value[i]);
    System.out.print("field[" + field[i] + "], value[" + value[i] + "] ");
    responseCode = client.executeMethod(post);
    System.out.println("response code : " + responseCode);
    and method used to upload file
    URL url = new URL(wbIndex);
    // create a boundary string
    String boundary = MultiPartFormOutputStream.createBoundary();
    URLConnection urlConn = MultiPartFormOutputStream.createConnection(url);
    urlConn.setRequestProperty("Accept", "*/*");
    urlConn.setRequestProperty("Content-Type",
         MultiPartFormOutputStream.getContentType(boundary));
    // set some other request headers...
    urlConn.setRequestProperty("Connection", "Keep-Alive");
    urlConn.setRequestProperty("Cache-Control", "no-cache");
    // no need to connect cuz getOutputStream() does it
    MultiPartFormOutputStream out =
         new MultiPartFormOutputStream(urlConn.getOutputStream(), boundary);
    // write a text field element
    out.writeField("myText", "text field text");
    // upload a file
    out.writeFile("myFile", "text/plain", new File("C:\\test.wav"));
    out.close();Does anyone know how to submit data and upload file to the page at a same time?
    null

    Hi,
    Thanks for your reply. You meant that both method also can used to upload file and submit data? How about if i want to use the first method to upload file and submit data? How can i upload the file by using first method?

  • Uploading media file's ..ie mpeg etc...

    In my website I'd like to have a page where people can upload
    movie file's ..ie - mpeg ... ( something very similar to what
    you-tube offer's )... my website is for perspective football
    player's and I'd like to have a page/ forum where they can go and
    upload their game film/ highlight's... is that something that is
    even possible ? and how would i go about setting something like
    that up...
    If possible would I need to setup a " login and password "
    system... should I use the " fcms " component that is made by "
    Flashloaded.com " which allow's one to edit or add info directly on
    the webpage... wondering...
    Thanks
    trey

    what is the difference between any type of file and an image? It is all binary data with a certain content-type.

  • Problem on uploading blob file to database using KUBA's example

    I tried running KUBAS's example found on this thread [Solved]How to upload / download BLOB images ADF - JSF
    but a lot of exceptions occured...
    I'm using jdev 10.1.3.2.0(i put my jdev's libraries) and oracle database 10g as i wrote in the other thread.
    any help would be more than appreciated
    07/05/05 13:48:14 javax.faces.el.EvaluationException: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (zilp.testcase.model.service.BlobAMLocal) failed to checkout an application module due to the following exception:
    07/05/05 13:48:14      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)
    07/05/05 13:48:14      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
    07/05/05 13:48:14      at zilp.testcase.view.util.JSFUtils.resolveExpression(JSFUtils.java:163)
    07/05/05 13:48:14 oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (zilp.testcase.model.service.BlobAMLocal) failed to checkout an application module due to the following exception:
    07/05/05 13:48:14      at zilp.testcase.view.util.ADFUtils.getApplicationModule(ADFUtils.java:26)
    07/05/05 13:48:14      at zilp.testcase.view.backing.Uploading.uploadAction(Uploading.java:58)
    07/05/05 13:48:14      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07/05/05 13:48:14      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    07/05/05 13:48:14      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/05/05 13:48:14      at java.lang.reflect.Method.invoke(Method.java:585)
    07/05/05 13:48:14      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
    07/05/05 13:48:14      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
    07/05/05 13:48:14      at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
    07/05/05 13:48:14      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
    07/05/05 13:48:14      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
    07/05/05 13:48:14      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
    07/05/05 13:48:14      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    07/05/05 13:48:14      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
    07/05/05 13:48:14      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
    07/05/05 13:48:14      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    07/05/05 13:48:14      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
    07/05/05 13:48:14      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
    07/05/05 13:48:14      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:171)
    07/05/05 13:48:14      at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    07/05/05 13:48:14      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    07/05/05 13:48:14      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    07/05/05 13:48:14      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
    07/05/05 13:48:14      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    07/05/05 13:48:14      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    07/05/05 13:48:14      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    07/05/05 13:48:14      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    07/05/05 13:48:14      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    07/05/05 13:48:14      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    07/05/05 13:48:14      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/05/05 13:48:14      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    07/05/05 13:48:14      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    07/05/05 13:48:14      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    07/05/05 13:48:14      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/05/05 13:48:14      at java.lang.Thread.run(Thread.java:595)
    07/05/05 13:48:14 Caused by: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (zilp.testcase.model.service.BlobAMLocal) failed to checkout an application module due to the following exception:
    07/05/05 13:48:14      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    07/05/05 13:48:14      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    07/05/05 13:48:14      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    07/05/05 13:48:14      at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    07/05/05 13:48:14      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    07/05/05 13:48:14      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    07/05/05 13:48:14      at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
    07/05/05 13:48:14      at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
    07/05/05 13:48:14      at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
    07/05/05 13:48:14      at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    07/05/05 13:48:14      at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
    07/05/05 13:48:14      at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)
    07/05/05 13:48:14      at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
    07/05/05 13:48:14      at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
    07/05/05 13:48:14      at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
    07/05/05 13:48:14      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
    07/05/05 13:48:14      ... 37 more

    Hi,
    I don't know where is the problem - it works for me. Check precisely database connection (about JBO-30003 see: http://blogs.oracle.com/jheadstart/newsItems/departments/adfBusinessComponents/2006/08/18).
    Also note, what kind of file you are uploading. In MimeTypes class there are definitions for mime types.
    Kuba

  • Error in Uploading WFT file to database

    Hi,
    We are trying to upload a .wft definition into the database and are encountering the following error :
    1602: Could not save.
    1400: Could not save to database. MODE=UPLOAD EFFDATE=2003/05/05 18:43:05
    1401: Could not upload ACTIVITY entity 'SERVORD/XRAYORD'.
    210: Oracle Error: ORA-01422: exact fetch returns more than requested number of rows
    ORA-01403: no data found
    ORA-06512: at "OWF_MGR.WF_LOAD", line 1959
    ORA-06512: at line 1
    . SQL text: BEGIN WF_LOAD.UPLOAD_PROCESS_ACTIVITY(:process_item_type, :process_name, :process_version, :activity_item_type, :activity_name, :instance_id, :instance_label, :protect, :custom, :start_end, :default_result, :icon_geometry, :perform_role, :perform_role_type, :user_comment, :level_error); END;
    Really grateful if anybody could help.
    Regards,
    Kaushik.

    Kaushik,
    It sounds like you have duplicate rows in your directory service views with the same DISPLAY_NAME.
    When you created your workflow definition in the builder, did you ensure that you performed a 'Load Roles' before including these role names as performers in your workflow definition ?

  • Upload text file to database

    I need the user to select a chemical and supplier and the file to upload.
    Then I want the file to be inserted into the MSDS table where the MSDS record relates to the chemical and supplier.
    Any help would be great thanks,
    Dan.

    Hi Kamal,
    Thanks for replying - would really appreciate any help. I'm working with Dan on this one.
    I'm not sure what you mean by application interface. We have a PL/SQL http frontend that everything (including the upload and view) will be run through. What we want to be able to do is to upload a txt files to a blob.
    Thanks again for any help!
    Niall

Maybe you are looking for

  • Not working traffic inside of the same interface

    Hi Guys. I need your help to configure a Cisco ASA 5510. Connencted the a single interface I have a switch. To this switch (same VLAN) there are connected: 1. The Subnet of the main office (192.168.1.253) 2. A router  (IP 192.168.1.254) that routes t

  • Unable to open a iphoto library after moving to another hard drive.

    Due to space issues on my Mac Book Pro, I moved my iPhoto library to an external hard drive. Once the transfer was complete I created a new library and then tried to relaunch the old library off the Ext HD. It now tells me the library is locked or on

  • AR Line Items (0FI_AR_4)

    Hi! Anybody here who worked with AR line items? How are reversal items being handled in the report? How do you know that a certain line item is a reversing entry? How is it handled in the computation? Thank you so much! Maan

  • TV Audio to iPod Touch

    Is there some way to get my TV's audio to play through my iPod Touch?

  • EDI Transaction type for MRKO Settlement

    Hi, Please let us know what should be the EDI Transaction type to be used for MRKO Settlement . Thanks in advance, Venkat