Forms 6i - web.show_document error

I am trying to use web.showdocument to open a java based internet session. I get an C++ Runtime-Error, abnormal termination in Internet Explorer.
Not sure whether Jinitiator is interfering with Java JVM or not...
WEBNOW_URL VARCHAR2(200);     
WEBNOW_URL := 'http://server.is.generic.com:8080/web/index.jsp?';
WEB.SHOW_DOCUMENT(WEBNOW_URL,'_blank');
Please help me....We are trying to get this to work with a imaging product call WebNow. It is version 5.4. It is associated with ImageNow.
No Java URLS will display thru Internet Explorer with the Web.Show_Document
Any ideas are helpful...

The problem you are having is likely caused as a result of conflict between JREs. You can only run one JRE/Jinitiator version per browser session. Calls to WEB.SHOW_DOCUMENT launch new browser windows using the same session as the parent. In other words, if Forms uses Jinitiator 1.3.1.22, your other application must also use Jinitiator 1.3.1.22

Similar Messages

  • Reports 9i Printing from Forms with WEB.SHOW_DOCUMENT

    I want to print a Report from Forms via WEB.SHOW_DOCUMENT directly to the printer and it works fine.
    But every time i print it from my web application a new browser-windows opens and shows a message "Printed successfully" or something like that. If I start the printjob again nothing happens - if I press the Browser-Refresh-Button in the new Browser-Windows with the Message ("Printed Successfully") it prints.
    So now I have 2 questions:
    a) How can I disable the "Printed successfully"-Message
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    I hope I hava explained my problem clearly. 4
    Here ist the complet WEB.SHOW_DOCUMENT-Command I fire in Forms when a Button is pressed:
    WEB.SHOW_DOCUMENT('http://mymachine:8888/reports/rwservlet?report=testreport.rdf&destype=printer&desname=\\NTS32\VZ_D3&desformat=html&userid='|| sUser ||'/'|| sPW ||'@'|| sDB,'_blank');      
    Many thanx for your help!
    Regards
    Marc

    Hello,
    for the problem:
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    may be it just a setting in your Browser ?
    For Internet Explorer :
    go to I.E General Options screen. click on settings button and choose
    "Every visit to the page " option.
    Regards

  • How to call a form from WEB.SHOW_DOCUMENT 10g  Is this possible?????

    how to call a form from WEB.SHOW_DOCUMENT
    I would like to call a form using the WEB.SHOW_DOCUMENT the idea is from the menu that is attached to the form instead of use call_form use WEB.SHOW_DOCUMENT(...my_newform.fmx)
    Is this possible?????

    Hi ,
    I think yes...but under some circumstances....
    In your formsweb.cfg file you should define a named configuration alias... such as:
    [TEST]
    workingDirectory=C:\TEST_DIR
    form=C:\TEST_DIR\MY_NEWFORM.FMX
    Then , after stopping , starting your OC4J instance..... you call that as (in a button , for example):
    web.show_document('http:<your_server>:<port>/forms/frmservlet?config=[TEST]',_blank);
    I have not tested it.....
    Regards,
    Simon

  • WEB.SHOW_DOCUMENT Error

    hiiii
    using (Developer 10g R2, Win xpSp2)
    i have created a simple report on EMP table of scott schema (select * from emp) and saved the emp_rep on(D:\reports\MODULE2.rdf)
    and i have built a Form with a button that is when pressed to RUN this report
    i have this error :
    REP-52266: The in-process Reports Server rep_omd1 failed to start.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0.
    the code used is as follow :
    declare
    URL_VAR varchar2(1000);
    begin
    URL_VAR:='http://127.0.0.1:8889/reports/rwservlet?server=rep_omd1&report=D:\reports\MODULE2.rdf&desformat=HTMLCSS&destype=cache&userid=scott/tiger@orcl';
    WEB.SHOW_DOCUMENT(URL_VAR,'_blank');
    end;
    ***********************************************************************************************

    hiii
    i did the folowing :
    1) in (E:\Oracle\Developer10g\reports\conf\rwservlet.properties) i have changed to
    SERVER_IN_PROCESS=NO
    2)i have run rwserver server=rep_omd1
    3)Start the OC4J
    4)use this code
    and got the error( REP-51002: Bind to Reports Server rep_omd1 failed)
    declare
    URL_VAR varchar2(1000);
    rep_server_name_var varchar2(30):='rep_omd1';
    path_var varchar2(100):='D:\reports\MODULE2.rdf';
    source_module_name_var varchar2(20):='REP1';
    desformat_var varchar2(20):='HTMLCSS';
    destype_var varchar2(20):='cache';
    username_var varchar2(20):='scott';
    password_var varchar2(20):='tiger';
    tns_var varchar2(50):='orcl';
    param_full_settings varchar2(1000):='';
    begin
    URL_VAR:='http://127.0.0.1:8889/reports/rwservlet?server='||rep_server_name_var||'&report='||path_var||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var;
    WEB.SHOW_DOCUMENT(URL_VAR,'_blank');
    end;
    ***************************************************************************************

  • Launching a new form using web.show_document

    Using 9iAS 9.0.2.1.1. and Forms9i I'm trying to get a form to launch a new browser window and open a new form in it. At present I'm using web.show_document to do this. However, I get an error message stating that 'Connection from new browser window is not supported'. From an earlier thread in this forum I found a possible solution which is to set the session.useCookies to false in the zone.properties, which I have done, but I'm still getting the same error. I've tried restarting the OC4J_BI_Forms OC4J and the HTTP server, but nothing makes any difference. Am I missing something?

    If you are attempting to print a report from a when-button-pressed trigger from within a form, you do not have to explicitly specify the server (hostname) nor the port. You can just use what I've found referred to as a virtual path to the server as I have done here:
    parm_string := '/reports/rwservlet?config=my_config&report=report_name'
         ||'&desformat=pdf&destype=cache'
         ||'&paramform=no&printjob=no'
         ||'&p_my_user_param1='||v_my_param1
         ||'&p_my_user_param2='||v_my_param2;
    web.show_document(parm_string,'_blank');
    You can specify a userid/password@connectstring within a named congifuration section of your formsweb.cfg file if necessary, e.g. my_config.
    Hope this helps.
    James K.

  • Forms 11g - web.show_document

    Hi!
    How can i reach the reports server with web.show_document in Forms 11g?
    "opmnctl status" shows the running reportsserver but when i make a call e.g. to
    http://pc1:8888/reports/rwservlet?report= ... a.s.o.
    the error message: Failure of server apache bridge:
    no backend server available for connections ...
    is thrown.
    any ideas?
    thanks in advance!
    Magoo

    Can you please specify the OS you are using. Because in Windows XP and Vista, only Forms & Reports Builder and Runtime are supported, and the system components (OHS, WC) are not supported.
    If you have installed in a Windows 2003 Platform and install is done with the system components, then the issue is with the OHS.
    OHS seems to be down.
    You can bring up the OHS, Reports Server through OPMN or start menu. And WLS_REPORTS from the start menu.
    In the command prompt, cd $ORACLE_INSTANCE\bin (By default - C:\oracle\Middleware\asinst_1\bin) run the command:
    opmnctl.bat status -l :- Will give the status of the components. If System components are not installed, this will not work.
    opmnctl.bat restartproc ias-component=ohs1 :- Will restart the OHS.
    This can be done from the Start Menu also:
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Stop Oracle Http Server - ohs1
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Start Oracle Http Server - ohs1
    You can stop and start the WLS_FORMS from the start menu:
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Stop WebLogic Server - WLS_FORMS
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Start WebLogic Server - WLS_FORMS
    Status of the WLS_FORMS can be seen from the Admin Console:
    http:<hostname>:7001/console (use the pwd given during the Classic SH install).
    Under Environment section, click Server.
    Summary of Servers Page will show the status of the WLS_FORMS.
    If you want to stop and start, select Control tab. Check the check box and press the corresponding button.

  • Calling a report from form using web.show_document

    Hi,
    Used the method as below, But , error reprot not found,
    Could anybody tell me how to get the server name from ny local machine as in the example servername ' Repsrv '
    /* WHEN-BUTTON-PRESSED */
    DECLARE
    vc_url varchar2(100);
    BEGIN
    vc_url:=‘http://<hostname><port>/reports/rwservlet?server='
    ||
    ‘Repsrv&report=reptest.rdf&desformat=htmlcss&destype=cache ’
    ||
    '&userid=user/pw@database&p_deptno='||:dept.deptno||'&paramform
    =no’;
    WEB.SHOW_DOCUMENT(vc_url,’_blank’);
    END;
    Thanks

    If you are attempting to print a report from a when-button-pressed trigger from within a form, you do not have to explicitly specify the server (hostname) nor the port. You can just use what I've found referred to as a virtual path to the server as I have done here:
    parm_string := '/reports/rwservlet?config=my_config&report=report_name'
         ||'&desformat=pdf&destype=cache'
         ||'&paramform=no&printjob=no'
         ||'&p_my_user_param1='||v_my_param1
         ||'&p_my_user_param2='||v_my_param2;
    web.show_document(parm_string,'_blank');
    You can specify a userid/password@connectstring within a named congifuration section of your formsweb.cfg file if necessary, e.g. my_config.
    Hope this helps.
    James K.

  • I am not able to call a form by web.show_document

    Hi
    This code is on button on first  from and the second form is called by this button and the code is given
    web.show_document('http://comp_name:8889/forms/frmservlet?
    form=C:\test_report\final_to_be_added_to_main\MASTER_FORM_TRIAL.fmx&userid=&buffer_records=NO&debug_me
    ssages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES&otherparams=PARA1=' || V_PARA_VALUE);BUt the next form is not openned and not showing any error
    in few computers its working fine
    please guide me
    Thanks And Regards
    Vikas Singhal
    Edited by: vikas singhal on Jun 11, 2010 2:59 PM
    Edited by: vikas singhal on Jun 11, 2010 3:00 PM
    Edited by: vikas singhal on Jun 11, 2010 4:25 PM

    Sir,
    it is working fine on my server when i run the application on my lan machines in few machines have problum
    and few working fine.
    Any help appreciated.
    Thanks And Regars
    Vikas Singhal

  • Passing parameter to Called form through Web.Show_document.

    i am calling a form say 'form2.fmx' from 'form1.fmx' using web.show_document. the parameter is concatenated with the URL string properly but this parameter is not accessible in the called form.
    Please Help
    thanks

    i am running forms Of 10G developer suit. i want to call and pass a parameter
    'emp_no'(employee no) to a form say 'form2.fmx' from the form say 'form1.fmx' on button
    click. so i have created a parameter named "emp_no" in the object navigator of "form2.fmx".
    in form1.fmx, i am using web.show_document(URL) function as given below.
    web.show_document('http://111.111.111.11:8889/forms90/f90servlet?form=form2.fmx&emp_no=7156&userid=scott/tiger@mysid','_blank');
    This function successfully call the "form2.fmx" but in this form the value of parameter
    "emp_no" is null even when i have passed it in the URL (as shown in the above code line)
    i.e; the value of emp_no is null.
    Note :
    7156 is the value of emp_no parameter.
    111.111.111.11 is the supposed ip address. etc.

  • Abt web.show_document in forms 10g

    hi,
    i am trying to call the following code in forms 10g
    web.Show_document('javascript:alert("hello world")','_blank');
    but its not working ,plz help me !!!
    ThanX in Advace
    chandra

    This is a browser problem, not a Forms problem. First check your broswer to make sure it has JavaScript enabled. If it still doesn't work, and you are able access a html page using web.show_document(), then your browsers security setting is preventing the JavaScript operation from ocurring.
    It works for me and i'm using IE v6.0.2900 sp2.

  • WEB.show_document in Browser Tab Pages

    Hi
    This problem occurs in IE7 which makes use of tab pages on the web browser. I'm using forms 10g, web.show_document(v_url, '_BLANK') to pop up a browser window in IE to display a PDF file residing on the App Server.
    The new browser window pops up in IE and displays the pdf document fine. The window title and address bar contain the correct url (a rather long one). The problem I have is that the browser tab page is labelled "Error" which immediately causes concerns amongst the users. I'm not sure if it does this because it does not know what to label the tab page or if the URL is perhaps too long.
    Is there any way to rename / relabel the tab page or set the name or alias somewhere? I'll appreciate any advice on the issue...
    Regards
    Mario

    Hi,
    With web.show_document() you could call a html page that call your php page with POST().
    Francois

  • 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 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

  • Web.show_document() with javascript

    Hi Guys,
    I'v been searched this forum about web.show_document() with javascript.
    I saw some threads said
    I can do like
    WEB.SHOW_DOCUMENT ('javascript:window.open("http://www.google.com","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=yes");self.close()','_blank');
    and someone said it worked, but it doesn't work in my machine.
    also some one said the javascript engine is not included in Form 10.1.2, so I can not use WEB.SHOW_DOCUMENT function like above.
    My form builder is 10.1.2.0.2 (Production), os is xp sq2 ,ie 6.(ie6 has some tighter security)
    I want to get clarification about this function, can i use the javascript on it or not ? I really want the pop up window without toolbar and customize size. I need do some configuration in formweb.cfg also?
    Thanks in advance. I appreciated every response.
    Appcat

    Hi Jan,
    Thanks for your reply. I check the metalink about it.
    The first solution is
    1. Make forms Developer URL a trusted site in IE to allow script executions.
    For that open Internet Explorer->Internet Option-> Security.
    Select the "Trusted Sites" Option.
    Click on the Sites Button.
    Add the Developer Suite URL in that.
    for example
    http://<Yourmachinename>:8889/
    It doesn't work in my machine ,still can not activate the javascript.
    The second solution is
    2. Place the script invocation code in a html file in Oracle_home/forms/server directory and call it.
    For example :
    Create a simple form.
    In Forms Trigger :
    web.show_document('http://<Yourmachinename>:8889/file.html');
    In the file.html you may enter the code, for example:
    <HTML>
    <HEAD>Heading</HEAD>
    <BODY>
    <SCRIPT LANGUAGE="Javascript">
    window.open("http://www.yahoo.com","_self");
    </SCRIPT>
    </BODY>
    </HTML>
    It also doesn't work in my machine, the problem is http://<Yourmachinename>:8889/file.html can not be found, even i put it under the Oracle_home/forms/server folder, but i click it directly ,the javascript works. that means the URL http://<Yourmachinename>:8889/file.html is incorrect or I should put the html file into other directory. And I also checked the default.env,FORMS_PATH=D:\DevSuiteHome\forms.
    anything wrong with my env?
    Do you have any idea about it?
    Thanks,
    Appcat
    Message was edited by:
    user577805
    Message was edited by:
    user577805

  • Web.show_document in method post

    Hi,
    Is it possible to call a page php in form using web.show_document, when the same page php required the parameters in post ???
    Regards
    Giordano

    Hi,
    With web.show_document() you could call a html page that call your php page with POST().
    Francois

Maybe you are looking for

  • Sender Port Invalid.

    Hi Experts, We have pre-prod system(MR0) and Production System(MP0). recently our MR0 is refreshed and copy MP0 to MR0. Now when i am trying to process any IDOC it is giving me the error like 'EDI: Sender port in control record is invalid'. So if i w

  • Help with migrating user data from one account to another

    I am on a G5 with 10.4.11. I installed FCP studio 6 and everything works fine except compressor. I have had only one user account on this mac (i will call it account 1). I was told to create another account (account 2), log on and see if compressor w

  • Creating a Recently Added Items area

    I'm trying to create a small area on the home page that will show the 3 most recently added shop items, the items title and the Small Photo from that product. Seems simple, But using ProductListDump I can only get an UL of the items with no images. A

  • Signature and Encryption in form

    Dear All, Can anyone help me out in 1. Inserting a signature and 2. Encrypting the adobe form programatically. Moreover, 3. Is there any possibility of protecting the document from editing through Adobe writer. Regards Jiku

  • How to save VOB files as MPEG-2

    I have some home made DVD's that a family member made for me. I want to rip and save each VOB file on the DVD to my harddrive in MPEG-2 format. It is my understanding that VOB is the same thing as MPEG-2, which is why I want to save the VOB files as