Web.Show_Document and Shared Directories

Hello,
I want to use web.show_document to access a shared folder on a machine.
Whenever I issues the web.show_document to \\workstation\folder\ the browser appends \\workstation\folder\ to the end of the application server URL (eg: http://appserver/servlet///workstation/folder/). Is there any way around this problem?
Thanks,
Jayesh Kavia

web.show_document('file://c:\word\martin.doc','_SELF');
//Martin

Similar Messages

  • 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

  • Error when opening workspace, web analysis and shared services

    Hi All,
    We installed hyperion 11.1.2, Essbase on a AIX server, with reports etc on a windows 2008 server. when logging onto workspace, web analysis and shared services i get the following error message:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    If we re-start the server it sometimes work, but in the morining we have the same issue, can anyone help.
    Thanks
    Dylan

    Hi,
    Restart the services. Issue with Oracle Http server. If you restart foundation and other services I can bring workspace up.
    Thanks
    Radhika

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

  • Web.show_document and File Save As

    Hello,
    I have a Perl CGI scrfipt on the server that I can call from a web brwoser. Its purpose is do save a file passed in to any locatgion on the PC.
    In the borowser I can use:
    http://devpong/cgi-bin/cap/savefile.cgi?dirpath=/capexp/to_SGP&fname=ZU060920.C78
    and I get a Save As dialog and it is written to that directory. Works very well.
    This is the Perl CGI code:
    use CGI ':standard';
    use CGI::Carp qw(fatalsToBrowser);
    my @fileholder;
    my ($web_keys)= ["dirpath", "fname", "mode"];
    my ($Param) = get_params($Param, $web_keys);
    # print_head($Param);
    # redirectwindow($Param);
    open(DLFILE, "$Param->{dirpath}/$Param->{fname}") || Error('open', 'file');
    @fileholder = <DLFILE>;
    close (DLFILE) || Error ('close', 'file');
    print "Content-Type:application/x-download\n";
    print "Content-Disposition:attachment;filename=$Param->{fname}\n\n";
    print @fileholder;
    I want to do the same thing from the Forms 6i application. In web.show_document I put in the exact same URL that works stand alone in the browser and have tried all of the seceond argument setting (_BLANK, etc.). Just for a millisecond a window opens then immidately closes. I have included a raise FORM_TRIGGER_FAILURE in the trigger to make it wait, but to no avail.
    I found a document that said if a URL works in the browser, it will work in web.show_document. That is not true for me.
    Do I need to build an html page first to open in the borwser from web.show_document?
    Does webutil_file have the ability to let the user choose the destination directory?
    What we did in the past was to make sure the file extension was not in the registry of the PC. Then the browser would force a Save As dialog. With XP SP2 this does not work without making several changes to the file types.
    That is why I would like a solution that does not rely on file type set up.
    Any suggestions will be appreciated.

    Well, it sounds like you want the server to tell the client that this content shouldn't be read from cache...
    Among the posible solutions:
    Apache can be configurated with modules like 'mod_expires' and 'mod_headers'.
    Or, you could write a JSP file that sets the appropriate http headers and streams your file accordingly. The http headers I think you're interested in:
    - cache-control (to prevent client caching)
    - content-disposition (to set the filename of the download)
    You might want to read this thread:
    http://p2p.wrox.com/topic.asp?TOPIC_ID=29405
    Cheers,
    Mel.

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

  • Calling a report with web.show_document and put pdf in temp directory

    Hi,
    I need to call a report 10g with web.show_document in order to generate a .pfd file (not viewed by the user) as soon as the user press a button in a form.
    I have two problems. Firstly, after generate .pdf, it's opened a undesirable windows "process succefully" (I don't want that window). Secondly, in url parameter, I put:
    (...)DESTYPE=File&DESFORMAT=pdf&DESNAME=' || client_win_api.get_temp_directory
    the target directory to .pdf file might be the user temporary directory, and not c:\temp, because in Windows XP the user haven't some writing privileges.
    How there is spaces in temporary directory, like:
    C:\Documents and Settings\<user>\Local Configurations\Temp
    I supose that Get_temp_directory returns something that:
    C:\Documen~1\<user>\Local~1\Temp
    And web.show_document don't understand.
    Can anyone help me?
    Thanks a lot,
    medina.

    Hi Maahjoor,
    i have install windows xp on vmware having loop back adapter configure with ip 192.168.10.1.i am using oracle developer 10g suite and oracle 10g r2 database.
    i want to call a report using the following code on a button.i have attached the report to the form.
    i have started the report server by issuing rwserver server=repsrv.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('ALL_EXPENSES');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := RUN_REPORT_OBJECT(v_rep);
    WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('http://192.168.10.1:8889/reports/rwservlet'||substr(v_rep,'_',-1)+1||'?'||'server=repsrv','_blank');
    ELSE
    Message('Error when running report');
    END IF;
    end;now when i run the command, i get this error
    frm-41214: unable to run the report
    frm-41219: cannot find the report.invalid id.
    argument 1 to builtin run_report_object acnnot be null.
    i thin the problem is with this line. WEB.SHOW_DOCUMENT('http://192.168.10.1:8889/reports/rwservlet'||substr(v_rep,'_',-1)+1||'?'||'server=repsrv','_blank');
    can anyone help? or a better piece of code?>
    I think you are mixing up the web.show_document usage for URL and with RUN_REPORT_OBJECT.
    I hope you have studied this document http://www.oracle.com/technetwork/products/migration/frm10gsrw10g-132606.pdf . It has the required examples and code.
    Cheers,

  • WEB.SHOW_DOCUMENT suppressing browser

    Hi,
    I want print a report by using the WEB.SHOW_DOCUMENT and without invoking the browser, so that it should directly print ot the printer
    Any Suggestion will be appreciated
    Regards

    You could have a look at ORARRP at http://www.oracle.com/technology/sample_code/products/reports/index.html or a JavaBean based solution at Forms-Reports Web : Direct print a file to a local printer

  • Report Path in Web.show_document()

    I have called report using the web.show_documents() and it works perfect when I used absolute path of the report like "F:\Apps\Reports\test.jsp". But I like to use relative path like my working directory in formsweb.cfg is "F:\App" I like to use the path "Reports\test.jsp" but this syntax does not work, cannot find the path specified. How can I do that... Looking forward to a help from the forum memebrs.
    Thanks
    Hasan Al Mamun

    Hi!
    In your developer_home/reports/conf directory exists a file called REP_YOURPCNAME.CONF.
    Please make a backup copy of the file.
    Open the file (not the backup) with a text editor of your coice.
    search for the line
    <!--property name="sourceDir" value="your reports source directory"/-->  and change it to
      <property name="sourceDir" value="F:\Apps\Reports"/>  save the file and restart your oc4j instance.
    Regards

  • WEB.SHOW_DOCUMENT VRS. RUN_REPORT_OBJECT ?

    WHO KNOWS THE DIFFERENCE BETWEEN USING WEB.SHOW_DOCUMENT AND RUN_REPORT_OBJECT TO RUN A REPORT ? PROS AND CONS ?
    THANKS A LOT

    Hi user525506
    You can request forum members to clarify your doubt but not question them as a superior.
    Run_Report_Object---this runs the rdf and gets the output
    web.show_document displays the output in a web browser.
    Thankyou
    Sasi

  • IIS Web Farm - File Server for Content and Shared Configuration - SOFS?

    We currently have a number of web farms with their content and shared configuration files located on a standalone file server.
    I am looking to utilise the clustered file server role in Windows 2012 to provide improved uptime and load balancing for the configuration and content shares.
    Please could someone provide clarification as to whether SOFS is supported for this scenario?
    There appears to be some conflicting advice in the documentation and across the internet.

    We currently have a number of web farms with their content and shared configuration files located on a standalone file server.
    I am looking to utilise the clustered file server role in Windows 2012 to provide improved uptime and load balancing for the configuration and content shares.
    Please could someone provide clarification as to whether SOFS is supported for this scenario?
    There appears to be some conflicting advice in the documentation and across the internet.
    SoFS is a good choice for a) Hyper-V and b) SQL Server (anything working with a big files like VHDX and MDF). For a bunch of a small files IIS has in a shared directories SoFS is not going to work and it's cleary said in the documentation. See:
    Scale-Out File Server for Application Data Overview
    http://technet.microsoft.com/en-us/library/hh831349.aspx
    Workload: Information worker
    Yes
    Not recommended
    Workload: Hyper-V
    Yes
    Yes
    Workload: Microsoft SQL Server
    Yes
    Yes
    So in your case just an ordinary clustered file servers should be enough. See:
    Create a Clustered File Server
    http://technet.microsoft.com/en-us/library/cc753969.aspx
    Hope this helped :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Can't access online backup and sharing web site

    Does anyone know how to access the Online Backup and Sharing web site from a computer that does not have the O/B/S software installed?  I used to be able to go to My Verizon/My Services/Internet and hit "Launch" for O/B/S, and the link would go directly to the web site for uploading or downloading material.  Now, that link takes me to a Verizon page that asks to activate the O/B/S service, and wants to download the software.  My O/B/S service was activated years ago and has worked until recently without the software installed.  There is no other obvious way to get to the O/B/S web site.  (If it matters, I tried this in both IE 9, with Windows 7 64-bit, and Safari.)
    After some effort, I got the help number for the outside vendor that runs the O/B/S service.  They say that the Verizon web site should link directly to their O/B/S web site, regardless of whether or not the O/B/S software is installed locally, but that the failure to do so is entirely an error of Verizon's on the Verizon web site and they have nothing to do with it.  They also said there is no way to bypass the Verizon web site to get to a Verizon O/B/S account on their web site.  They said they have received many complaints about this from Verizon O/B/S customers, and that the same problem has even arisen when the O/B/S software is installed on the local computer.
    So does anyone know if it is really necessary to install the O/B/S software on any computer used to access O/B/S, and if it is now impossible to access the material from any other computer?  That would be a major reduction in the usefulness of the service that was not announced anywhere that I know of.  I saw a strong of comments on this issue in the Forums from a few years ago, but the conclusion was that the problem had been fixed.  It seems to have arisen again.

    Anthony, I tried to private message you several times, but I kept getting an error message stating that my message had invalid HTML that was being removed, and to resend.  It did not actually have any HTML, and hitting the resend button just led to the same message.
    Also, since my last post, I downloaded the OBS software onto my computer.  This gave me access to OBS from that computer.  However, even after doing this, I cannot use the old method of directly getting to the OBS web site from My Verizon.  The link from "Launch" does not work either on the computer with the OBS software or on any other computer.  Rather, the link goes only to the Verizon page saying that my OBS service has not been activated (which it surely has been) and asking to download the OBS software.
    If this is happening to everyone and not just to me, this means that material stored on OBS is only available from a computer that has the OBS software downloaded on it.  That is certainly not supposed to be the case, and it would make OBS much less useful.
    Again, the OBS technical people said that this was a problem that they knew about, but it was entirely a problem with the Verizon web site that they could not do anything about.

  • 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

Maybe you are looking for

  • Sub domains not working? help

    I recently got my server going with the dns being server.domain.ca I have domain.ca as primary zone server.domain.ca as Machine with IP 10.0.1.14 gallery.domain.ca as Machine with IP 10.0.1.14 I also have both domain.ca and server.domain.ca as a serv

  • Sql parse and shared pool

    hi friends i have a procedure and its have *(AD IS NULL OR NVAD LIKE AD||'%') AND (SOYAD IS NULL OR NVSOYAD LIKE SOYAD||'%')* if i use this query and pass different things for AD ; is it become a brand new query for oracle because of ||'%' or its par

  • No class def found error in web start console.

    I use visual J++ to code my applet and I compile it and it runs perfect on my hard drive. So I upload the html and the class file and all the images to my web directory and then go to my browser (IE) and load up the html and the applet fails to run.

  • PP : Need to find Multiple Batches for different production Orders

    Hi Experts, I have a requirement that, user wants to see the  "Single batch assigned for multiple production orders and different materials" Which its a off case, it cannot be done , but i have gone with 1. So user wants to know all the Orders which

  • Exporting AVI to Apple Pro Res 422

    I am using Adobe Premiere Pro CS4 4.2.1 and I would like to export my source file (AVI) to Apple Pro Res 422. Is that possible? If not, which format do I export my video to be used on a Mac running Final Cut Pro. I realize I can export using Quicktim