Firefox + web.show_document()

Hi guys
I'm developing an application in 10gR2, testing on firefox 1.5.0.7.
The issue I am having is that web.show_document(<url>,'_blank') only works once in firefox. The next time it is called, no browser window pops up. I literally have to shut Firefox down completely and restart it in order for another call to show_document to work. I have tried closing just the form and the tab in firefox (but keeping firefox open), then restarting the form. The next call to show_document in this case does nothing... so I truly have to completely exit the firefox application for the next show_document call to work.
The same form is able to launch multiple separate windows in IE 6 without problem.
Anyone has a similar experience or ideas?
Is there any way to detect which browser the client is running without a custom bean?
Thanks

I have just tested this with Firefox 1.5.0.7 and Jinit 1.3.1.22 and Sun 1.4.2_12 and Sun 1.5.0_09. I cannot reproduce the problem.
Be sure that you do not have any popup blockers or other Internet Security applications preventing the new page from being launched. Consider applications like Norton Internet Security and McAfee Internet Security.

Similar Messages

  • WEB.SHOW_DOCUMENT don´t start Firefox 3.5

    Hi @all,
    I want to call a report through Forms per web.show_document but Firefox don´t start. The URL is correct (I´ve tested it). I tried also to disable the Popup-Blocker but this didn´t solve the problem, too.
    I call the fmx with a JNLP File.
    There is no other browser installed on my system.
    Are there any other settings in the browser (or maybe in the OS (WinXPPro SP3)) which could be responsible for this problem.
    Thanks for your suggestions.
    Thomas

    Hi,
    no, I run my forms in a Java Virtual Machine ( I start it with a JNLP-File) not directly in a browser. Adobe 9 is installed. In "showmyjobs" there are no report jobs listed, because the browser don´t start and try to open the report. When I copy manually the URL (which should call the report) from web.show_document into the browser the report starts. There is no problem in calling the report.
    The problem is that web.show_document don´t start the browser or if the browser is already open a new tab to call the URL which I have written in web.show_document.
    e.g.
    web.show_document('http://www.google.de'. '_blank') should call google in a new browser tab or, if the browser is not opened already, in a new browser. But in my case the browser don´t start or don´t start a new tab page. This problem occurs in IE and in Firefox.
    I use JDK 6 Update 16 and Forms works fine with that version.
    I´ll try it tomorrow with another Java Version but I don´t think that this solve the problem.
    Thomas

  • 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

  • Web.show_document and Firefox

    Hi,
    we are usin web.show_document in oracle forms 9 for showing
    scanned documents
    Call working fine in IE all versions, but in firefox ver.2.0.0.6 we are not able to see *.tif document. When we press the button nothing happens. Is there problem with firefox settings or in the call web.show_document function.
    Thank you very much for any answer.

    Check
    [b]Mozilla Firefox Options
    File Types
    The Download Actions dialog, which can be opened by clicking the
    Manage... button, contains file types that you have downloaded.
    You can choose what Firefox should do when clicking on a specific
    file type by selecting the file type you want to modify and clicking the
    Change Action... button.

  • Simple question: calling URL link with WEB.SHOW_DOCUMENT is not working

    Hi folks,
    this should be an easy question, but I have no idea why it's not working :-(.
    In one of my form, I would like to place an URL link behing button.
    For this purpose I'm using below code:
       WEB.SHOW_DOCUMENT('http://www.google.com','_blank');But when above code is executed, nothing happens :-(.
    Could it be because I'm using it within modal type of window?
    Thanks,
    Tomas
    I'm using Oracle Forms 10g

    have you checked with using self instead of blank to see if it will replace your current page with the one you are tyring to call?
    Have you got any other firefox plugins running such as Ad block? can you try disabaling all addons and even the internal pop-up blocker jus to see if this will work?
    if self works but blank does not how about having the main app called from a multi frame page. one frame with the app in and the other frame with some javascript that can be called to open a new window? dont know if that will work and its late so probably not thought it thorugh fully :)

  • WEB.SHOW_DOCUMENT sometimes doesn't display the generated PDF file

    Hi all,
    I'm using the following code to generated my report from Forms:<br><br>
    V_REPORT_ID := FIND_REPORT_OBJECT(V_REPORT_NAME);
    V_REPORT_SERVER_JOB:= RUN_REPORT_OBJECT(V_REPORT_ID,P_LIST);
        V_JOB_ID := substr(V_REPORT_SERVER_JOB,length(:GLOBAL.REPORTS_SERVER)+2,length(V_REPORT_SERVER_JOB));
        V_REPORT_STATUS := REPORT_OBJECT_STATUS(V_REPORT_SERVER_JOB);
    LOOP
       IF V_REPORT_STATUS = 'FINISHED' THEN          
          V_TMP_PDF := :GLOBAL.APACHE_HTML_FOLDER ||'rpt'|| V_JOB_ID  ||'.pdf' ;
         COPY_REPORT_OBJECT_OUTPUT(V_REPORT_SERVER_JOB, V_TMP_PDF );
        WEB.SHOW_DOCUMENT(:GLOBAL.AS_HOME_URL ||  'rpt'|| V_JOB_ID  ||'.pdf' ,'_BLANK');     
        END IF;
    END LOOP; <br><br>
    Everything works fine except the WEB.SHOW_DOCUMENT part. In some clients, this command does what it required from it and opens a new browser window with the PDF report displayed on it. In some other clients, this command does nothing: now window dispalyed. When I refer to the Application Server, I see the PDF report successfully generated there. When I put the URL of the generated report manually in the browser address, I can see the report.
    <br><br>
    <b>Why the WEB.SHOW_DOCUMENT doesn't display the generated PDF report in some clients?</b>

    I agree with the previous 2 posters.
    Also firefox and ie handle it differently. Make sure you test on what your clients use.
    Sometimes acrotray.exe is completely retarded and doesn't work.

  • IE7 and web.show_document

    We run a forms application using 9.0.4 on IAS10gR1, JInitiator is 1.3.1.13. We often use web.show_document to display files (usually pdfs, but also other types) that are stored as blobs in the db or as files on the app server. From time to time users complain that this feature doesn't work anymore. In most cases this is caused by a popup blocker, either IE, or they use Firefox, or have installed Google's or Yahoo's toolbar with their popup blockers enabled.
    But now we are facing problems with users that have installed IE7. When they try to show a file which should be displayed using web.show_document, a new window flickers shortly and then disappears, even with the popup blocker disabled.
    Anybody out there with the same experience and (hopefully) a solution/workaround?
    And yes, I know that IE7 is not yet certified.
    Thanks in advance.
    Gerald

    We had the same problem opening files through web.show_document with IE7. It has to do with the Download settings in your Internet or LocalIntranet zones under Tools > Internet Options > Security > Select the zone > Custom level > Downloads group > Automatic prompting for file downloads setting.
    These prohibit IE7 to ask the user about downloading a file. That's why the new browser window closes right away. You could either change the settings for Internet and lower the security for all sites, or add your Forms server to Local intranet or even TrustedSites and set these up properly.

  • 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"/>
    ...

  • Web.Show_document and oracle session

    Hi,
    I am uploading a file on to Oracle Portal through web util. After this, I am calling the web.showdocument to view the uploaded file. But I am seeing only a blank page. This is the sequence flow.
    1. Forms call a procedure which will create a dummy record of the document to be uploaded. This insert is happening as an autonomous transaction.
    2. The Forms call webutil and uploads the document
    3. Then I am calling web.show_document to view the document. The browser is opening an empty page. But once I did an explicit commit, I can open and view the document successfully in the same way.
    I am using '_blank' option.
    So, what I infer from this is that web.show_document opens the browser with a new oracle session by passing authentication details internally. Is there any way view the document without doing an explicit commit?
    Thank you.
    Warm Regards,
    Raja.
    Message was edited by:
    Raja M

    Check
    [b]Mozilla Firefox Options
    File Types
    The Download Actions dialog, which can be opened by clicking the
    Manage... button, contains file types that you have downloaded.
    You can choose what Firefox should do when clicking on a specific
    file type by selecting the file type you want to modify and clicking the
    Change Action... button.

  • Troubles with web.show_document and internet explorer

    Hi folks, this is my problem
    I generate a text file on forms and then I use this to open the document in a new window
    web.show_document( nome_ver_, '_BLANK' );where nome_ver_ is a variable with the url
    Using mozila firefox this run fines and a new window is open and everything goes right.
    But in some machines with the internet explorer the new window appear and then close in milliseconds. I try different's versions of IE on the machine and still have the problem...
    Anyone see this bug?
    I try to disabled everything on secure on IE and still nothing...
    Sorry for my bad english and thanks in advance
    Luis

    You are generating a text file you say. Is it a pure text file? Or is it html that you wnt the user to view in the browser?
    In what versions of IE is this happening in?

  • Web.show_document-i dont want to open report in browser just save in folder

    Hi all,
    I m using the following code for pdf file generation using a loop. The problem is every report is open in browser and then save a pdf file in a specific folder. I want that report is not open into browser just save pdf files in a specific folder. Any body knows how i do this. I am using 10g developer 9.0.4.
    DECLARE
         v_SAM_CUST_ID     NUMBER(22);
         CURSOR C1 IS  SELECT
         SAM_CUST_ID
         FROM SAM ,DE_ADDR
         WHERE SAM.SAM_CUST_ID=DE_ADDR.DE_CUST_ID
         AND SAM.SAM_FREQUENCY IN ('DAILY','MONTHLY','Quarterly','Half yearly','Yearly');
    BEGIN
           if :TEXT_BOX1='S' then
           OPEN C1;
           LOOP
           FETCH C1 INTO v_SAM_CUST_ID;
           EXIT WHEN C1%NOTFOUND;
           --message('You have enter S'||v_SAM_CUST_ID);
           WEB.SHOW_DOCUMENT('http://plato:8889/reports/rwservlet?report=C:\CUST_PRINT1.rdf&P_1='||v_SAM_CUST_ID||'&cust_id&desformat=pdf&destype=cache&userid=wh1/wh1@dwh');
           END LOOP;
           CLOSE C1;
       END IF;
    END;
         

    This configuration file is present in the /reports/conf/ directory.
    It contains a few examples, very usefull if you want to hide some informaztion, like the connection string for instance.
    you can call it by setting the entry name in the url:
    http://machine.fr:7778/reports/rwservlet?my_entry&report=report.rdf&destype=...
    Francois

  • To access pdf files from application server using web.show_document

    Hello!
    If my pdf file is copied in Oracle_home/forms90/java directory.Then using web.show_document i can access the pdf file.But I can't copy all the pdf files in /forms90/java directory.We have lacs of pdf files which I want to keep in my own directory.But my requirement is if my pdf file is in /home2/docs directory in (Linux application server) ie in my own directory where I store all the pdf files.Then web.show_document does not open the pdf file.It says page cannot be displayed.For that I think we have to configure the directory /home2/docs directory as a webserver.From otn I got something like forms90.conf file in application server where we have to set virtual directory mapping etc.If the pdf is in local machine then in orion-web.xml file we have to mention real path and save the file and shutdown oc4j instance and restart it again.I tried it.But it is not working.Can u give me step by step instructions to solve this problem.I found a few links in discussion forum.But is doesn't work out.My pdf file is in /home2/docs directory in Linux application server.Please treat it as urgent.
    Regards
    Jayashree

    Hi Sandeepmsandy,
    There is no available code sample for this scenario. You may write your own.
    Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
    http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
    Step 2: Use some special classes to get file from serer.
    HttpWebRequest can help download small pdf files. For more information to see
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
    BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
    https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Closing the browser windows created by web.show_document and javascript

    From Forms I am issuing a http request using web.show_document and javascript:window.open(). The http request makes a remote procedure call to a coldfusion component on a JRun appserver. I want this rpc to fire in the background so that the current forms browser window remains as is.
    The logic is as follows
    l_rpcURL := 'http://....just a standard URL.....'; -- edited for this thread
    l_jsURL := 'javascript:window.open("' || l_rpcURL || '","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=no");self.close();';
    WEB.SHOW_DOCUMENT (l_jsURL,'_blank');
    The http request works fine but leaves a browser window behind. It's the one created by the javascript.window.open(). If I remove the self.close() from the javascript then I have two browser windows open, one from web.show_document and the other, as described previously, from the window.open().
    Any idea how I can force closure of the window opened by the window.open() ?
    Thanks

    Hi,
    did this occured afer installing service pack 2?
    A work around is The only solution that is to create a close.html file and calling this file in the code: Web.show_document('http://server:port/close.html','_self');
    <html>
    <body onload="closeit()">
    <script>
    window.close();
    </script>
    </body>
    </html>
    Monica

  • Web.Show_Document does not work with long running reports

    I am using Web.Show_Document() to call reports from Forms. Everything works fine for smaller reports. However for long running reports I do not get the output instead get the page "This page cannot be displayed.". On checking the job status on the report server I find that report is still running and completes after some time but by that time my http request has already timed out. What configuration do I have to change to make my long running reports work.
    Thanks

    So, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....

  • Web.show_document not working on 10.1.2.0.2 AS

    Hey guys. I just recently installed the stand alone AS forms and reports server 10.1.2.0.2.. the reporting functionality is not working...
    basically the application uses the reports engine to create a PDF file which is then read by the web.show_document built in. It works on the developer AS, but doesnt work for the forms and reports AS...
    the link I am reading the file from looks like this..
    http://<IP ADDRESS>:7777/forms/reports_output/116_rec_jan.PDF
    where the "IP ADDRESS" is the IP of the sever, and "/reports_output" is a virtual directory. Do I have the wrong port or something? The file "116_rec_jan.PDF" does exist on the server so I can't see the problem...
    Could it be that I dont have adobe reader on my server? Does the AS use the server's adobe reader to read the file or the client side adobe reader? Anyone know whats going on? Thanks for your thoughts.
    Mo

    The /forms part doesn't look right to me. Both /forms and /reports_output are virtual directories. I doubt that they resolve stacked on top of each other. Try taking out the /forms part.

Maybe you are looking for

  • How can I accomodate for JSessionId in my dynamic links?

    Hey, I have dynamic links that are producing "Page not found" errors because of the appended jsessionid. Example: desired url = http://www.allhonours.ie/Ask/viewq.do?qId=52 actual url = http://www.allhonours.ie/Ask/viewq.do;jsessionid=2333E4463870ED2

  • Editable columns in table don't select the whole row

    I am new to the forums and posted this to the wrong one the first time and I am not sure how to move it so I am just reposting it here. Sorry. I have a table with 7 columns. 2 of them are non-editable and the rest are either radio buttons or check bo

  • Customer Report with multiple conditions?

    Hello <<text removed>> I have a project that I am curious if it is possible using BW and BEx Analyzer. I have a Cube that contains Customer, Brand, Revenue etc.... Lets say i have the following values Customer: 1,2,3,4,5,6 Brand:      1,2,3 I need a

  • Import from Excel-columns to Keynote doesn't work

    I want to import data from Excel to Keynote in order to make a graph. The data are like 20,23 20,45 19,49 20,89 (Americans would use 20.23 and so on, but that's not the point in this case). When I mark the column and copy it to Keynote, the numbers a

  • Autosuggest - beyond the 1st word match

    I've searched for this and come to the conclusion that the answer is either so obvious that it's staring me right in the face, or else it's just something that the built-in autosuggest widget won't handle. I have a simple <cfinput> field that looks u