Image file stored in a blob type ingest to endeca 3.1 via integrator

Hello All
is it possible to ingest Image file stored in a blob type ingest to endeca 3.1 via integrator?
i tried to load an image using type: byte but getting the following error massage:
Unsupported type "byte" in field "PERSONIMAGE"
i know that in demo's there are images as avatars and other images.
any idea how to approach?
thanks
Yuval

Hi,
We finnally succeeded. Dsegard gave us the right solution. <div>It was the setup of the display that was on error. We use VNC as the display. Now the display is set correctly and the reports shows up fine.
By seting REPORTS_DEFAULT_DISPLAY=NO, It did work for both the server and the local host.
Thank you dsregard.</div>

Similar Messages

  • APEX- How to open world document (and other files) stored in a blob column?

    Hi,
    I have an application developed in Oracle Apex 3.2.1 and RDBMS Oracle 9.2.0.8 (SUN SOLARIS SPARC 64 BITS).
    I have a table called BAC_ARQUIVO, with the following structure:
    CREATE TABLE BAC_ARQUIVO
    (NAME VARCHAR2(4000), /* Name of the file stored in BLOB column */
    SUBJECT VARCHAR2(4000), /* A brief description about this file stored */
    ID NUMBER, /* An identification of this file - It´s a PK column of this table*/
    BLOB_CONTENT BLOB, /* Blob field that store diferent kind of files - XLS, DOC, PPT, PDF, EXE, ZIP, etc);
    MIME_TYPE VARCHAR2(4000) /* Identification about which kind of file is stored on BLOB field */
    The field BLOB_CONTENT of this table can store:
    - Executable files;
    - MS-World Documents (DOC);
    - Zip Files (ZIP);
    - Ms-Excel Files (XLS);
    - Ms-Powerpoint files (PPT);
    - Adobe documents (PDF);
    Actually, in this APEX application, i have developed a interactive Report in which the user can download these files to desktop without problems.
    But now, my user would like to know if it´s possible that APEX application can OPEN some of these files stored on this BLOB column WITHOUT download it.
    My user would like to see a hiperlink (or button) that, if pressed/acessed, can open a new page (or a page inside application) with the document. He doesn´t need to edit this oppened file. He only wants to see it.
    For example, if the file stored in the blob column is ms-word type , so the application will open a MS-WINDOWS application with these file.
    Is it possible?
    I saw in this forum that it´s possible to open a file stored on "/i/" directory, but i need to open the file stored in BLOB column. I don´t want to store the file in operational system of the server.
    Could any one demonstrate to me how it could be done?
    Best regards,
    Sergio Coutinho

    Hi Sergio,
    This link might be helpful:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    Also refer the BLOB Download Format Mask :
    {message:id=9716335}
    Here I have given the format mask for APEX 4.0, which will slightly differ for 3.2.1 and proposed changes
    in the format mask are:
    1) Format Mask: DOWNLOAD
    2) Content Disposition: Inline
    This will be achieved with it:
    >
    But now, my user would like to know if it´s possible that APEX application can OPEN some of these files stored on this BLOB column WITHOUT download it.
    My user would like to see a hiperlink (or button) that, if pressed/acessed, can open a new page (or a page inside application) with the document. He doesn´t need to edit this oppened file. He only wants to see it.
    >
    Hope it helps!
    Regards,
    Kiran

  • Download/Display the image files stored at KM location: J2EE application

    Hi All
    Please let me know how to download/Display the image files stored at KM location on portal using J2EE application. Thanks.
    Best Regards
    P M

    You can use a servlet to deliver the image data to the <img tag, which allows you to get the data from something other than a file on the server (e.g. store the image data as a session attribute with a generated attribute key, the key being given in the serlvet's query string).

  • About "Upload and download files from ADF into blob type colum."

    hi
    Using JDeveloper 10.1.3.3.0 I have tried the example available for download from this blog post by Jakub Pawlowski:
    "Upload and download files from ADF into blob type colum."
    at http://kuba.zilp.pl/?id=1
    First a thank you to Jakub for this interesting example.
    I have a question about a PDF file that I uploaded using the example.
    The file has a size of 10445518 bytes.
    After I upload that file, the blob column has a value with a size of 10445516 bytes, 2 bytes less.
    SQL> select file_name, dbms_lob.getlength(stored_file) from blob_table;
    FILE_NAME
    DBMS_LOB.GETLENGTH(STORED_FILE)
    ADF-DeveloperGuide-4GL-B25947_01.pdf
                           10445516If I download that file using the example, it has the same size as the blob value, 10445516 bytes.
    If I open the downloaded file, using Adobe Reader 8.1.1, it first shows this message:
    "The file is damaged but is being repaired."
    After that, there is not problem using the PDF file in Adobe Reader.
    I have tried this with both Internet Explorer 6 and Firefox 2.0.0.11.
    I have also tried this with other (smaller) files, and those upload and download correctly.
    question:
    Why are those 2 bytes lost during upload?
    many thanks
    Jan Vervecken

    Hi!
    I can only post you my code that works for me and as I said I had same problems but can't remember what solved them. My code:
      public void fileUploaded(ValueChangeEvent event)
        FacesContext fc = FacesContext.getCurrentInstance();
        UploadedFile file = (UploadedFile) event.getNewValue();
        if (file != null && file.getLength() > 0)
          // here I have some messages written and a call to the method on AM to save the uploaded file to the DB
      private BlobDomain newBlobDomainForInputStream(InputStream in)
        throws SQLException, IOException
        BlobDomain loBlob = new BlobDomain();
        OutputStream out = loBlob.getBinaryOutputStream();
        writeInputStreamToWriter(in, out);
        in.close();
        out.close();
        return loBlob;
      private static void writeInputStreamToWriter(InputStream in,
                                                   OutputStream out)
        throws IOException
        byte[] buffer = new byte[8192];
        int charsRead = 0;
        while ((charsRead = in.read(buffer, 0, 8192)) != -1)
          out.write(buffer, 0, charsRead);
       * Launch the upload - see fileUploaded() for actual upload handling.
       * @return null navigation event - we stay on this page
      public String UploadButton_action()
        if (this.getMyInputFile().getValue() == null)
          FacesContext context = FacesContext.getCurrentInstance();
          FacesMessage message =
            new FacesMessage(FacesMessage.SEVERITY_WARN, JSFUtils.getStringFromBundle("fileupload.emptyfielderror"),
                             null);
          context.addMessage(this.getMyInputFile().getId(), message);
        return null;
       * Setter for inputFile UI Component.
       * @param inputFile inputFile UI component
      public void setMyInputFile(CoreInputFile inputFile)
        this.myInputFile = inputFile;
       * Getter for inputFile UI Component.
       * @return inputFile UI component
      public CoreInputFile getMyInputFile()
        return myInputFile;
      }fileUploaded is a valueChangeListener on inputFile and UploadButton_action is as the name says the action for upload button.
    Hope this helps. If not, than your problem is probably not the same as mine was, although the message about file corrupted was the same.
    Next thing you can check in this case is if your file exceeds max file upload size. I don't know the exact default value, but if the file is too long I think this upload logic will upload only a part of the file and save it to the DB which can also lead to the same file corrupted error.
    You can set the max upload value in web.xml like this:
    <context-param>
    <!-- Maximum memory per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_MEMORY</param-name>
    <!-- Use 5000K -->
    <param-value>5120000</param-value>
    </context-param>
    <context-param>
    <!-- Maximum disk space per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_DISK_SPACE</param-name>
    <!-- Use 10,000K -->
    <param-value>15360000</param-value>
    </context-param>

  • Jsp page opening pdf file stored in an ORDDOC type column

    Dear All,
    i am building a jsp page that opens a pdf file stored in database. if column type is BLOB, i run the prepareStatement and store in a ResultSet, and then BufferedInputStream(result.getBinaryStream("FILE")). it works. page opens the pdf file.
    but when column type is ORDDOC, i get this error:
    Failure in java.sql.SQLException: Ongeldig kolomtype.: getBinaryStream not implemented for class oracle.jdbc.driver.T4CNamedTypeAccessor
    what more do i do to get a pdf(or txt, msword..) file to jsp page and open it?
    regards
    Jerry

    We are facing this problem with IE6 browser only. In firefox, it opens fine in a browser window. What configuration should we do in IE6?
    Thanks,
    Ananth.

  • Play or download a WAV audio file stored in a BLOB

    Hi all, I was hoping someone could point me to the proper steps to take to download or play a WAV audio file I have stored in a BLOB column (from APEX). I'm sure it's probably pretty easy, but I can't quite find exactly the right approach.
    Basically all I want to accomplish is show a report, standard or IR, that will show some kind of link if there is a non-null BLOB value for a column -- the column only stores WAV audio files. I'd like the link (image, button, whatever) to either play the audio file directly (using whatever desktop player, plugin whatever the user might have), or at least prompt to download the WAV file for playback later.
    Any advice on how to easily do this?
    Thanks very much
    David

    Se this link: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e13363/up_dn_files.htm#CIHDDJGF
    Thank you,
    Tony Miller
    LuvMuffin Software
    (281) 871-0950

  • Image file stored in Table - how to retrieve into Report

    Hello
    Have a table in which there are text fields and a blob field into which an image file is uploaded (through a form).
    When creating report from the table, all the text fields are present but the blob field does not rate a mention, although the image has uploaded into the form successfully.
    How do I get the image from the table into the report?
    I am not a technically skilled person, I use the product out of the box - so please don't give me pl/sql or any other technical responses - unless they are basic.
    Thanks
    Jo

    thank you for hint.
    indeed I have installed BLOBDestination package. My goal is to integrate Forms, Reports and BLOBDestination such that:
    1. call a report from form (by rp2rro.rp2rro_run_product (REPORTS, 'pdf_report', ASYNCHRONOUS, RUNTIME,FILESYSTEM,PAR_ID, NULL);
    2. obtain response by reports server with the complete path of the file
    3. call BLOBDestination passing report_path as input parameter to save the PDF report into BLOB

  • Where are image files stored for tiled backgrounds in the templates?

    I am working with a template, but wanted to change the image that is set to tile in the background of one of the text boxes. I wanted to use another image that is set to tile in a different box, but I cannot locate this image. When changing the image on the Image Fill, after I click Choose, I need to point to an image file - anyone know where these images that are in the templates are stored?

    The files are located in the theme package that's located in the iWeb application: iWeb/Contents/Resources/Themes folder. From there you find the theme, open the package and drill down till you find the image files. You will have to use Quickview to locate the one you want.
    What theme are you using?
    OT

  • Size limit of access database with image files stored outside database

    I have read 2GB limit on size of Access database.  We are using Access 2013 database with fields that are data type attachment and storing attached images outside the database.  Does the size of the folder that is holding these images count
    in any way toward 2GB size limit?

    Hi,
    As far as I know, Access database limit size 2GB based on itself, not related to the folder size.  Attachment data
    type is similar to attaching files to e-mail messages. We need to control the Access database size is smaller then 2GB.
    When a field is defined with the attachment data type, you can store one or more files for each record in it.
    Attachments can dramatically increase the size of the database, but since the attached file is stored as a part of the dabatbase, you are not dependent on network drives being available as you would be if you inculded a hyperlink to the file. As a matter of
    fact, feel free to backup the origainal file to other disk after you attach it to the database.
    Regards,
    George Zhao
    TechNet Community Support

  • Upload and download files from ADF into blob type colum

    i have a question about Kuba's example ( http://kuba.zilp.pl/?id=1# )
    after you have upload the word documents, and when u click on the downoad button that document is open... i want to know if it is possibile that afer you have download the document, you make some changes on it and then to save these changes on the database? any idea if this can be done? Thanks in advance :)

    If you download the entire application from that link, the create.sql file is included in the \DBModel\model\zilp\testcase\dbmodel folder
    It's a rather complicated matter in my opinion. Download the app, open it in JDev and use debug-mode to go through it step by step, so you can try to understand everything that happens.
    Good luck :)

  • How to view PDF files strored in a BLOB column

    Hi all,
    I want to display a PDF file, stored in a BLOB column, in a form or through a JavaBean.
    But the problem is more complicated then that. I do not want to retrieve the PDF file in the application server that show it through a browser.
    Actually, I do not want users to get the entire file, I just want them to see it or print it.
    I want, in fact, to display a "stream" of bytes through Oracle Forms. Not a file.
    This one, sounded to be a good solution, but actually not. When the file was too big (multiple pages), the application was blocked until the entire file was loaded. And when you try to print it, it wasn't printed right. The advantage of this solution is that it is open-source so we can add methods to connect to the DB, retrieve the content of the BLOB column and displays it without downloading the file.
    Here is a good solution. Really good, files are loaded quickly, the rendering is really good and the file is printed perfectly (as it was printed from Adobe Acrobat). The disadvantage of this solution is that it is not open-source and is really expansive.
    As you can see, both solutions uses PJC.
    So any help, any idea to solve my problem will be highly appreciated.
    Thanks to all of you,
    Amine
    PS : I am using F&R 11gR2

    Not entirely. At least we came to the conclusion it doesn't make (much) sense to block the save option of PDFs if you want to allow printing them
    Anyway; there is of course another possibilty: you could always write your own java bean PDF reader; there are plenty of java PDF libraries available:
    Open Source PDF Libraries in Java
    The easiest way would be to choose one which can open a PDF from a URL and render it; I would retrieve the image via mod_plsql using WPG_DOCLOAD and simply use the PDF library to render the PDF. No tempfiles anyway, and if you don't implement it there is also no save button.
    cheers

  • Importing Akai disk image file

    I've just switched from Cubase SX4 to Logic Pro 8. Unfortunately I'm unable to use my library of Akai disk image files stored on my hard drives. Isn't EXS24 able to load from image files, like Halion does?
    I went through the whole process of storing the CDs on my hard drive, because Halion lets you load directly from image files, making this method far better than using the actual CDs...
    Help would be appreciated.

    Go into Project/Project Info... and see if single-layer is selected in the pop-up. If it is, it should create a disk image to fit on a single-layer DVD-R.
    I recommend a disk image burned to Verbatim DVD-R at 4X or slower using Toast or Disk Utility. You can set burn speed in iDVD '08 if not creating a disc image.
    David Pogue also recommends Verbatim on page 356 of his iDVD 6 book:
    iMovie HD & iDVD 6: The Missing Manual
    Quoting David: "Cheaper brands don't use the same amount of organic dyes and are more likely to suffer premature deaths."
    I buy Verbatim white inkjet printable in stacks of 50. Verbatim's part number: 94971. They have been flawless for me.
    *Burning speed*: Go into the menu > iDVD/Preferences/Advanced. Look at the bottom of that window.

  • A performance issue when opening report calls image file

    Hi All,
    I use Oracle reports version 10gR2. When the client user press preview button to display the Oracle report it takes an excessive amount of time. This report displays image file (*.tiff), the image file stored in another server not the application server or database server. I copy the image file first from this machine to the client machine then display the report from the client machine. But still takes time.
    Thanks & regards,
    Walid

    Hi All,
    I use Oracle reports version 10gR2. When the client user press preview button to display the Oracle report it takes an excessive amount of time. This report displays image file (*.tiff), the image file stored in another server not the application server or database server. I copy the image file first from this machine to the client machine then display the report from the client machine. But still takes time.
    Thanks & regards,
    Walid

  • IMPORTING: How do I set IP 09 to Copy image files into iPhoto09 on import?

    I have a number of image files stored in folders on my desktop.
    How do I set iPhoto 09 to copy the files from these folders on import and not just reference the image files in the spot they currently reside? After importing these files I would like to trash the folders on my desktop....

    iPhoto Menu -> Preferences -> Advanced tab
    Make sure the box at 'Copy Items to the iPhoto Library' is checked.
    Regards
    TD

  • Reuse image file from another DC

    Hi everyone,
    Is it possible to re-use image file stored in the mimes folder of a component in a DC from another DC ?  If it is possible, how do we access the image?
    Thanks,
    Johannes

    Hi,
    This is part of the code I use here in one Project.
      public java.lang.String getBitmapURLByIconId( java.lang.String iconId, java.util.Map iconMap )
        //@@begin getBitmapURLByIconId()
        String bitmapByIconId = getBitmapByIconId(iconId, iconMap);
        if (null == bitmapByIconId) // Not a Valid Icon..
             return "";
        WDDeployableObjectPart deployableObjectPart = wdComponentAPI.getDeployableObjectPart();
        try {
              IWDWebResource webResource = WDWebResource.getWebResource(deployableObjectPart, WDWebResourceType.PNG, bitmapByIconId);
              return webResource.getAbsoluteURL();
        catch (Exception ex) {
             wdComponentAPI.getMessageManager().reportException("Error Loading Icon '" + bitmapByIconId + "', " + ex.getMessage(), true);
             return "";
        //@@end
    In particular, we drive some configuration for Icons / Tooltips from the back-end. The variable "bitmapByIconId" will be populated with whatever Icon name I want to get. What you should look at is basically the IWDWebResource part, don't bother with the rest of the code..
    This is part of a DC and I expose some methods in its Interface Controller so I can re-use the same pictures everywhere.
    Hope it helps,
    Daniel

Maybe you are looking for