Issues when running multiple apps on same JRE?

I've created an application that launches other Java applications, all running on the same JRE. I've noticed that this results in significant memory savings (60% or more). Performance doesn't seem to be measurably affected, but I've never run more than 4 applications at the same time on the same JRE.
Does anyone know of any performance issues in situations like this? JRE limitations? Any information would be appreciated.

"It's just not obvious from the 1.3 API docs that the classLoader is what's responsible for associating a set of classes with a set of threads."
No, that's not what I was implying. The default classloader caches the definition of previously loaded classes (ie, bytecode, static variables). By default, there is no way to unload a class. Static variables will also retain their values -- which could confuse an application that is run multiple times.
This is the suggested implementation defined in the JVM spec:
http://java.sun.com/docs/books/vmspec/html/ConstantPool.doc.html
Basically, if a class has already been loaded, it returns it. You can write your own custom classload to prevent this (as the link you found suggests) or use multiple classloaders.
Imagine what happens when you write an application and then recompile a class WHILE running your application. Will the next instance of that class be updated? The answer depends on whether your classloader will reload the class from disk, or use a cached instance in memory (as the default one does).

Similar Messages

  • Iphoto running slowly, Macbook Pro also very slow when running multiple apps

    Iphoto has become almost impossible to use. I keep seeing the loading rainbow coloured circle every few seconds. Same with preview. Please help!
    Problem description:
    iPhoto runs very slowly, Macbook has also become slow while running apps simultaneously - loading circle shows up all the time.
    EtreCheck version: 2.1.8 (121)
    Report generated 29 March 2015 7:37:41 pm IST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Early 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,2
        1 2.2 GHz Intel Core i7 CPU: 4-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 822
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 384 MB
            Color LCD 1440 x 900
        AMD Radeon HD 6750M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 1:5:22
    Disk Information: ℹ️
        TOSHIBA MK7559GSXF disk0 : (750.16 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 748.93 GB (494.72 GB free)
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. iPhone
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Toast 10 Titanium/Toast Titanium.app
        [not loaded]    com.roxio.BluRaySupport (1.1.6) [Click for support]
        [not loaded]    com.roxio.TDIXController (1.7) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.marvell.kext.USBGenericPrinterClass (1.0.0) [Click for support]
    Startup Items: ℹ️
        HWNetMgr: Path: /Library/StartupItems/HWNetMgr
        HWPortDetect: Path: /Library/StartupItems/HWPortDetect
        MobileBrServ: Path: /Library/StartupItems/MobileBrServ
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.hp.help.tocgenerator.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
    User Launch Agents: ℹ️
        [running]    com.hp.printerAgent.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
    User Login Items: ℹ️
        Flux    Application  (/Applications/Flux.app)
        Dropbox    Application  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: Java 7 Update 55 Check version
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        QuickTime Plugin: Version: 7.7.3
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.8
    User internet Plug-ins: ℹ️
        WebEx64: Version: 1.0 - SDK 10.6 [Click for support]
        Google Earth Web Plug-in: Version: 7.0 [Click for support]
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
        VLC Streamer  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            22%    WindowServer
            14%    mds
             2%    Activity Monitor
             2%    Dock
             2%    sysmond
    Top Processes by Memory: ℹ️
        387 MB    firefox
        159 MB    mds_stores
        107 MB    Finder
        107 MB    WindowServer
        99 MB    com.apple.WebKit.WebContent
    Virtual Memory Information: ℹ️
        28 MB    Free RAM
        1.60 GB    Active RAM
        1.58 GB    Inactive RAM
        1.08 GB    Wired RAM
        4.89 GB    Page-ins
        9 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 29, 2015, 06:30:27 PM    Self test - passed
        Mar 29, 2015, 04:05:49 PM    /Library/Logs/DiagnosticReports/Preview_2015-03-29-160549_[redacted].hang
        Mar 28, 2015, 06:31:45 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Adobe Flash Player Install Manager_2015-03-28-183145_[redacted].crash
        Mar 27, 2015, 01:31:27 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Mail_2015-03-27-133127_[redact ed].crash

    When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • HT2090 hello, my eyesight issue happens occasionally, from time to time i run multiple apps that use the isight camera. when i close each app the isight camera's green light is still active. When that happens the only way to stop the isight camera is to r

    hello, my eyesight issue happens occasionally, from time to time i run multiple apps that use the isight camera. when i close each app the isight camera's green light is still active. When that happens the only way to stop the isight camera is to reboot.
    Is there a way to use activity monitor to identify and kill the process controlling the isight? My apologies in advance if this sounds windows (task manager) like.
    Thanks

    tqtclipper wrote:
    hello, my eyesight issue happens occasionally, from time to time i run multiple apps that use the isight camera...
    http://support.apple.
    com/kb/HT2411: Your camera can be used by only one application at a time.
    (Over time, Apple has changed the built-in camera's name on newer Macs from "iSight" to "FaceTime" and then to "FaceTime HD."  Regardless of the name of your Mac's built-in camera, the same info and troubleshooting applies.)
    tqtclipper wrote:
    ... Is there a way to use activity monitor to identify and kill the process controlling the isight? ...
    http://support.apple.
    com/kb/PH5147:  You can quit any process you can see in those listed in the window that opens when you use Activity Mornitor's 
         Window >
    Activity Monitor
    menu command.
    Message was edited by: EZ Jim
    Mac OSX 10.8.3

  • Multiple app on same Run time engine

    Hello
    Can we run multiple application on same CVI run time engine?
    We have thin client desktop and want to run application on different terminals. Is it possible?
    Means on server there will be one application installed and 5 terminals will  use same desktop application.
    Thanks

    Yes, you can call multiple instances of the Run-Time Engine. 

  • Multiple apps (instances) same server?

    Hi all,
              Are there any known issues with having multiple apps share the same weblogic.jar file?
              I have a Tomcat server that has the same app installed twice; Productive and Test.
              When both are started, they seem to be unable to read from their queues. The following exception was thrown:
              [Security:090398]Invalid Subject: principals=[jndi, Deployers, Monitors, Operators]
              When we only started one instance (either Productive or Test) the single instance worked perfectly.
              Now, we have installed both instances on seperate servers and have started both and they also appear to be working perfectly - however, it would be more ideal for us if we could get them working in harmony on the same server.
              Is it not possible to share the weblogic.jar file?
              Cheers,

    barnes,
              Thanks your response.
              The application (both) do create their own threads (daemons), but I can not see how they could be intertwined.
              I've ran tests to make sure they do reference their own settings (memory) and all seems to be ok.
              What I can't test is the internal workings of Tomcat, maybe somehow something goes awry internally there!?
              When I get a chance, I'll run some more tests... If I get something working, I'll post the results here (if I get the time).
              Cheers

  • Duplicate emails in Junk E-Mail folder when running multiple Outlook clients

    Has anyone experienced problems when running multiple Outlook clients - and a junk e-mail is received?
    We are seeing that when a user is running 3 Outlook clients (2007/2010) - and they received a junk email - Outlook seems to take that email and movie to the folder. However, with 3 clients, there end up being 3 copies of the email.
    Mail clients are Outlook 2007/2010 running in native Exchange mode (no IMAP, POP, etc). Server is Exchange 2010 SP1, RU2.
    Antivirus is McAfee VirusScan Enterprise 8.7.0i  - but we believe that the problem occurs even with it disabled.

    hi, we also faced the same issue.
    we had a common mailbox that is accessed from different workstations, and the outlook profile is set to cached mode. when a junk mail is received, it will create duplicates according to the number of outlook clients, as what jbuschmann mentioned. Is this
    a known issue in outlook 2010? Understand there's a fix for outlook 2003 for a similar issue, is there a similar fix for outlook 2010? thanks!
    http://support.microsoft.com/kb/832358

  • Issue when Run Report with  Hier selection   in the Portal

    Hi  Portal  BI Experts,
    we are finding a strange issue  when Running the Report.
    the following  Variables are in the  Report  Selection screen :
    Company code [optiona]
    Prod.Variance Type [ mandatory]
    Hierarchy Node Variable [optional]
    TheQuery  which I am Running  thro Bex Analyzer  with  the Hier  selection as below , is working  fine. But
    When I  run   thro portal with Hier selection value   with    00/50/G310/702258(0CUST_SALES
    It automatically  display as +00/50/G310/702258(0CUST_SALES    with + symbol. and  thro the error:
    Input "\+00/50/G310/702258(0CUST_SALES);\+00/51/G410/703096(0CUST_SALES)" for Ship-To Party (Sales has invalid format
    If I remove the plus symbol  report runnig fine.
    Your  immediate help highly appreciated.
    Thanks
    Hema
    Edited by: hemav on Mar 21, 2011 2:29 PM

    Hi Jaya,
    This is the Error message  I am facing when I Execute ithe query  report n the Web[Portal]
    Input "\+00/50/G310/702258(0CUST_SALES);\+00/51/G410/703096(0CUST_SALES)" for Ship-To Party (Sales has invalid format
    ie. In the variable screen the selected hier value  automaticvally display with plus symbol
    Actual   Hier  value :   00/50/G310/702258(0CUST_SALES)
    Once close the Hier  selection list window , the Hier value  turned to  +00/50/G310/702258(0CUST_SALES)
    If I give ok with this Plus symbol  it throwing the above error.  By  removing the Plus symbol manually  it is working fine.
    I unable locate the  settings.
    that too when I run the same report  in Bex Analyzer  woking fine , no issues in the Hier  value.
    Thanks ,
    Hema

  • Issue when running acutal Off-cycle payroll in India!

    Dear experts!
    I have an urgent issue when running ACTUAL off-cycle payroll in India as below: "Payroll already performed once in future".
    In testing mode, everything is fine. I have tried to check payroll result in pc_payresult and pu01, and Infotype 3. All of them show the last payroll in 31.07.2011. But now I run off-cycle payroll on 20.08.2011, this error is displayed. So I cannot run actual payroll for them.
    Please help me! I am really appreciated.
    Regards!
    Woody.

    Hello
    Normally this error message reflects an inconsistency in the payroll
    directory cluster, that you can view via RPUDIR00. What you can do to
    restore the consistency is to run the report RPUDIR00 for this pernr
    with the following parameters on the selection screen:
    Payroll for country                           
    Personnel number             
    Compare directory            
    Payroll results structure   
    detailed log                
    Save new directory             X          <  this will write the new directory.  If you want to test first, do not select this parameter.
    Afterwards it should be possible to run payroll for this employee.
    Thanks and Kind Regards
    Ramana

  • Running multiple instances from same oracle home

    Hi Gurus,
    I am preparing for OCA 11g examination. I had a question about running multiple instances from same oracle home. While reading the book I came across a statement about database control which says "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).
    I am not able to understand how exactly can you have multiple database instances in a single oracle home. I have installed Oracle 11g on my computer whose oracle home is +"D:\oracle\product\10.2.0\db_1"+; now this directory houses all the binaries (executables and folders like admin,bin, etc) for the oracle instance that I have installed (the instance name is ocp1). Now if I am to install or create another Oracle Instance (say ocp2) in the same home, wont there be a conflict of binaries of the two instances in the same home ?
    Basically,it makes sense if db_1 folder is further split into multiple folders, one for each instance (for example, one for ocp1 & one for ocp2); each of these folders will then contain the binary files, libraries,etc for its own instance; but, this is not the case, here db_1 houses all the binaries directly under it ...
    The other question which stems from the statement I mentioned above is that if having multiple instances running from same oracle home accessing the same physical database, can this arrangement be called RAC at all; or does RAC dictate that you cannot have multiple instances that are accessing the same database have to be installed on physically separate machines and so you cannot have two RAC instances (accessing same physical database) installed on the same computer ??
    I hope my questions are not too much confusing ... !!
    Cheers,
    Sudripta

    Hello,
    "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".This is true, and also means each instance will have its separate database (i.e. dbf files etc.) & separate DB Control. Usually in this case you create several instances on the same node.
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).You are correct about RAC where several instances (usually running on separate nodes) access the RAC.
    More info:
    1 Oracle Home - 1 Database - 1 SID is possible.
    1 Oracle Home - Many Databases - Many SID is possible.
    1 Oracle HOme - 1 Database - Multiple SID is possible and this is called RAC.

  • Where is status bar when running iphone app

    I've updated my iPad Mini to iOS 7 and now when I run iPhone apps I don't see the status bar (time and battery level etc).  It used to show in iOS 6.
    I see the status bar fine when running iPad apps, just not iPhone apps.
    Any ideas?

    I don't know which app your using but you can try deleting it and reinstalling it from the cloud. If it's in iPhone mode, you should see the 2x but when you switch it to 2x yes the option seems to disappear to go back to 1x when you are using IOS 7.
    I lost the 1x on one of my apps but when I removed and reinstalled, it was there again. The time was showing at the top when I reinstalled it again from the cloud.

  • Run multiple apps iPad 4

    HEllo. I'm still new to iPad so bare with me please. Is there any way I can run multiple apps on my iPad 4?

    You can only have one app open on-screen at a time, but if you double-click the home button below the screen you should get a taskbar appear at the bottom of the screen which allows you to switch to a different recently used app (some of the apps that show on the taskbar will be active, but most will just be 'recently used').

  • Can't run multiple instances on same page!

    Hi,
    Since I got no response on the shadowbox forums after 2 weeks, I thought it's worth to post it here and hope someone can help me out.
    Note: This is also related on non-joomla pages. I've tested it on plain html as well (by Dreamweaver) and get the same issue.
    The following issue was posted by me on the shadowbox forums:
    I was wondering if the following is possible.
    I've tried almost everything where I can think of, but no luck.
    Searched many forums and googled a lot, but without success.
    I got feeling that I'm so close and missing some simple solution.
    So I'm stuck here, I'm not able to figure it out.
    This is what I want to achieve:
    My website is running on Joomla 1.5. And I'm using a Shadowbox extension.
    In an article I've put multiple SWF movies, like previews acting like buttons.
    So when clicking on a SWF button/movie, Shadowbox opens and plays a related FLV movie.
    To achieve this part I've followed the instructions at this site under FAQ > first paragraph.
    So far so good...
    Now the ugly thing is when putting multiple swf buttons on a single page, after clicking a random button Shadowbox always displays the same flv movie. I did some altering with ID's and such but had no luck.
    Even try to alter with the Shadowbox options and variables, flashVars and such (at this site under Options and Usage) but that worked out for me.
    The strange thing is when placing the buttons, let's say in an article belonging to a section and category and make the articles paginated, after clicking the swf button the related flv plays. Browsing to the next page and clicking the button, the related flv will play also. This is the way it should be. Unfortunately it doesn't work when multiple buttons are displayed on the frontpage or an single article regardless whether they belong to sections and categories or not.
    Even when a single code is placed in a single article and display 2 or more articles containg a different swf and a different related flv link only the last added flv plays with every random swf button/movie.
    This the code I'm using for each swf (actionscript behavior):
    FIRST INSTANCE SWF=====================================
    on (release) {
    getURL("javascript:openShadowbox
    ('http://test.cquence-multimedia.nl/images/cqmm_test.flv','flv','title')");
    SECOND INSTANCE SWF=====================================
    on (release) {
    getURL("javascript:openShadowbox
    ('http://test.cquence-multimedia.nl/images/WizardFinal_1.flv','flv','title')");
    ================================================
    This is the code I'm using in the article (2 instances on a single page):
    =======================================================
    <!-- FIRST INSTANCE -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" data="images/default_swf_button.swf">
    <param name="movie" value="images/default_swf_button.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>-->                       
    <object width="150" height="50" data="images/default_swf_button.swf" type="application/x-shockwave-flash">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" border="0" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    </p>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    <script type="text/javascript">
    function openShadowbox(content, player, title, width, height, options){
    Shadowbox.open({
    content:"http://test.cquence-multimedia.nl/images/cqmm_test.flv",
    player:"flv",
    title:"SHADOWBOX FLASHBUTTON TEST FLV",
    width:"800px",
    height:"600px",
    </script>
    <!-- SECOND INSTANCE -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <object id="FlashID1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" data="images/default_swf_button2.swf">
    <param name="movie" value="images/default_swf_button2.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>-->        
    <object width="150" height="50" data="images/default_swf_button2.swf" type="application/x-shockwave-flash">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
    <a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" border="0" alt="Get Adobe Flash player" width="112" height="33" /></a>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FlashID1");
    </script>
    <script type="text/javascript">
    function openShadowbox (content, player, title, width, height, options){
    Shadowbox.open({
    content:"http://test.cquence-multimedia.nl/images/WizardFinal_1.flv",
    player:"flv",
    title:"SHADOWBOX FLASHBUTTON TEST BRIAN",
    width:"800px",
    height:"600px",
    </script>
    =======================================================
    This is the link to the page in question:
    http://test.cquence-multimedia.nl/index.php?option=com_content&view=article&id=9&Itemid=13
    Please, any suggestions would be great!
    Thanks in advance.
    Best Regards,
    John.

    Sorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
    Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
    Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled?

  • Multiple Apps of Same App?!?

    Is it possible to have multiple apps of the same thing? For example is it possible to have two facebook apps installed?
    Solved!
    Go to Solution.

    It shouldn't be but it depends on how the apps have been written.  I did have it happen where I had two Facebook apps installed but one was a beta version.  When it happened I wasn't able to use both, as only one showed an icon but two showed in the list of apps.  I deleted the older one and the newer one still worked.  The short answer is no, but it does happen on rare occasion.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Multiple apps using same files, how to lock them?

    Hi all,
    I have a unique situation (or so I think). We are running our apps in Citrix servers, such that many users log in to a single citrix server and run our java apps. The problem is, it will be possible that more than one user might use the same app and start to work with the same file.
    I have seen the new NIO package, read that it has better file locking and stuff. I guess what I am after is a way to graphically display the user using a given file, with some other features. Basically, if user 1 runs the app, and clicks on a file, they have sole access to it. Now, if user 2 runs the same app, what I would like to see if I can do is in user 2's view of the file system, they see somethine like:
    xxxx.txt
    yyyy.xml (user1)
    zzz.bat
    So, somehow, I want to update the JList view of each users view either every so often, or when they click on a file that is being used by another, to let them know that it is locked AND the user who has locked it. This way, they can at least ask that user if they can "unlock" their use of it.
    Ideally, if there is some way for two or more copies of the same program (running on the same or different citrix servers) could communicate with one another to constantly update each other of file lock status, that would be great. However, if this is more complex than a few hundred lines, it is a rare occassion that this will happen so it is not worth the effot. Mainly, I need to minimally make sure that if a file is locked by one user, when another user tries to use it they are notified that it is locked.
    Thanks.

    How about doing file maangement through your server? Keep a database of what files are checked out by whom

  • Running multiple instances of same servlet

    I am trying to run multiple webapps off of the same weblogic5.1 instance.
              I have setup the webapps and they work individually, but I need one servlet
              to load at startup.
              I have only been able to do that by including it by name in
              weblogic.properties
              #webApp named
              weblogic.httpd.webApp.demand=d:/stat_forecast/
              #register servlet so it runs on startup
              weblogic.httpd.register.AppInitServlet=com.ai.servlets.AppInitServlet
              weblogic.httpd.initArgs.AppInitServlet=AppConfigFilename=d:/stat_forecast/pr
              operties/forecast.properties
              weblogic.system.startupClass.aiservlet=weblogic.servlet.utils.ServletStartup
              weblogic.system.startupArgs.aiservlet=servlet=AppInitServlet
              This works until I try to add another instance of AppInitServlet for a
              different webApp
              #webApp named
              weblogic.httpd.webApp.supply=d:/supply/
              #register servlet so it runs on startup
              weblogic.httpd.register.AppInitServletS=com.ai.servlets.AppInitServlet
              weblogic.httpd.initArgs.AppInitServletS=AppConfigFilename=d:/supply/supply.p
              roperties
              weblogic.system.startupClass.aiservletS=weblogic.servlet.utils.ServletStartu
              p
              weblogic.system.startupArgs.aiservletS=servlet=AppInitServletS
              The servlet does not run a second time.
              Is there a way to move the AppInitservlet to inside the webApp and maybe use
              the web.xml to start each one individually?
              Thank you for any insight
              John Norton
              Indent Inc
              John Norton
              Indent Inc.
              (Innovative decision technologies, inc.)
              [email protected]
              

    Replying to myself to try and clarify.
              We are trying to run 2 or more webapps, each webapp tryes to call the
              servlet AppInitServlet.
              The servlet will not allow more than one instance to be in a context.
              In tomcat the servlet works to give a separate instance for each app.
              "JohnNorton" <[email protected]> wrote in message
              news:[email protected]...
              > I have sp8 on one version and that does work for the load on startup. One
              > problem solved, thank you.
              > Second part of same problem
              > In tomcat where we were developing, we could have multiple instances
              of
              > the AppInitservlet (for different Apps) and it kept them all separate.
              > In WL51 it starts the first correctly, but does not keep them
              separate,
              > so the second instance does not happen. It is designed so that
              multiple
              > calls do not instantiate (this would normally be within one instance of
              one
              > App).
              > I had thought that if the servlet was load-on-startup from the webApp
              > web.xml file that they would be separate. Any more ideas or clues?
              >
              > Thank you
              >
              > John Norton
              >
              > "Dimitri Rakitine" <[email protected]> wrote in message
              > news:[email protected]...
              > > Try it with the latest service pack - load-on-startup in web.xml was not
              > > supported until sp8 or so.
              > >
              > > JohnNorton <[email protected]> wrote:
              > > > I am trying to run multiple webapps off of the same weblogic5.1
              > instance.
              > > > I have setup the webapps and they work individually, but I need one
              > servlet
              > > > to load at startup.
              > > > I have only been able to do that by including it by name in
              > > > weblogic.properties
              > >
              > > > --------------
              > > > #webApp named
              > > > weblogic.httpd.webApp.demand=d:/stat_forecast/
              > >
              > > > #register servlet so it runs on startup
              > > > weblogic.httpd.register.AppInitServlet=com.ai.servlets.AppInitServlet
              > > >
              >
              weblogic.httpd.initArgs.AppInitServlet=AppConfigFilename=d:/stat_forecast/pr
              > > > operties/forecast.properties
              > > >
              >
              weblogic.system.startupClass.aiservlet=weblogic.servlet.utils.ServletStartup
              > > > weblogic.system.startupArgs.aiservlet=servlet=AppInitServlet
              > > > ---------------
              > > > This works until I try to add another instance of AppInitServlet for a
              > > > different webApp
              > > > #webApp named
              > > > weblogic.httpd.webApp.supply=d:/supply/
              > >
              > > > #register servlet so it runs on startup
              > > > weblogic.httpd.register.AppInitServletS=com.ai.servlets.AppInitServlet
              > > >
              >
              weblogic.httpd.initArgs.AppInitServletS=AppConfigFilename=d:/supply/supply.p
              > > > roperties
              > > >
              >
              weblogic.system.startupClass.aiservletS=weblogic.servlet.utils.ServletStartu
              > > > p
              > > > weblogic.system.startupArgs.aiservletS=servlet=AppInitServletS
              > >
              > >
              > > > The servlet does not run a second time.
              > > > Is there a way to move the AppInitservlet to inside the webApp and
              maybe
              > use
              > > > the web.xml to start each one individually?
              > > > Thank you for any insight
              > >
              > > > John Norton
              > > > Indent Inc
              > > > --
              > > > *************************************************
              > > > John Norton
              > > > Indent Inc.
              > > > (Innovative decision technologies, inc.)
              > > > [email protected]
              > >
              > > > *************************************************
              > >
              > >
              > >
              > >
              > > --
              > > Dimitri
              >
              >
              >
              

Maybe you are looking for