Closing an application and web browser at same time at runtime

Does anyone have any ideas of code that addresses that problem of closes the web browser at runtime when the application closes?
I've been converted about 140+ forms and 300+ reports to 10g from 6i client/server and I've got all the forms converted but now that I've got it up on a website at runtime, I'm documenting all these application issues that I just haven't had time to research.
It sounded like I do write some Java Beans, based on some threads I've read. But I didn't fully understand.
Any help is appreciated.
Regards,
Chris

Ok, I was able to do it when I hard-coded to the http://servername:port in the web.show_document. My question is: I have a windows and Linux (Development and Test server). All 3 are different servers. How can I make it to where I don't have to hard-code the server name. I've put the html page in the ORACLE_HOME/forms/java folder. The application and web browser closes just fine when I hard-code the server name in the web.show_document command. Is there a way I can get around this where I don't have to hard-code the name, but still access it from the same path on all 3 servers?
web.show_document(http://servername:port/forms/java/closewebbrowser.htm, -self)

Similar Messages

  • Requires a microsoft sharepoint foundation-compatible application and web browser

    SharePoint 2010 version 14.0.7102.5000.
    Clients are Windows 7 SP1, Browser is IE 10.0.9200.17296
    Problem is the well known famous message 'requires a microsoft sharepoint foundation-compatible application and web browser' when the user chooses the button New Document.
    Why this behaviour for this user is different then all the threads and blogs I read about this message is because of the  following: I am logged on using my Windows account on my computer (VDI so I have the same computer as the user experiencing the
    message) and don't have this problem. When the concerning user uses my logged on computer under my account and only logs in with his credentials within SharePoint (sign in as Different User) then the problem occures. I performed the same actions on the same
    library as the concerning user.
    So ruled out are:
    - Browser version
    - Office version
    - windows User Profile
    - x86 vs x64
    - MS Foundation Support installation
    - add on SharePoint OpenDocuments Class
    Please help me out.

    Do you have different versions of Office or SharePoint Designer or any Office product installed? 
    You can try repairing office installation in that particular user machine and see what happens.
    Thanks.
    Sorry to say but software versions can be ruled out as I mentioned the user have the same problem when using
    my logged on account in Windows on my computer. Only in the browser the user is logging in with his credentials. I don't have this problem when using this Document Library.

  • New Document' requires a Microsoft SharePoint Foundation-compatible application and web browser

    Hi Guys,
    I am getting the above message when I try to create a new Excel document from a content type.
    The background is that I am configuring Content Types for a document library in SharePoint 2013.
    The first content type I added was a business case based on a Word doc that is stored in a different doc library on the same site. This content type works fine. I then added a second content type that references an Excel doc in the same doc library as the word
    doc.
    Interestingly when you click new document from the Files Ribbon the Business Case content type displays with the word icon next to it. The content type that references the Excel document does not display the Excel icon though. Almost like SharePoint itself
    does not recognise the Excel format.
    Prior to posting this question I confirmed that I have Microsoft SharePoint Foundation Support enabled as part of my office 2013 instance. I have also confirmed that SharePoint OpenDocuments Class control is enabled within my IE settings.

    IE version and Office that is installed in your computer should have to the same version (32-bit). 
    Thuan Soldier
    A 23-year-old man loving Microsoft technologies and making crazy ideas on business journey.
    SharePoint Vietnam |
    Blog | Twitter

  • SSO between custom C++ application and web browser

    Hello.
    I have a bit of problems figuring out how to do SSO functionality between a Browser and a custom client (custom protocol over HTTP).
    I want it to work as follows: If the user logs in in the HTTP client, the user is already logged in in the custom client, and vice versa.
    I thought this could be implemented my reading and writing cookie values from the browser in my custom client, but it seems like the cookies set are all without expiration. IE handles these cookies private in a process, and so I can't get a hold of it.
    How do I implement SSO between clients if I can't base it on cookie values?
    Regards
    Kyrre.

    Any comment?

  • HT4623 Why is my iPad 2 randomly opening and closing apps? And why, at the same time, does the screen goes bigger than smaller repetitively?

    7.29.2013 - iPad2 begins to randomly open and close apps and also the screen changes from bigger to smaller repetitively when the apps are randomly opening and closing. Nothing occurred with the device to indicate why this started happening; it was not dropped, etc.

    If still problem:
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                       

  • Can anyone help me know the difference b/w application and web server?

    i tried reading about application and web servers. it appears to me to be the same. please do help me to differentiate. Thanks :-)

    An application server hosts business logic components for an application. A web server is an application which accepts HTTP requests.
    An application server may come packaged with a web server.
    A web server is a very simple process. It's HTTP daemon process that listens for incoming requests over HTTP protocol on a specified port usually, 80. For simple, static web pages the web server has the built in logic to serve them but for a complex operation(say read from database and display some records), it routes the URL to a component like the servlet engine....
    An application server is a much broader term. For example the servlet may need to invoke certain business logic components like beans or activex dlls. The server that hosts these components is the application server.
    Hope you are clear now.

  • Problem in executing javaFX application in web browser.

    Hi,
      When i execute javafx application in web browser the outcome will not fit to the screen.
       so what modifications i have to make so that it fits to the screen.

    Hi,
    you embed a javafx app like this in your html-file:
    <script>
        function javafxEmbed() {
            dtjava.embed(
                    url : 'ASimpleApp.jnlp',
                    placeholder : 'javafx-app-placeholder',
                    width : 1024,
                    height : 768,
                    jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iUGVyc293YXJlLmpubHAiPg0KICA8aW5mb3JtYXRpb24+DQogICAgPHRpdGxlPlBlcnNvd2FyZTwvdGl0bGU+DQogICAgPHZlbmRvcj5QTUEgU29sdXRpb25zIEdtYkg8L3ZlbmRvcj4NCiAgICA8ZGVzY3JpcHRpb24+U2FtcGxlIEphdmFGWCAyLjAgYXBwbGljYXRpb24uPC9kZXNjcmlwdGlvbj4NCiAgICA8aWNvbiBocmVmPSJmaWxlOnNyYy9kYXRhL2ljb25zL2ljb24uaWNvIiAvPg0KICA8L2luZm9ybWF0aW9uPg0KICA8cmVzb3VyY2VzPg0KICAgIDxqZng6amF2YWZ4LXJ1bnRpbWUgdmVyc2lvbj0iMi4yKyIgaHJlZj0iaHR0cDovL2phdmFkbC5zdW4uY29tL3dlYmFwcHMvZG93bmxvYWQvR2V0RmlsZS9qYXZhZngtbGF0ZXN0L3dpbmRvd3MtaTU4Ni9qYXZhZngyLmpubHAiLz4NCiAgPC9yZXNvdXJjZXM+DQogIDxyZXNvdXJjZXM+DQogICAgPGoyc2UgdmVyc2lvbj0iMS42KyIgaHJlZj0iaHR0cD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cGFyYW0gbmFtZT0icmVxdWlyZWRGWFZlcnNpb24iIHZhbHVlPSIyLjIrIi8+DQogIDwvYXBwbGV0LWRlc2M+DQogIDxqZng6amF2YWZ4LWRlc2MgIHdpZHRoPSIxMDI0IiBoZWlnaHQ9Ijc2OCIgbWFpbi1jbGFzcz0icGVyc293YXJlLk1haW4iICBuYW1lPSJQZXJzb3dhcmUiID4NCiAgICA8Zng6cGFyYW0gbmFtZT0iTmFtZU9mQ29tcGFueSIgdmFsdWU9IlRlc3RDb21wYW55Ii8+DQogIDwvamZ4OmphdmFmeC1kZXNjPg0KICA8dXBkYXRlIGNoZWNrPSJiYWNrZ3JvdW5kIi8+DQo8L2pubHA+DQo='
                    javafx : '2.2+'
        <!-- Embed FX application into web page once page is loaded -->
        dtjava.addOnloadCallback(javafxEmbed);
    </script>
    if you change the values of width and height to '100%', your app will use the hole place of your html site.

  • I want to remove the COnlineBank, OnlineBank and csample applications from my application and web server.

    How can I safely do this on Solaris? I've tried "iasdeploy removeapp" and "iasdeploy removemodule" with no luck. I want to clear all of this demo stuff out to make both the web and app server look more production like.
    Thanks
    Eric

    Eric,
    these applications are applogics which are not controlled by the
    iasdeploy tool. Unfortunately, there is no tool available to remove
    these applications for you. What you can do is to manually remove all
    their entries, but be careful if you do that. If you remove the wrong
    keys you might break your ias installation, so be warned and make sure
    you backup the whole ias registry before attempting to remove anything.
    Eric Coleman wrote:
    >
    I want to remove the COnlineBank, OnlineBank and csample applications
    from my application and web server.
    How can I safely do this on Solaris? I've tried "iasdeploy removeapp"
    and "iasdeploy removemodule" with no luck. I want to clear all of
    this demo stuff out to make both the web and app server look more
    production like.
    Thanks
    Eric
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!--
    Han-Dat Luc ([email protected])
    Senior Consultant
    SUN Professional Services (iPlanet)
    o .
    o .
    O _ ____ _ _
    (_) _ \| | __ _ _ __ ___| |_ TM
    | | |_) | |/ _` | '_ \ / _ \ __|
    | | __/| | (_| | | | | __/ |_
    |_|_| |_|\__,_|_| |_|\___|\__|
    e-commerce solutions
    Sun Microsystems Australia Pty Ltd

  • Move and redeploy application- and web-servers for Planing?

    Hi, all!
    Have Hyperion Planing ability to move application- and web-servers from unix-machine to another win-machine and after redeploy existing unix-installed planing on it?

    They are actually for for 2 different things. The Sun WAS is for enterprise applications, EJBs and the like.
    Tomcat is for simpler Servlet/JSP hosting.
    The Sun WAS actually uses the Tomcat server as its Servlet/JSP engine then adds EJBs on top.

  • Can I use a camera for application in Labview and VBAI at the same time ?

    Dear all,
    I'm trying to save an AVI file with Labview and make an image process with VBAI at the same time, in one machine.
    The error : "Camera already in use" displayed.
    My Camera is a GIGE and I work with Imaqdx. I've test the multicast mode but it only operate with several machines.
    How can I do this ?
    Thank's to help me,
    Yoann B

    I'm not necessarily saying that.  It's been a while since I've used VBAI, so I don't remember all of the capabilities, but if VBAI can do the inspection and recording at the same time, you should be fine.
    The trick is that only one program can access the camera at the same time.  That application reserves the camera, thus making it unavailable to others.
    Chris
    Certified LabVIEW Architect
    Certified TestStand Architect

  • Fonts displaying in strange characters in Email and Web Browser

    Myself and my creative director (on two different computers) are seeing strange characters in our email clients and web browser. He uses Entourage for Email and I use Thunderbird. We both use Firefox for a web browser.
    This does not happen with every email or with every web page, what could it be?
    View a screenshot here:
    ftp://www.hanlonftp.com/upload/fontProblem.jpg

    Clear out the font cache files from the hard drive with Font Finagler. Also, if you have the fonts Helvetica Fractions or Times Phonetic on the drive, delete them.

  • HT2472 I must have done something inadvertently and now if I have more than one application open the one I click on comes up front and center and the other apps disappear. How do I reset to have them both up and open and viewable at the same time?

    I must have done something inadvertently and now if I have more than one application open, the one I click on comes up front and center and the other apps disappear. How do I reset to have them both up and open and viewable at the same time?

    Hi Jan, Almost sounds like Expose or Spaces....
    http://support.apple.com/kb/HT2503

  • Save all the cookies and web browser history...

    Is there a program that can save all the cookies and web browser history for imac.
    all the pages my kids will visit. on the internet

    as I told you, turn on parental controls on their accounts. then you can control which sites they are allowed to visit and parental controls also save a log of every site they visit. your kids won't be able to delete that log. only an admin user can do that.
    parental controls are turned on in system preferences->parental controls.

  • Can we use both INSERT and UPDATE at the same time in JDBC Receiver

    Hi All,
    I would like to know is it possible to use both INSERT and UPDATE at the same time in one interface because I have a requirement in which I have to perform both the task.
    user send the file which contains both new and old record and I need to save those in MS SQL database.
    If the record exist then use UPDATE otherwise use INSERT.
    I looked on sdn but didn't find any blog which perform both the things at the same time.
    Interface Requirement
    FILE -
    > PI -
    > JDBC(INSERT & UPDATE)
    I am thinking to use JDBC Lookup but not sure if it good to use for bulk record.
    Can somebody please suggest me something or send me the link of any blog or anything to solve this problem.
    Thanks,

    Hi ,
              If I have understood properly the scenario properly,you are not performing insert and update together. As you posted
    "If the record exist then use UPDATE otherwise use INSERT."
    Thus you are performing either an insert or an update which depends on outcome of a search if the records already exist in database or not. Obviously to search the tables you need " select * from ...  where ...." query. If your query returns some results you proceed with update since this means there are some old records already in database. If your query returns no rows  you proceed with "insert into tablename....." since there are no old records present in database.
      Now perhaps the best method to do the searching, taking a decision to insert or update, and finally insert or update operation is to be done by a stored procedure in MS SQL database.  A stored procedure is a subroutine available to applications accessing a relational database system. Here the application is PI server.   If you need further help on how to write and call stored procedure in MS SQL you can look into these links
    http://www.daniweb.com/web-development/databases/ms-sql/threads/146829
    http://www.sqlteam.com/article/stored-procedures-parameters-inserts-and-updates
    [ This part you can ignore, Since its not sure that you will face this situation
        Still you might face some problems while your scenario runs. Lets consider this scenario, after the stored procedure searches the database it found no rows. Thus you proceed with an insert operation. If your database table is being accessed by multiple applications (or users) other than yours then it is very well possible that after the search operation completed with a null result, an insert/update operation has been performed by some other application with the same primary key. Now when you are trying to insert another row with same primary key you get an error message like "duplicate entry not possible for same primary key value". Thus you need to be careful in this respect. MS SQL has a feature called "exclusive locks ". Look into these links for more details on the subject
    http://msdn.microsoft.com/en-us/library/aa213039(v=sql.80).aspx
    http://www.mssqlcity.com/Articles/Adm/SQL70Locks.htm
    http://www.faqs.org/docs/ppbook/r27479.htm
    http://msdn.microsoft.com/en-US/library/ms187373.aspx
    http://msdn.microsoft.com/en-US/library/ms173763.aspx
    http://msdn.microsoft.com/en-us/library/e7z8d5hf(v=vs.80).aspx
    http://mssqlserver.wordpress.com/2006/11/08/locks-in-sql/
    http://www.mollerus.net/tom/blog/2008/03/using_mssqls_nolock_for_faster_queries.html
        There must be other methods to avoid this problem. But the point is you need to be sure that all access to database for insert/update operations are isolated.
    regards
    Anupam

  • Using Aiport Express and internet at the same time?

    I was just wondering if anyone could offer any advice on this subject please?
    I've got a Macbook running through a wireless BT ADSL modem. I have also managed to connect the Macbook to my Aiport Express to allow me to wirelessly pipe iTunes through my stereo. I am aware that you cannot run both at once (i.e pipe music and browse the web) due to the Macbook being able to be only connected to one wireless network at a time.
    My questions is whether there is anyway round this? If I bought an Aiport Extreme base station, connected that to my wireless router and used the Airport Extreme base station for the wireless connection would I be able to add the Aiport Express to that wireless network and subsequently have the internet and the Aiport Express running on the same wireless network - hence being able to pipe the music wirelessly and also browse the web at the same time?
    Or is there another way round it?
    Any info anyone could offer would be a great help
    Thanks in advance
    James

    Ahh am I right in thinking this is the way to do it?
    http://docs.info.apple.com/article.html?artnum=302153
    Thanks
    James

Maybe you are looking for