Same JVM for multiple Frames in a web application

Hi guys,
I have a web application that loads an applet during login. Once the login is completed, the web application will display the available functions accessible with a menu on the left frame and the main display page on the right frame. Whenever any form action is perfomed on the right frame, the jvm with the login session seems to exit (java console closes) and the applet will be loaded to prompt the user to login again. The JRE installed on the Windows client is 1.6.0_14 from SUN.
I'm guessing that the different frames are using different JVMs?
Is there a way to use the same jvm for a web application with multiple frames? I want to prevent the case where the user will have to login again.
Thanks for any advice!
- Zen -

I have sort of the same problem
[Identical applets in the same JVM, next generation plugin issue|http://forums.sun.com/thread.jspa?threadID=5396118]
I have submitted a Request for enhancement to SUN to allow forced grouping of applets in the same JVM.
Sort of the opposite of the "separate_jvm" Applet tag parameter.
It seems there is currently no way to do this.
[New Plugin command line args|https://jdk6.dev.java.net/plugin2/jnlp/#COMMAND_LINE_ARGS]
When per-applet JVM command-line arguments are specified, it is likely that the new Java Plug-In will need to launch another JVM instance in order to satisfy them. In other words, it is unlikely that a preexisting JVM instance will have been started with the correct set of command-line arguments to satisfy the current applet's request. The rules for exactly when a new JVM instance is launched to start a given applet are deliberately left unspecified, as this functionality is brand new in the 6u10 release and may need to change in subsequent releases. Here is a rough set of guidelines for the sharing and creation of new JVM instances:
* If the command-line arguments used to start a preexisting JVM instance are a superset of the requested arguments, the preexisting JVM instance will be used.
* If a JVM instance is launched for the "default" set of command-line arguments (i.e., those specified in the Java Control Panel, with no per-applet arguments specified), then this JVM instance will never be used to launch any applet that has even one per-applet command-line argument.
* -Xmx is handled specially: if a preexisting JVM instance was started with for example -Xmx256m, and a new applet requests -Xmx128m, then new applet will very likely be run in the preexisting JVM instance. In other words, -Xmx specifications are matched with a greater-than-or-equal test.
There is no way to "name" a JVM instance used to launch a particular applet and "force" subsequent applets into that JVM instance.
See the section on the separate_jvm parameter to isolate a particular applet in its own JVM instance, separate from all other applets.

Similar Messages

  • How to configure request manager service for multiple website in one web application

    I have set up sp 2013 as below:
     web application : wa1
    site collection : sc1
    sp site: site1, site2
    I used 2 WFE, 1 APP, how can I use request manager service to control  site1 to wfe1, site2 to wfe2?
    Awen

    That's not what i'd describe as load balancing.
    A better description would be load-isolation. In your description then if the load on site1 was large (and growing) but site2 was quiet then site1 would struggle and eventually become unable to handle the number of users but site2 would still be ok. That's
    fine from a QOS point of view but it's not the norm for load balancing. It would work in simple scenarios but the out of the box load balancing tools are much better suited than that sort of approach.
    This article shows how to configure the RMS and may help show how your request is difficult to configure:
    http://www.harbar.net/articles/sp2013rm2.aspx

  • What's the available value for weblogic.jsp.encoding in web application.

    Hi,
              I'm using chinese windows nt 4.0 and weblogic 5.1 sp6.When I did not set
              weblogic.jsp.encoding to GB2312 , when the jsp file contain's chinese , the
              output will be error .And when I did not set it , the output is correct, but
              when I use request.getParameter("SomeFormElement")(the element inputed
              chinese), the return value is error.
              How should I set weblogic.jsp.encoding value to satisfy all this problem?
              When I set the value to ISO-8859, there is an exception:
              java.io.UnsupportedEncodingException: Charset: 'ISO-8859' not recognized,
              and there is no alias for it in the weblogic.httpd.charsets property. So
              What's the available value for weblogic.jsp.encoding in web application?
              Pan
              

    hi ,
    i think the best way is to create java beans ,in that bean call your EJB ,
    and check the validation over there.
    and make that bean scope to session.
    in each and everypage try to check the session ,if it is not valid then forward to your login page...
    otherwise continue to give access to him like guest
    Regards,
    AfTaB

  • Can i have multiple ActionServlet in a web Application?

    Hi
    Can i have multiple ActionServlet in a web Application?
    if YES then please give me the sample configuration file..
    thanks & Regards
    raghavan

    Hi,
    This forum is related discussions about creator. Please post this to an appropriate forum
    You may post here
    http://forum.java.sun.com/forum.jspa?forumID=33
    MJ

  • Use same URL for multiple SharePoint sites

    Hi there,
    Our requirement is to create multiple web applications in one Farm (which contains 1 Web Front End, 1 Application Server & 1 DB Server) using 80 port of Web Front End which is having single public IP.
    There are number of ways of doing this - One way is to create new domain name for each web application (like www.abc.com; www.xyz.com); another way is to create multiple sub domains in a single domain name like www.sub1.abc.com; www.sub2.abc.com, etc.
    However our requirement for URL naming convention for these web applications is "www.[Domain Name]/[Client Name]"  (like www.abc.com/client1, www.abc.com/client2, etc) 
    In SharePoint we can achieve this if we create one Parent site and others as Child site. However we don't want to us this. 
    So, is their any way where we can form URL of these web applications as "www.[Domain Name]/[Client Name]" 
    Regards,
    Adi

    Is there a reason for this?  I would think subdomains would be ideal, but just curious on the reasoning.  Also, do they need a full web application, or simply different site collections?  If you just need site collections, and assuming you
    don't have a massive number of them, you could use Managed Paths to explicitly allow a site collection immediately under the root url.  Be careful, though, Managed Paths can cause a lot of overhead after you go over 10-15 if you're hardware isn't up for
    it (I would assume you wouldn't put 10-15 web apps on the farm anyway, cause that's also not so great).
    There really isn't a way to do what you are asking for a full Web Application, only at the site collection level(which should be good from my limited understanding of your scenario)
    I am very curious why subdomains wouldn't work, though, as they can all point to the same IP and takes no additional purchasing of domains or anything.
    Christopher Webb MCM: SharePoint 2010 MCSM: SharePoint Charter MCT http://blog.christophermichaelwebb.com

  • How do use the same crop for multiple images.

    I have a number of images that I want to use the same crop on. Instead of go through the whole slow process for each image is there a way to use the same crop for all of the images?
    And in iPhoto there was a way to copy the adjustment settings to multiple images, I can't see how to do that in aperture.

    Use the "Lift&Stamp" tool:
    Crop one image.
    Lift the crop using the "Lift" tool.
    Select the other images.
    Stamp the crop adjustment to all of them.
    But caution: By default "Lift" will copy all Metadata tags and all adjustments, but the gps data. If you only want to transfer the cropping rectangle, deselect all lifted items but the crop adjustment before stamping.
    Regards
    Léonie

  • OSB - same branch for multiple operations

    Hi,
    I have a WSDL based proxy service with multiple operations. For 2 of the operations i want the same functionality and other operations have there own functionality.
    So in Operational Branch, can we have the same branch for 2 operations? I can easily create another branch and copy the code, but trying for a better solution.
    Thanks.......

    Use and if condition
    If branch == a | branch ==b
    same solution

  • How do I use same MDB for multiple Queues? Deployment ?

              Here is what I am trying to do
              I have written one MDB that I want to use for multiple queues. I have seen posting
              mentioning that code a new weblogic-ejb-jar.xml to define other queues as the
              solution.
              Is there any other work around?
              I want to add queues in future as and when needed. I don't want to modify the
              already deployed jar to replace it with new weblogic-ejb-jar.xml everytime I have
              to add another queue for the message-driven-bean. Is is possible to use some kind
              of reference tag and just put weblogic-ejb-jar.xml in a new jar file and deply
              that every time I have a new queue to use for this MDB ( I don't think so, but
              again ???).
              Any help would be greatly appreciated.
              Chris
              

    Sorry -- that's the only solution for now.
              greg
              "Chris" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Here is what I am trying to do
              >
              > I have written one MDB that I want to use for multiple queues. I have seen
              posting
              > mentioning that code a new weblogic-ejb-jar.xml to define other queues as
              the
              > solution.
              >
              > Is there any other work around?
              >
              > I want to add queues in future as and when needed. I don't want to modify
              the
              > already deployed jar to replace it with new weblogic-ejb-jar.xml everytime
              I have
              > to add another queue for the message-driven-bean. Is is possible to use
              some kind
              > of reference tag and just put weblogic-ejb-jar.xml in a new jar file and
              deply
              > that every time I have a new queue to use for this MDB ( I don't think so,
              but
              > again ???).
              >
              > Any help would be greatly appreciated.
              >
              > Chris
              

  • To use one SessionInfo for multiple frames

    how to use one SessionInfo for master frame and other frame the detail
    Thanks for your reply.

    You can instantiate the SessionInfo and other dataproducer objects in frame1 and bind them to controls in the first and second frames.
    If you plan to change/execute queries pass the sessionInfo instance to the second frame.
    Hope this helps.
    Sathish
    null

  • Multiple Context Paths Per Web Application

    Hi,
    We have a Web Application which has a Context Path of "titanadmin". We have some
    HTML pages which refer to this within the URLs they contain. We need to move the
    functionality in this Web Application to another Web Application with a Context
    Path of "gp3admin". We cannot change the URLs in the generated HTML.
    So, is it possible for a Web Application to have multiple Context Paths, so that
    URLs starting with "/titanadmin/" and "/gp3admin/" both go to the same Web Application.
    Thanks,
    Dave

    There is no hard limit to the number of Web Applications (I managed a WSSv3 farm that had 60+, for example). The issue is memory-related and primarily stems from 32bit systems where it was much easier to get Out Of Memory errors on the IIS Application Pools
    when performing a large operation across a 32bit Application Pool (e.g. crawling). However, if you limit each IIS Application Pool to about 10 Web Applications (again, in 32bit land that no longer applies), everything generally works OK given the Web Applications
    do not have a very large amount of content.
    But, if HNSC is in use, a single Web Application should be sufficient, barring any Web Application-specific settings you might need to make.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to handle multiple datasources in a web application?

    I have a J2EE Web application with Servlets and Java ServerPages. Beside this I have a in-house developed API for certain services built using Hibernate and Spring with POJO's and some EJB.
    There are 8 databases which will be used by the web application. I have heard that multiple datasources with Spring is hard to design around. Considering that I have no choice not to use Spring or Hibernate as the API's are using it.
    Anyone have a good design spesification for how to handle multiple datasources. The datasource(database) will be chosen by the user in the web application.

    Let me get this straight. You have a web application that uses spring framework and hibernate to access the database. You want the user to be able to select the database that he wants to access using spring and hibernate.
    Hopefully you are using the Spring Framework Hibernate DAO. I know you can have more that one spring application context. You can then trying to load a seperate spring application context for each database. Each application context would have it's own configuration files with the connection parameters for each datasource. You could still use JNDi entries in the web.xml for each datasource.
    Then you would need a service locater so that when a user selected a datasource he would get the application context for that datasource which he would use for the rest of his session.
    I think it is doable. It means a long load time. And you'll need to keep the application contexts as small as possible to conserve resources.

  • How to write perfect refresh function for each module in flex4 web application

    hi all,
      I am doing web application, i am using 5 modules in that,every module in a single page.
    In this application i am using datagrid in last 3 models. the operation is same for the models, select a record from grid then click post it should move to next page.
    In that i am writting init() function . this for showing the last module posted records here while i am entering this model.
    At the panel initializing time the records loading and showing in the gird,
    i written refresh function for this .
    But some times the function working properly and show the records in grid.
    some time it wont show the records.
    refresh function not working properly..
    looking for usful suggession,
    Thanks,
    B.venkatesan.

    hi all,
      I am doing web application, i am using 5 modules in that,every module in a single page.
    In this application i am using datagrid in last 3 models. the operation is same for the models, select a record from grid then click post it should move to next page.
    In that i am writting init() function . this for showing the last module posted records here while i am entering this model.
    At the panel initializing time the records loading and showing in the gird,
    i written refresh function for this .
    But some times the function working properly and show the records in grid.
    some time it wont show the records.
    refresh function not working properly..
    looking for usful suggession,
    Thanks,
    B.venkatesan.

  • Cisco Media Hub - Waiting for Media Information on the web application

    Good afternoon, I just installed the Media Hub on my Mac. I find the flac music on the media hub through the finder and the web application from media hub (in the configuration settings). Until now I don't see any information concerning the songs on the web application itself (they say that one has to wait several hours until the refresh process of the web application is through). I use kinsky desktop for my hifi (linn majic ds) and the MplayerX on my Mac.
    - Does anyone has the same problems with waiting for the update of the media information on the web application
    - Which software do you recommend for managing your media (mp3, wmv, flac)
    Many thanks for your feedback, A.

    Hi Archimedes76,
        I use windows media player to manage my music files. Regarding your music file info issue, sometimes I do have to restart my media hub so that it'll re-index the files especially if I transferred a lot of new media. If after a restart and waiting for a few hours while the media rescan and reindex files doesn't work for you then you might try to read this. I found it on the linksys support page though the example shown there is  a windows PC.
         Hope this helps!

  • Looking for advice on what which freamework or dev. methodology for read only database centric web application

    Hello, I hope the experts here can advise me on which development approach for a new .net web application that  I am to begin development shortly.  I have the back end stored procedures complete and now I will build a .net front end. 
    This front end will be 95% populating custom html5/css3/jquery pages from c# DataSets which are themselves populated from calls to oracle stored procesures.  There will be no updating - this is read-only querries of OLTP prpared tables off of a data
    warehouse schema.  I am a verteran at the back end stuff but my web app development skills are new so I hope to get a recommendation form the experts on what approach I should persue to build the front end.  From what I have seen I might start
    with MVC5 framework and build the web pages with RAZOR embedded c# code looping through the DataSets to create the html. I need to the ability to create very custom div elements throughout, so I understand I should not use some high level code generation
    tool.  Thanks so much for the feedback. 

    Hello Jay,
    This forum is discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.
    >>I hope the experts here can advise me on which development approach for a new .net web application.
    From this message, you are doing web applications, you will need to post this thread to Asp.Net  forum for some advices. For MVC issues, please post
    Here.  Thanks for your understanding.
    Have a nice day!
    Kristin
    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.

  • How to make "check for multiple logons" mandatory in webdynpro application.

    Hi SDN members,
    Im having a problem with an application developed in webdynpro abap.
    We require that  end-user only have a session per computer (ip address),
    I already tried to achieve this by configuring the webdynpro application throguh SICF and going to Error Pages -> Logon Errors --> System Logon and mark the checkbox Check for multiple logons.
    This configurations give only a warning when the user logs multiple times, and show a checkbox letting the user decide to end or not the previous sessions.
    How to make end previuos sessions mandatory ??
    Regards,
    Franklin Cedillo

    You would have to enforce this at the application level. You can get the IP address of the current client from the framework - IF_WD_APPLICATION method GET_REMOTE_ADDRESS.
    You could write an entry with the IP address into a temporary table during WDDOINIT.  You could clear the entry in the WDDOEXIT.  Also during the WDDOINIT, check to see if there is already an entry for this IP address.  If so, then fire an exit nagivation plug to a static MIME object or BSP page that explains why the user can only be logged in once.

Maybe you are looking for

  • Can't Install iTunes for iPod Classic over iTunes for iPod Touch - iPod Classic not regconized

    I have an iPod Classic (80GB) in my car and wanted to buy an additional iPod for use in the house. The salesman assured me that the iPod Nano Touchscreen would be backward compatible with the hardware I have, but it wasn't, so the store manager kindl

  • PSD Import Issues

    I'm having trouble importing an 8-bit/RGB PSD file with 4 layers. One layer is a Smart Object, two are text layers, and the other is a standard image layer. When I tried to import this from the welcome screen using the default settings, Smart Object

  • Itues 10.60 will not install

    Downloaded update for my Iphone and then i found out there was a update for itunes on my pc, so did the update but it will not install and will not connect to my iphone as itunes help will not load now. I can mot remove itune as pc will not allow me

  • Php to as3

    Hi.  So I have a html form and when submit is clicked, my php processes the data.  At the moment its simple, just one field displayed to the screen Hi <?php echo htmlspecialchars($_POST['name']); ?>. Instead of doing this, I want to send the variable

  • ABAP code help to replace one field with another

    Hi All, I have one DSO which is holding data for fields WBS(Old) and Company Code(Old). and I have one table which holds the information for Ols WBS and Ols Comp Code along with their New WBS and New Comp code. for eg: In DSO : Old WBS , Old Comp.Cod