APEX BFILE

I have to store graphical documents in an Oracle Database using Apex. I have designed an application based on the Sample Application for Customers, Product, Orders Page 3 and 6 using apex_util.get_blob_file_src and a File Browse Item to store the document in a BLOB field. That works perfectly.
Now I had to change the application to store the BLOB content in a file and set a pointer in a BFILE column leaving the BLOB column empty. Therefore I wrote a view converting BFILE to BLOB and some instead of triggers to convert BLOB to BFILE.
Then I rewrote my Apex pages using the view instead of the table. It doesn’t work. I noticed that when using the table Apex is first executing an INSERT leaving the BLOB empty and after that an UPDATE to fill the BLOB column when creating a new record. When using the view instead of the table the INSERT is executed but not the UPDATE.
So I wanted to write a page process to update the table manually. But I found that there was no entry in the view APEX_APPLICATION_FILES generated by Apex. So I have no chance to obtain the BLOB value and use it to update my table.
What can I do to have the BLOB content written by Apex to the table the view APEX_APPLICATION_FILES is selecting from?

Hi
WWV_FLOW_FILES uses APEX security mechanisms - so you cannot see any entry when selecting it
from e.g. SQL*Plus. If you want to check the entries you need to use SQL Workshop.
If you create a File Browse Item named P1_FILE you can select the BLOB content with
declare
v_lob blob;
begin
-- get uploaded content
select CLOB_CONTENT into v_lob from wwv_flow_files where name = :P1_FILE;
-- insert into own table
insert into ...
-- remove from WWV_FLOW_FILES after copying
delete from wwv_flow_files where name = :P1_FILE;
end;
Note that you cannot insert into a BFILE - your target table column must be of the type BLOB
Regards
-Carsten

Similar Messages

  • Open document from interactive report

    Application Express version 4.0.2.00.07.
    In apex I am trying to accomplish the following:
    1. create a link to a pdf or Word document stored on local network using the file browse button.
    2. store the link to that file in my table but not store the actual document in the oracle table.
    3. open the document from link in interactive report.
    My dba does not want to store anymore documents into oracle because of performance issues we are experiencing with current applications that do this. Does anyone know the where to find sample code that will accomplish this task or will load the linked document into the oracle table but delete the document from the blob when the document is closed.

    You're probably looking to use the BFILE functionality - a pointer to a LOB on the filesystem.
    Try looking at some of the following sources for guidance
    http://docs.oracle.com/cd/B10501_01/appdev.920/a96591/adl12bfl.htm
    APEX BFILE
    http://monkeyonoracle.blogspot.com.au/2009/10/storing-images-outside-oracle-xe-with.html
    Scott

  • Apex 4 and BFILE

    Hi there
    ANypne with a working example of how to show a BFILE ? (pdf, word, jpg etc).
    Its not really an option to make a BLOB column, update and show from there,
    since it's supposed to be a read(only database with little or no redo etc.
    Any ideas?
    Mette

    Hi,
    Only one version of Apex can be available on db instance.
    You need second instance for Apex 4
    Regards,
    Jari

  • How to see bfile through apex

    hi,
    could you pls help me that what is the all process for bfile into blob and then how to see image in apex

    Hello user,
    You can create a function that returns a blob based on your bfile. Apex has default functionality dealing with blob's (http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm)
    Use this article, but instead of the insert, return a blob in a function:
    http://www.dba-oracle.com/t_store_insert_pdf_file_oracle_table_blob.htm
    When you select your bfile, make sure you wrap the function around it, so that Apex will select a blob instead of a bfile.
    I haven't tested this, but it sounds feasible. Looking forward hearing the results
    Greetings,
    Rutger
    http://rutgerderuiter.blogspot.com/
    ===============================================================================
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Handling images in APEX 4.0

    I am using APEX 4.0 and trying to rebuild an old Forms 6i application in this APEX 4.0 version. In Forms 6i there was the possibility to define an image with its size (I use 512 * 384 pixels). And I could also read an image from the file-system and resize it in a way that the complete image was vissible in the Application.
    In Forms 6i I used the following code :
    read_image_file ( fto
    , 'JFIF'
    , 'FOTO.EXAMPLE'
    image_zoom ( 'FOTO.EXAMPLE'
    , ADJUST_TO_FIT
    Can anyone help me to implement this functionality in APEX 4.0 ?
    Thanks,
    Jos Straathof

    Hi Jos,
    I think there are 2 ways of going about this.
    Method 1
    Read the image into Oracle, resize it, and serve it up.
    I'm not up-to-date with the latest version of Oracle, but I don't think it has a function to resize images built in, so you'd need an external library that you can call; or install a java library to do it. You'd read the image in as a BFILE, or use java to read it in. Not sure how you'd serve it up from APEX, but I know its possible.
    Method 2
    Set the HEIGHT and WIDTH attributes on the image when you generate the HTML and let the browser resize it. This is by far the easiest method.
    eg <IMG SRC='myimage.jpg' HEIGHT=240 WIDTH=320>
    Comming from a forms 6i background, I have the same problem - I keep comparing Apex to forms. But they are radically different beasts, and I'm trying to unlearn everything I know.
    Tak

  • APEX 2.1 and server  file system interaction methods

    Hello experts
    I am building a web application using APEX 2.1 that would be used by a few hundred users as a secure and auditable portal to a word document file library.
    The main use case is that an authenticated user will find links to documents he/she has been granted access of various levels (read only or read/write).
    All the files are stored on the server file system.
    I have a couple of questions:
    1.some file" when placed in an HTML region source does not work. Is this normal ?
    2.Will I have to import the entire file library (very large in size and number of files) into APEX so I can access them from APEX or can I simply use the simple anchor HTML tag above.
    Many thanks. Zemus.
    Edited by: zemus on Jun 4, 2009 1:25 PM
    Edited by: zemus on Jun 4, 2009 1:26 PM
    Edited by: zemus on Jun 4, 2009 1:27 PM

    I think I answered your email. Also, you can have a look at these threads:
    Re: How to display bfile in Apex report
    Re: Linking to display an external file
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Download BFILE Procedure

    I have a problem with a procedure for downloading BFILE. This procedure was working
    before (I swear):
       PROCEDURE download_bfile (
          file_in        IN   VARCHAR2,
          directory_in   IN   VARCHAR2 DEFAULT 'DATA_PUMP'
       AS
          lob_loc    BFILE;
          v_mime     VARCHAR2 (48) DEFAULT 'application/txt';
          v_length   NUMBER;
       BEGIN
          lob_loc := BFILENAME (UPPER (directory_in), file_in);
          v_length := DBMS_LOB.getlength (lob_loc);
          -- 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 users does a save as
          HTP.p (   'Content-Disposition:  attachment; filename="'
                 || SUBSTR (file_in, INSTR (file_in, '/') + 1)
                 || '"'
          -- close the headers
          OWA_UTIL.http_header_close;
          -- download the BLOB
          WPG_DOCLOAD.download_file (lob_loc);
       END download_bfile;I call this procedure using the following link (it is a part of a package):
    &lt;a href="http://pd2.synventive.de:7777/pls/htmldb/file_util.download_bfile?file_in=test.txt">download bfile&lt;/a>It runs and gives me the choice to open the file or to save it. But, after I choose one of
    the options it runs into an error:
    Internal Server Error
    The server encountered an internal error or
    misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected]
    and inform them of the time the error occurred, and
    anything you might have done that may have caused the
    error.
    More information about this error may be available in the
    server error log.
    Oracle-HTTP-Server/1.3.28 Server at pd2.synventive.de
    Port 7777The execute to public is there (otherwise it would not run first). The required directory
    is there and I have access to read and write on it. The file with that name is there.
    Apache log says:
    [Sat Mar 17 16:08:21 2007] [error] [client 10.2.70.73] [ecid:
    1174144101:10.2.28.134:3460:3612:51,0] mod_plsql: /pls/htmldb/file_util.download_bfile
    HTTP-500 ORA-22285: Verzeichnis oder Datei für GETLENGTH-Vorgang ist nicht
    Vorhanden
    [Sat Mar 17 16:08:21 2007] [alert] [client 10.2.70.73] [ecid:
    1174144101:10.2.28.134:3460:3612:51,0] mod_plsql: Unable to reset state for mode 0:
    Err 22285 url=>/pls/htmldb/file_util.download_bfileCould someone, please, test this procedure and tell me if it performs the same way?
    Thanks in advance,
    Denes Kubicek

    Denes / Doug
    Do you know whether downloading a BFILE has been tested over the APEX listener. I'm running with the 4.02 patched version and the production release of the listener but I can't get the OWA.downloadFile procedure to work. I've tried on Tomcat and Glassfish. The log file in glassfish records the following error when running the process (the Tomcat error is documented fully here - I didn't get any reply WPG_DOCLOAD.download_file - can I download a BFILE directly?
    java.lang.NullPointerException
    at oracle.dbtools.apex.OWA.downloadFile(OWA.java:248)
    at oracle.dbtools.apex.hooks.postProcess.CachedItems.postProcess(CachedItems.java:54)
    at oracle.dbtools.apex.hooks.ProcessorRegistry.postProcess(ProcessorRegistry.java:57)
    at oracle.dbtools.apex.ModApex.handleRequest(ModApex.java:217)
    at oracle.dbtools.apex.ModApex.doGet(ModApex.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at oracle.dbtools.rt.web.HttpEndpointBase.defaultServlet(HttpEndpointBase.java:115)
    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:82)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    at java.lang.Thread.run(Thread.java:619)

  • Wpg_docload from inside apex

    - I would like to use the below procedure to download an image in a new browser window.
    - I created a public dad
    - I created the following package/procedure:
    create or replace package body jmf as
    procedure download
    is
    v_bfile bfile;
    begin
    select bfilename('MY_FILES', 'jmf.pdf')
    into v_bfile
    from dual;
    owa_util.mime_header('application/pdf', false);
    owa_util.http_header_close;
    wpg_docload.download_file(v_bfile);
    end download;
    end jmf;
    - I am able to call this procedure from the url and it downloads the PDF
    - I want to call this procedure from a APEX before header process. When I do I get the follwing error:
    Apex error returned:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Apache Error_log :
    (note: pyro is the dad apex is using)
    error: mod_plsql: /pyro/f http-500 ora22285: non-existent directory or file for GETLENGTH operation\n
    alert: unable to reset state for mode 0: Err 22285 url=>/pyro/F
    Any Ideas would be greatly appreciated.
    Thanks
    Jon

    Jon,
    Take a look at the function download_file, which should install as part of the Sample Application. You can use something like that to download a file via an APEX process.
    Here's a copy of that function, or at lease one that's similar:
    create or replace procedure download_file
      (p_ticket_file_id in number)
    as
      l_mime_type                varchar2(255);
      l_length                     number;
      l_content_file_name      varchar2(2000);
      l_content_file           blob;
    begin
    select
      mime_type,
      content_file,
      file_name,
      dbms_lob.getlength(content_file)
    into
      l_mime_type,
      l_content_file,
      l_content_file_name,
      l_length
    from
      ticket_files
    where
      ticket_file_id = p_ticket_file_id;
    owa_util.mime_header(nvl(l_mime_type,'application/octet'), FALSE );
    htp.p('Content-length: ' || l_length);
    htp.p('Content-Disposition: filename="' || l_content_file_name || '"');
    owa_util.http_header_close;
    wpg_docload.download_file(l_content_file);
    end download_file;
    /

  • Opening excel from apex

    i have a DML program that creates a report as a text file when a button is clicked and saves it onto a shared directory.i need to open this file in excel once it is created. the apex is used for a front end that allows user to select parameters to the program.
    is there a way of opening these files in excel via apaex. or rather can you open an excel instance from apex that will open a file sitting on any location

    If you store your files as a .csv file, you will be able to download those and open them
    directly in excel. See this thread for a how to on opening BFILE:
    Storing documents in FILE SYSTEM not in BLOB
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Is it possible in APEX? My own file repository...

    Hallo,
    I'm interesting in building application in Apex, but I don't have enough skills to make mt concepts true. Hence I need the HELP. I believe that somebody of you help me :-)
    The problem is in building file repository - I need it would be at storage level in separate file or like a bfile type in logical structure - I don't know how it works (e.g. apex mechanism - how works upload file item? it upload my files somewhere but i don't know where). The best solution for me is a separate datafile - it is convinient from the online backup side by rman.
    If it is possible, please, give me an answer ...
    Przemek

    Hello,
    Yes that is certainly possible (and fairly easily actually).
    Have you had a look in the 2 Day Developers guide -
    http://www.oracle.com/technology/products/database/application_express/html/doc.html
    Also the Document Library packed application should help you -
    http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#DOC_LIB
    Hope this helps,
    John.
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • Download from BFILE problem

    Hello,
    I have the following problem:
    1. I can upload PDF files into BFILE(s) - in the DATA_PUMP_DIR (dba_directories table)
    2. The uploaded file can be opened/viewed with Adobe Acrobat Reader.
    3. I use a stored procedure do download the PDF files from my browser.
    4. the download works ok but the file can no longer be opened/viewed using Adobe Acrobat Reader.
    5. I did a hex compare of 2 pdf files (the uploaded file and the downloaded file) and I think it is a CR vs CRLF conversion problem.
    I am using Oracle 10g XE on a Linux box and Windows as a client. The upload/download is part of a APEX application.
    This is the code used to download the BFILE:
    Note: v_mime is set to 'application/pdf'.
            x_bfile := BFILENAME ('DATA_PUMP_DIR', p_file);
            DBMS_LOB.fileopen (x_bfile, DBMS_LOB.LOB_READONLY);
            -- 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 );
            -- the filename will be used by the browser if the users 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;
            BEGIN
                LOOP
                    DBMS_LOB.READ (x_bfile,
                                   n_size,
                                   n_pos,
                                   x_buffer);
                    HTP.prn (UTL_RAW.cast_to_varchar2 (x_buffer));
                    -- increment number of bytes read
                    n_pos := n_pos + n_size;
                END LOOP;
            EXCEPTION
                WHEN NO_DATA_FOUND THEN
                    NULL;
            END;Any suggestions?
    Thanks,
    Catalin Florean.

    You could try using wpg_docload.download_file instead of htp.prn.
    Here is part of the procedure I use for downloading MP3 files from BFILES:
                    owa_util.http_header_close;
                    dbms_lob.createTemporary(TBlob, true);  
                    dbms_lob.open(Lob_loc, dbms_lob.file_readonly);
                    dbms_lob.loadfromfile( TBlob, Lob_loc, dbms_lob.getlength(Lob_loc) );
                    dbms_lob.fileclose(Lob_loc);
                    -- download the BLOB           
                    wpg_docload.download_file( TBlob );    
                    dbms_lob.freeTemporary( TBlob );You would replace my Lob_loc variable with your x_bfile.

  • To BFILE or to BLOB that is the question ?

    G'day all,
    I'm looking for some advice on PROs and CONS on using BFILE or BLOB. Currently I'm using BLOB to store images which is fine I guess on Oracle Std and Enterprise but when I deploy the application to customers on a laptop I'm going to use OracleXE.
    All performance looks good for Oracle XE on laptop, but a question was raised that I should have considered myself (But sliped my mind) was about how Oracle XE has 4GB Tablespace limit and how that impacts us when our database gets fully populated with Images.
    Bugger, that 4Gig will get chewed up fairly quickly :( So I'm now wondering if I should use BFILE, that should mean the Image disk usage on the Oracle Tablespace will nolonger apply as the image data is external to the database ? right ? ...
    I was wondering if any one could confirm my thoughts, and if possible give me some PROs / CONs or Catch 22's if I do go down the BFILE path ? Obviously I'm aware of directory permissions and backup policy now mean the images need to be backed up externally. But anything else critical to BFILEs would be most appreciated.
    Regards
    Mark

    G'day All,
    Just an update, I've sucessfully modified the APEX 3.0 DEMO application to use BFILE instead of BLOB for DEMO_IMAGES. I've now got a good set of PROCEDURES and FUCTIONS to work with BFILE especially an equivalent CUSTOM_IMAGE_DISPLAY for show BFILE images on web pages etc. A few lessons learnt, but one of the big ones that cause a small flap after all my hard work, was when I ran a test and uploaded 10 images of 6 mb each the APEX SYSAUX table space still increased by 65mb even though I had deleted the BLOB from the work flow table after storing the a as BFILE.
    After doing some research I located this webiste (http://halisway.blogspot.com/2007/06/reclaiming-lob-space-in-oracle.html) which explains that even though we delete records with BLOBs the LOB space is not automatically reclaimed so as the SYS user ran the following command and then rechecked the SYSAUX tablespace and all was good.
    NB: The bloody table that is used to store the uploaded files is located under FLOWS_FILES so make sure your attached to that schema else alter table complains thats it can not see table / view.
    alter session set current_schema=FLOWS_FILES;
    alter table wwv_flow_file_objects$ modify lob (blob_content) (shrink space);
    So now Oracle XE shouldn't run out tablespace too quickly now, as long as I run the above maintenance commands to reclaim space.
    One happy chappy.
    Mark

  • On BFILE usage

    Hi,
    Any help.. documents.. tutorial....samples... on BFILEDOMAIN usage.
    Ravishankar Swamy

    G'day All,
    Just an update, I've sucessfully modified the APEX 3.0 DEMO application to use BFILE instead of BLOB for DEMO_IMAGES. I've now got a good set of PROCEDURES and FUCTIONS to work with BFILE especially an equivalent CUSTOM_IMAGE_DISPLAY for show BFILE images on web pages etc. A few lessons learnt, but one of the big ones that cause a small flap after all my hard work, was when I ran a test and uploaded 10 images of 6 mb each the APEX SYSAUX table space still increased by 65mb even though I had deleted the BLOB from the work flow table after storing the a as BFILE.
    After doing some research I located this webiste (http://halisway.blogspot.com/2007/06/reclaiming-lob-space-in-oracle.html) which explains that even though we delete records with BLOBs the LOB space is not automatically reclaimed so as the SYS user ran the following command and then rechecked the SYSAUX tablespace and all was good.
    NB: The bloody table that is used to store the uploaded files is located under FLOWS_FILES so make sure your attached to that schema else alter table complains thats it can not see table / view.
    alter session set current_schema=FLOWS_FILES;
    alter table wwv_flow_file_objects$ modify lob (blob_content) (shrink space);
    So now Oracle XE shouldn't run out tablespace too quickly now, as long as I run the above maintenance commands to reclaim space.
    One happy chappy.
    Mark

  • APEX:  Open a new Pop Up Window in PLSQL

    I call a stored procedure from APEX which generates a report in a directory defined in ALL_DIRECTORIES. After I call this stored procedure, I want to display the report just generated ( i know the filename and path) in a new window in my apex application. I am proficient in PLSQL but not in Java Script. Can anyone explin how to do this. I have tried to use window.open in plsql but it is not recognized.
    Sandra

    Thank you for pointing me in the right direction. I will used this stored procedure multiple times in this app as well as other apps.
    This is what I did.
    I created a stored procedure that passes in the directory name and filename
         Procedure p_uploadFileToBlob (v_directoryName varchar2, v_fileName varchar2) is
         v_filePointer     BFILE;
         v_fileContent     BLOB;
         src_offset     NUMBER := 1;
         dst_offset     NUMBER := 1;
         Begin
              v_filePointer := BFILENAME (v_directoryName, v_fileName);
              insert into flu_file_objects (name, subject, file_pointer) values
              (v_fileName, 'UsageReport',v_filePointer);
              update flu_file_objects set file_content = EMPTY_BLOB() where name = v_fileName;
              select file_content into v_fileContent
              from flu_file_objects where name = v_fileName;
              DBMS_LOB.fileopen(v_filePointer, DBMS_LOB.file_readonly);
              DBMS_LOB.loadblobfromfile (v_fileContent, v_filePointer, DBMS_LOB.getlength(v_filePointer),
                        dst_offset, src_offset);
              DBMS_LOB.fileclose(v_filePointer);
         End;
    THen with the help of this posting
    http://apex-notes.blogspot.com/2008/10/ora-01403-when-viewing-blob-data-in.html
    I was able to display the report. At first I tried to load as clob but I lost all report formatting. CHanged to blob and all worked great.
    Thanks again.
    Sandra

  • Apex application registered with sso as partner application

    We have 1 apex app registered with sso and working properly.
    I just registered a new apex application with sso. when i authenticate through sso, it directs me to the originally registered application.
    I went in through the portal administrator app and verified my settings all pointed to the new application. I verified that my dad is set up correctly.
    Any ideas?
    APEX 2.0

    i did register and obtain the keys through portal admin.
    to ensure i used the proper keys (i guess there is a possibility i used the keys from db1 registration) i re-ran regapp with the right keys but recieved the following output:
    SQL> @regapp
    Partner Application Configuration
    Enter value for listener_token: HTML_DB:050iasphttp.xxx.na.xxx.com:7777
    Enter value for site_id: EFBE3E14
    Enter value for site_token: MSMXURH1EFBE3E14
    Enter value for login_url: https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admin.ls_login
    Enter value for encryption_key: 2EBDD126A3A40606
    Enter value for ip_check: N
    ERROR: Error in registration. Please try again
    User-Defined Exception
    Registration successful.
    Listener token: HTML_DB:050iasphttp.xxx.na.xxx.com:7777
    Site id : EFBE3E14
    Site token : MSMXURH1EFBE3E14
    Encryption key: 2EBDD126A3A40606
    Login URL :
    https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admi
    n.ls_login
    Logout URL :
    https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admi
    n.ls_logout
    IP check : N
    PL/SQL procedure successfully completed.
    Commit complete.
    No errors.
    SQL>
    ...in spite of the error, i aske the app developer to try and use sso for db2. he now recieves:
    User-Defined Exception
    Error Error in wwv_flow_custom_auth_sso.process_success:l_sso_user_name:l_sess_id:: Please contact administrator.
    OK
    any ideas?

Maybe you are looking for

  • Report output directly to printer on web

    I am using Forms 6i & Reports 6i to build an application. I run report from forms 6i using Run_Report_Object (Output to printer). It works fine when using Client/Server. But When on the web the output of report to printer goes to the printer of the s

  • Slow Browsing/Problem connecting to games

    Hi, About two weeks ago I started to have a problem with my internet, webpages were slow to load, some not loading at all, and a number of games were suffering from disconnects. Upon contacting BT technical support they found a problem with our Home

  • How do I get Aperture 3.5 to open - rather than 3.4.5?

    I have a 4.4 GHz Intel core i& iMac - and have recently upgraded to OSX 10.9. When Mavericks had installed, a number of programs appeared in the App Store - available as upgrade - all iLife programs updated fine - but although the Aperture 3.5 update

  • The option to open a new tab is not working?

    The option to open a new tab is not working? I click on the little box but nothing happens?

  • Tables and cells in Pages for iPad

    I am using Pages for iPad. I am writing in a table and when I write a large content in a cell, it desappears on the bottom of the page. Is there any way to make the cell to split automatically when it reaches the bottom of the page? Thank you for you