Web.show_document jre+ie problem

dear all,
i'm trying to call reports from forms, on when_button_pressed trigger, and it works fine when the report is called from JRE applet (I'm using jre instead Jinitiator) through Firefox.
But, when i call my form with Internet explorer, and click on button, another IE window is opened and got message "Enter your Single Sign-On user name and password to sign in"! [error_picture|[URL=http://img171.imageshack.us/i/ssoproblem.jpg/]]
I tried to set: IE->tools->internet options->general->tabs (on the bottom of general tab)->When a pop-up is encountered:Always open pop-ups in a new tab
and Open links from other programs in:A new tab in the current window, but still not works... :(
Here's the code I'm using on when_button_pressed trigger.
DECLARE
     hidden_action VARCHAR2(2000) :='';
     rep_url varchar2(2000);
BEGIN
     hidden_action := hidden_action ||'&userid=' ||GET_APPLICATION_PROPERTY(username)||'/'||
     GET_APPLICATION_PROPERTY(password)||'@'||GET_APPLICATION_PROPERTY(connect_string);
     rep_url:='/reports/rwservlet?server=rep_ep-pis-03_OH_PORTAL&report=Acc_mrg_izvj_new.rdf'
     ||'&desformat=pdf&destype=cache&'||hidden_action||''     ||'&p_deptno=10&paramform=no';
     WEB.SHOW_DOCUMENT(rep_url,'_blank');
     message(hidden_action);
END;my configuration:
Forms [32 Bit] Version 10.1.2.3.0,
IE: Version: 8.0.6001.18702
DB: 10.2.1...
Thx in advance,
Adnan
Edit: unfortunately, it seems that I have the same problem with firefox. Username which is necessary to logon on SSO window is portal administrator. It means that I have to somehow connect DB and AS (report server services) and allow database users to run reports via Oracle portal...
Edited by: adnanBIH on Mar 25, 2010 10:22 AM

Problem is solved ! This note from metalink helped me: [ID 316223.1]
1.  Make a back up of the following files:
$ORACLE_HOME/reports/conf/rwservlet.properties
$ORACLE_HOME/reports/conf/<report server>.conf
2.  In the rwservlet.properties:
change:
#SINGLESIGNON=YES
to:
SINGLESIGNON=NO
3.  In the <report server>.conf:
change:
   <security id="rwSec" class="oracle.reports.server.RWSecurity">
      <!--property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/-->
      <property name="oidEntity" value="reportsApp_<hostname>.us.oracle.com_BE6D095BE1044A70957E041E3DB98DE6"/>
   </security>
   <destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
      <!--property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/-->
   </destination>
   <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
      <!--property name="proxy" value="proxyinfo.xml"/-->
   </destination>
   <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
      <!--property name="proxy" value="proxyinfo.xml"/-->
   </destination>
   <job jobType="report" engineId="rwEng" securityId="rwSec"/>
   <job jobType="rwurl" engineId="rwURLEng" securityId="rwSec"/>
to:
   <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
      <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
      <property name="oidEntity" value="reportsApp_<hostname>.us.oracle.com_BE6D095BE1044A70957E041E3DB98DE6"/>
   </security-->
   <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
      <property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
   </destination-->
   <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
      <!--property name="proxy" value="proxyinfo.xml"/-->
   </destination>
   <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
      <!--property name="proxy" value="proxyinfo.xml"/-->
   </destination>
   <job jobType="report" engineId="rwEng"/>
   <job jobType="rwurl" engineId="rwURLEng"/>
...

Similar Messages

  • Web.show_document built-in  problem

    I use the web.show_document(url,target) built-in to call a web report from a form when i replace the target with _blank the report doesn't be called, however when i replace the target with _self,_parent,_top, the report is called.
    I want to call the report in a new window so i should use _blank option
    Please tell me how can i put the target equal _balnk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Note : When i run the form from forms builder, it calls the report and everything is OK, However when i run it from the web(using internet explorer 6), it doesn't call the report.
    please tell me what is the problem with me ?

  • Probleme mit secure web.show_document()

    Hallo,
    ich möchte einen Report wie im Dokument (http://www.oracle.com/technology/products/forms/pdf/10g/frmwebshowdoc_rep.pdf) beschrieben aufrufen!
    Beim ersten Aufruf des Reports erscheint die übliche Anmeldemaske.
    Wenn man dieses Fenster ohne Eingabe schliesst, und den Report noch einmal aufruft, erscheint die Anmeldemaske nicht mehr.
    Also Funktioniert die USERID_BEAN erst beim zweiten Aufruf???
    Die Ausgabe aus der Javakonsole:
    connectMode=HTTP, native.
    Version von Forms-Applet: 9.0.4.2
    4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    FrmReportsInteg3: Debugging true
    FrmReportsInteg3: Adding new userid string "lf/xxxxxxxx@tc10"
    FrmReportsInteg3: Setting domain to .xxxxx.de
    FrmReportsInteg3: Domain provided is not empty and is evaluated right now
    FrmReportsInteg3: First period found at 0
    FrmReportsInteg3: Second period found at 6
    FrmReportsInteg3: Cookie domain now is: .xxxxx.de
    FrmReportsInteg3: Setting cookie path to /reports/
    FrmReportsInteg3: Default cookie domain: .xxxxx.de
    FrmReportsInteg3: set RW_AUTH9i
    FrmReportsInteg3: Arguments: encryptionKey=reports9i; Reports version=RW9i
    FrmReportsInteg3: Cookie value for RW9i is: lf/xxxxxxxx@tc10;1126275499244:30
    FrmReportsInteg3: Encoded cookie value is: TXuSTNV2BEvREe5k2LSGiga4d16xt6KhwRKtsfgsaYwd
    FrmReportsInteg3: Complete cookie string is: userid=TXuSTNV2BEvREe5k2LSGiga4d16xt6KhwRKtsfgsaYwd
    FrmReportsInteg3: Added domain ".xxxxx.de" to cookie
    FrmReportsInteg3: Generated Cookie String: userid=TXuSTNV2BEvREe5k2LSGiga4d16xt6KhwRKtsfgsaYwd; domain=.xxxxx.de; path=/reports/
    FrmReportsInteg3: IE Cookie Set
    MfG D.Pfitzner

    Ich habe die Lösung selber gefunden (nach mehreren Stunden suchen).
    Ein SYNCHRONIZE vor WEB.SHOW_DOCUMENT hat mein Problem behoben!
    MfG Dirk Pfitzner
    Sorry, my next message is in english.

  • Forms web.show_document replace & in url

    Hi all
    i am trying to replace & in varchar for web_show.document
    v_params := v_params || '&name='
                       || replace(replace(replace(NAME, '"', ''''), '&', '%26'), ' ', '%20');
    Name ='es & tu'
    On debug all is correct Like es%20%26%20tu , but after web.show_document(v_params,'_blank') the link is ......es%20&%20tu........ WHY ?
    Why again symbol & is back ?
    Thanks
    ID
    Edited by: 1D10T on Feb 8, 2013 7:16 AM
    Edited by: 1D10T on Feb 8, 2013 7:20 AM

    Hi
    Are some configs who are changing a web.show_document ? The problem is still active
    On Debug varchar2 are correct es & tu replaced with es%20%26%20tu
    v_params := v_params || '&name='
                       || replace(replace(replace(NAME, '"', ''''), '&', '%26'), ' ', '%20');But in browser when calling a report ....es%20&%20tu why ?
    Thanks !

  • Web.Show_Document - Is there a file size limitation?

    It appears that Web.Show_Document has a problem displaying large .pdfs.
    Example: A .pdf size of *2505 KB* would not display, however I compressed the .pdf to *1172 KB* and the report displayed using web.show_document successfully.
    I am displaying the .pdf in an Oracle forms using web.show_document. The user presses a button (View Report) and it displays the report. Except, now it is not displaying reports close to 2000 KB in size.
    The error says **"Exhausted Resultset"**
    Is there a file size limitation with web.show_document?
    Environment Background:
    Forms [32 Bit] Version 9.0.4.1.0 (Production)
    Oracle Toolkit Version 9.0.4.1.0 (Production)
    PL/SQL Version 9.0.1.5.1 (Production)
    Report Builder 9.0.4.1.0
    ORACLE Server Release 9.0.1.5.1
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

    As already mentioned, WEB.SHOW_DOCUMENT has nothing to do with file size. This command simply sends a url to the system's default browser. There is no Oracle magic here.
    To the problem, you said:...The error says **"Exhausted Resultset"**Where are you seeing this message?
    Is Forms generating this message?
    Is this a custom message?
    Is this the complete message text?
    Is there an error number?
    This does not appear to be a Forms generated error message.
    I would suggest your store a large file in the same location as where your reports are located. The file should be of the same format (i.e. pdf). Open a browser and manually enter the necessary url to retrieve the content. I suspect the same problem would reproduce IF you believe the problem only occurs when the form calls WEB.SHOW. If it does reproduce then you have at least simplified the problem to a client browser requesting a document from a server.

  • Web.show_document problem

    I use the web.show_document(url,target) built-in to call a web report from a form
    when i replace the target with _blank the report doesn't be called, however when i
    replace the target with self,parent and _top, the report is called.
    I want to call the report in a new window so i should use _blank option Please tell
    me how can i put the target equal _balnk.
    Note : When i run the form from forms builder, it calls the report and everything is
    OK, However when i run it from the web(using internet explorer 6), it doesn't call
    the report.
    please tell me what is the problem with me ?

    Martin,
    the problem isn't with web.show_document but with teh Adobe plugin that can only run with one instance in a Webbrowser. Web.Show_document - seen technically - is nothing else than a URL requests no longer under the control of Forms
    Frank

  • Problem with web.show_document with Jinitiator and Firefox

    Not sure Firefox 2.0 is officially certified with Forms 9.0.4.1 and Jinitiatorbut regardless we have some users who want to use this combination. Everything seems to work fine except for the calls to web.show_document which opens a new browser window and displays some html etc.
    The problem is that even though the client Forms JVM is Jinitiator (1.3.1.18 or .21) when the call to web.show_document occurs somehow the Sun Java Plugin starts and having the two JVM's at once causes a fatal crash in Firefox. Can anyone suggest a way to preven the second JVM from opening?
    When the user uses the Sun Plug as the client Forms JVM there is no problem as the second JVM does not open. Unfortunately some users insist on Jinitiator with Firefox hence the problem. -quinn

    James,
    This whole applet embedded in a browser model for webforms is driving us batty at times. The list of problems includes:
    1) Users are constantly tempted by browser controls and accidentally do all sorts of things to get them in trouble. This has included but not limited to using the navigation arrows, jumping off to read their email in the same window as the form and returning to a dead forms session, minimizing, resizing, blurring off to another window and then returning back by clicking on the title bar of the browser and wondering why the form doesn't tab etc.
    Sure hobbling the browser by opening with limited functionality is a possibility but not a complete solution.
    2) New versions of browsers seem to break something. Both IE 7 and Firefox 2 have their own problems with web.show_document, especially file associations such as CSV and DBF and trying to open things in Excel in IE7.Firefox seems to have less problems for some yet some some oddities like the one that started this thread (and 2.0 opening new windows in tabs by default instead of windows).
    3) JVM jigsaw puzzle. Is it Jinit or Sun, which versions? Which combinations of browser version and JVM works.
    4) General fragility of the whole architecture. Running a client JVM in a web browser on top of a PC Operating system connectiong to a forms server over a network embedded in a Java Container server on a full blown web server running on a unix operating system is pushing the bubble. Throw in the mix that any of these components can be combined in numerous ways makes one wonder how it works as well as it does.
    Still users randomly getting dropped connections to forms server (network gltches?). General sluggishness (poorly written forms?). Periods of users with unduplicatable errors primarily network related it would appear.
    General feel that it is not rock solid stable. Perusing metalink documents on performance and tuning gives too much and too general info to troubleshoot so just shrug shoulders and say 'network problem'.
    What's the solution? Java webstart would seem to help at least with the browser realted issues but is that supported and documented how to use yet. Also we'd lose web_show_document which is critical (could it be replaced by webutil calls to open browser?).
    -quinn

  • 11g report bug !!!!  web.show_document paramform=yes   arabic problem

    hello,
    my problem already mentioned here .
    Arabic parameters with web,show_document  using parameters form not working
    i'm using Fusion 11g form & report 11g.
    my report support arabic, database also support arabic.
    my problem happen when i run my report with parameter form from browser url directrly as :
    http://localhost:9002/reports/rwservlet?report=d:\mojform\report.jsp&destype=cache&desformat=htmlcss&userid=scott/tiger&paramform=yes
    report query is : select * from emp where ename = :P_ename;
    the report run fine and i'm able to query and employee name and retrive them correctly from database. but i have some employees thier names is in Arabic
    text like 'احمد' when i enter this word in the paramter html form in the browser it return null, in sqlplus it work good and return the row.
    to make sure i add the name add fixed list and also as LOV in report user paramter form , it works fine when i choose english name from the LOV and return the row
    but when i choose an arabic name it said Warning: The value of restricted LOV parameter P_Ename !!!!??????
    viwing arabic LOV in Html form is working fine but passing this name as aparameter to the report server return null when using fixed list and when using LOV returns the above message..
    any i dea
    Edited by: user9283292 on Oct 6, 2011 11:40 AM

    hello,
    Thank you for reply.
    Yep, i already set the appropriate charset for the report server as you mention.
    still when i use Arabic as input in the parameter form box it return null.
    and when i a force the parameter box to user LOV it said : REP-0788: The value of restricted LOV parameter P_ENAME is not among the selectable values.
    I'm using Windows-1256 characterset in both 10g Database and both system registry ( Database Home) & ( Fusion home) also in the
    rwservlet.properties i use windows1256 also i use UTF-8 , but nothing ...
    any suggestions ???
    any suggestion.

  • Problem with web.show_document in calling report

    Hi ,
    I have started the reports server... Programs->run->"C:\oracle\product\DevSuite10g\BIN\rwserver.exe server".
    The system started a report server called "f".
    Pressing a button:
    declare
    begin
    URL_VAR:='/reports/rwservlet?server='||rep_server_name_var||'&report=texnikos_user\mod3_hmerolog_kinisis_.RDF'||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var||'¶mform='||param_form_var;
      WEB.SHOW_DOCUMENT(URL_VAR,'_parent');
    end;The system displays the error:
    REP-52266: failed starting the Reports Server f.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0.
    As action Oracle points out about it:
    Please make sure the server is not already started as a stand alone server.
    But there is not.... The server f has started successfully....
    Do you have any idea why is that...???
    NOTE: I use Oracle Dev10g. I also noticed that in the window which shows the status of the report server... in the last line as "active threads"(i don't know if i translated into english right ... the status is displayed in greek) that there are 2. Is this problem...???
    Thanks, alot
    Simon
    Message was edited by:
    sgalaxy

    Eventually , the report run... when the active thread got the value 1. How is it done...(i mean the value of 1 , instead of 2 when the report started...????) How to secure that the active thread would be 1 if this is the problem...????
    However , because the report is 2 page accross.... the report displays the first page and down the other page.... Is it possible to display both pages accross as i see them in report builder env....?????
    Thanks , a lot
    Simon

  • Web.show_document  spaces in the URL problem

    Hi,
    I am using Web.Show_document to call the report from the form. Here some of the parameters having a spaces. It is giving a problem and report is not running. Pl guide me in this issue.
    Thanks & Regards,
    Gangi Reddy

    Try using %20 in place of the space in the URL.

  • Help: Passing parameter to WEB.SHOW_DOCUMENT problem.

    In the following sample code:
    DECLARE
    rep_url varchar2(2000);
    BEGIN
    rep_url:=‘/reports/rwservlet?server=repserv10g@fnimphiu-pc&report=reptest.rdf’
    ||’&desformat=htmlcss&destype=cache&userid=scott/tiger@orcl’
    ||’&p_deptno=10&paramform=no’;
    WEB.SHOW_DOCUMENT(rep_url,’_blank’);
    END;
    Instead of hard coding, I tried to pass a made assignment to &p_deptno by writing:
    &p_deptno=:PARAMETER.p_depno
    where :PARAMETER.p_depno is an existing parameter with value. It does not work.
    Any suggestions?
    Thank you in advance.
    Jimmy

    Not sure if this is what you want, are you trying to hide the value or just assign it when web-show_document is called:
    rep_url:=‘/reports/rwservlet?server=repserv10g@fnimphiu-pc&report=reptest.rdf’
    ||’&desformat=htmlcss&destype=cache&userid=scott/tiger@orcl’
    ||’&p_deptno='||:PARAMETER.p_deptno||'&paramform=no’;
    WEB.SHOW_DOCUMENT(rep_url,’_blank’);
    You will see the value in the URL, but it will populate the value when web.show_document is called.
    Richard

  • Problem when using WEB.SHOW_DOCUMENT and passing in lexical parameter

    Hi,
    I got a blank page with error "An error has occured while trying to use this document" when I tried to use web.show_document and passing a lexical parameter to 10g report on 10gAS. The URL in the web.show_document is:
    http://<srvname>:<portnum>/reports/rwservlet?server=repserver90&report=myrpt.rdf&destype=Cache&desformat=pdf&userid=<usr>/<pw>@<db>&where_clause=where%20product_type%20in%20('REPORT')
    If I change the desformat to htmlcss, it is fine to display the report. But doesn't work with desformat=pdf. The pdf file has been generated in the cache. Why can't it display on the screen.
    Also I tried to use double quote the value for where_clause. The pdf report showed up. But it ignored the where clause.
    Experts please help.
    Ying

    I use lexical parameters and they work fine, but I use a parameter list. The code is contained in a form that is called by all forms that wish to run a report. This way you only need the logic for printing in a single form. If you want the form, email me at [email protected]

  • Problem: Web.Show_Document with separate frame = True

    We run our application in a seperate frame, so the applet is running outside our browser. When I change the URL in the browser-window the Forms Built-In Web.Show_Document does not work anymore (no browser window will be shown). Is it possible to solve this?

    Maurice,
    though Forms shows in a separate frame, the Applet instance is in the Browser window. If you change the URL in the Browser window then this is equivalent to closing the Applet session. The sepratate frame is a Java Frame that is called similar to
    Frame f = new Frame();
    f.show();
    There is no way to change this except the suggestion to make the Browser Window small as possible do the user does not play with it.
    Frank

  • [Solved] Problem with Web.show_document

    Hi all,
    In the custom.pll I use a Web.show_document() to get a file from the server.
    The URL is for example "http://10.0.0.20/test/159083.apn"
    I tested this and the browser (IE) is opening this file as a text file.
    Now I want that the .apn file must be opened with a specific program. So I added .apn to the registry.
    I typed manually http://10.0.0.20/test/159083.apn in the browser and the program I prefer is starting up now.
    But if the custom.pll executes the Web.show_document() now in a split second I see a flash of a screen and that screen is closed again. I don't know what screen but I think it is the browser.
    After that nothing happens anymore.
    Does someone here has any idea of what is going wrong

    Solved it.
    It's a browser security issue.
    In the custom security settings "Automatic prompting for file downloads" must be enabled.
    If this is disabled you normal get the yellow warning bar. But with Web.show_document() the browser opens and closes very fast.

  • Problems with Secure web.show_document! Nimphius Help!!

    In my application, every report node in the menu calls a form which loads the parameters for the report. Ive read the secure web.show_document whitepaper, and i've done everything on the white paper and everytime I try to open the form that invokes the java bean "USERID_BEAN" the form crashes the application.
    Since no errors can be found on a application crash, I tried to compile it in forms and run it as a stand alone form. This is the error I get.
    <img src="http://img143.imageshack.us/img143/5229/pickak8.jpg">
    The class path in the reg is intact... here is the entry
    FORMS_BUILDER_CLASSPATH:
    C:\Oracle\10gDS\forms\java\frmbld.jar;C:\Oracle\10gDS\jlib\importer.jar;C:\Oracle\10gDS\jlib\debugger.jar;C:\Oracle\10gDS\jlib\utj.jar;C:\Oracle\10gDS\jlib\dfc.jar;C:\Oracle\10gDS\jlib\help4.jar;C:\Oracle\10gDS\jlib\oracle_ice.jar;C:\Oracle\10gDS\jlib\jewt4.jar;C:\Oracle\10gDS\jlib\ewt3.jar;C:\Oracle\10gDS\jlib\share.jar;C:\Oracle\10gDS\forms\java\frmwebutil.jar;C:\Oracle\10gDS\forms\java\frmall.jar;C:\Oracle\10gDS\forms\java\frmrwinteg.jar;
    At first I thought it might have been the jar file frmrwinteg.jar, but I downloaded the new one at Nimphius' blog. Still no change..
    am I missing something? Someone please help me! Thanks!
    Mo

    If I am remembering correctly, some changes were necessary in order to make this work with 10.1.2.3. So, if you are using the old jar which you used in previous versions, I would recommend obtaining the one specifically updated for 10.1.2.3. Refer back to the OTN page which has the download and choose the link that references the new version:
    http://www.oracle.com/technology/products/forms/techlisting10gR2.html
    Be sure to clear the client Jar cache before re-testing. This is not the same as the browser cache.

Maybe you are looking for

  • Error message"Copying music failed.  The file name was invalid or too long"

    That's the message I get; no other details. I don't know which file. Or whether it's more than one file. How can I know/find out which file (and what a valid filename would be)? Grrrr... itunes managed to copy around 12 gigs before this happened, so

  • X2-01:How to add INDIAN Rupee Logo

    How can I add Indian Rupee logo in my X2-01's symbol list?

  • Switching, quick question about garageband

    ive used garageband before so i know some basics but one thing i never tried or thought of was editing mp3s or mp4as. could i open an existing song from my library and add layers to it, beats and all that stuff to in a way "remix" the song?

  • Editor has stopped working: how do I restore it?

    Up until this morning, SQL Developer was working fine, I'm quite pleased with it overall. This morning, however, I fired it up and opened a query window and discovered that the backspace, delete, enter and arrow keys no longer work. The only thing I

  • Why can't I download Adobe Premiere?

    Hi, I'm a subscriber of Adobe Creative Cloud. Up to now I had (almost) no problems. Today I tried to download Adobe Premiere, which is shown in my list of apps and services on the web. When I click on the download link next to the Premiere Icon the A