Can I launch more than one instance?

Can I launch more than one instance of the same AIR
application?

Check out page 309 of the AIR Dev Guide "Only one instance of
an AIR application is started. When an already running application
is invoked again, AIR dispatches a new invoke event to the running
instance. It is the responsibility of an AIR application to respond
to an invoke event and take the appropriate action (such as opening
a new document window)."
It looks like we have to handle this InvokeEvent.INVOKE event
and programatically create a new instance of the application.
If anyone's done this already an example would be a big help
as this will be a VERY common use case.

Similar Messages

  • Can i create more than one instance for single database?

    HI
    anybody can tell me how to create more than one instance for single database(without using RAC)?
    thanks
    Kalanidhi

    Anandji,
    I sometimes think differently. I also think like what this person is asking..(although I have installed and administering 5 different RAC databases)
    The main doubt of mine is that we create multiple instances accessing the same storage area.
    Anyway the controlfiles of all instances will have the same information except the instance_names and instance id's.
    Hence I always think , why can't it be possible to to create another instance in the same system and point it to a controlfile which is copied from the other instance.
    Why can't the same files be shared between the two instances in a same system ?
    I know I am thinking a little bit confusing...
    Anyway I need to test that also...
    Mahesh.

  • Can I create more than one instance of a native library?

    Hello all,
    I am using Java to access a Win32 DLL with JNI. Everything is working fine, but I have several threads using the same instance of the native library because it is loaded "statically" in the Java class which uses it, and I suspect I am getting a bottle-neck at the native library.
    Does anyone know if there is any way to load more than one "instance" of a native library?
    The use of System.loadLibrary() would indicate not, and my (limited) knowledge of the Windows environment would tell me that a "shared" library only has on instance. (confirm anyone?)
    I need to find a way around this bottle-neck issue... (and "no", before anyone suggests it, I can't ditch Windows!)
    Thanks.

    I am not sure about the behaviour of the dll as it's not mine. It's a COM DLL which I have "wrapped" in a standard windows DLL so I can expose the JNI methods. I assume because it's COM that it IS reentrant, but I am a bit of a novice when it comes to Windows and COM. I didn't install the COMponent either, it was installed as part of another application. (It's an antivirus COM dll that is part of an AV application)
    Thanks for your help though, I think I will just have to live with it.

  • Can I open more than one instance of CC5.2?

    In my experience, I have not been able to find a way to open more than one instance of CC5.2.  If I want to run an SOD user analysis and an SOD role analysis, for example, I have to run one and wait for the results to return before I can run the next analysis.  
    If I open a new instance of Internet Explorer and type in the url for CC5.2 while CC5.2 is already running in a separate instance, it overwrites whatever is running and reopens CC5.2 all over again.
    In CC4.0 I was able to open multiple SAP sessions and run multiple SOD reports.  I understand 5.2 is a web app, but it seems the code should be smart enough to allow me to open multiple IE instances to run multiple analyses. 
    Am I missing something?
    Thanks,
    Sandy

    Hi Sandy,
      What about option to run your analysis jobs on the background ?
      You can still be in your IE session, but schedule several analysis to run on the background. On completion of the jobs, you'll be able to check output results for each of them.
      Advantage of this is that it also doesn't depend on your link between your machine and CC server which could be an issue for the foreground jobs.
    Best regards,
    Laziz

  • Can't select more than one instance

    Hi All,
    wonder if anyone can help,
    I'm trying to get Qmaster to use more than one core(instance). but the options for selected service is greyed out for compressor, and its stuck on 1 instance, "Rendering" service is allowing me to change instances, but not compressor. Ive done a search, and as a result have reset background processing. I dont have mobile me so Back to my mac doesn't apply either.
    I have a mac pro 2.93 eight core running OS 10.6.2 on 16gig of ram - compressor is v3.5.1
    many thanks in advance
    Andy

    The 50% rule is for the first round of MacPros which could run one instance per core. The current models can run two instances per core. Check Barefeets.com for current processor testing and qmaster configuration recommendations
    One of the time limiting issues with running more and more instances is that your output file is cut into more and more segments. If all the cores are fully loaded you will not find faster encodes with more cores specified in the Qmaster but you may have slower overall project completion times. This is due to the overhead in recombining all the smaller clips back into the final file. Fewer but larger clips seem to recombine faster than more but smaller.
    again, ymmv.
    x

  • Can you have more than one instance of Essbase 11.1.2 on the same server

    we have a instance of 11.1.2 Essbase on a server that is up and running for production
    what is the process of setting a development instance on the same server, or do we have do a complete install on a different server
    Please advise
    Roger H Hicks
    [email protected]
    Edited by: Next Level on Sep 19, 2010 10:25 AM
    Edited by: Next Level on Sep 19, 2010 10:32 AM

    Have a read of :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install/ch04s09s09s03.html
    It will explain how to have multiple instances of essbase.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Cannot run more than one instance of a remote app in remote desktop services Server 2012

    All,
    I installed "Remote Desktop Services (RDS) Quick Start Deployment for RemoteApp, Windows Server 2012 Style" using the instructions here http://blogs.technet.com/b/yungchou/archive/2013/02/07/remote-desktop-services-rds-quick-start-deployment-for-remoteapp-windows-server-2012-style.aspx
    I need to set up an image viewing program (Olyvia) to allow students using Macs and iPads access to this windows only application in order for them to get their work done.  We may have 12 or more students accessing and trying to run the Olyvia application
    at any one time.
    All works good, except that I cannot run the Olyvia application (setup as a remoteapp program) more than one instance at a time.  That is, when I start up "olyvia" on a Mac, it works great.  If I leave it up and running, and then try
    and start up "olyvia" on an iPad (using different accounts), I get the following error message:
    "Cannot run more than one instance of this program simultaneously.  Either the program is already running, or it has not been terminated completely."
    I need to understand the root issue.
    1.  Is this a licensing issue?  So, I need to add some CALs to the RDS server?
    2.  Is this a application issue with "olyvia"?  So, no matter what I do, it is not going to be able to be used by more than one person at a time when configured as a remoteapp?
    3.  Did I not "publish" the application correctly?
    4.  Is this happening because I followed the "quick start" guide?
    Appreciate any help I can get on this.  We have no problem getting CALs, I just need some help with the root issue.
    Thanks,
    Geoff Weatherford
    CVMBS, CSU

    Hi Geoff,
    Each application uses different techniques for determining if multiple instances are running.  If you can determine what method it is using then perhaps you could use App-V or other virtualization software.
    In the best case you really should direct your question to the maker of Olyvia.  The reason I said that is they specifically designed their software to prevent multiple instances, so the first question is, why?  Is it related to Licensing? 
    Compatibility?  If you knew the specific reason(s) why they are doing it and the technique used then at the point using a virtualization technique may be the best option.
    -TP

  • HT2731 can i have more than one apple id on a computer? As when we go away we want to facetime from our macpro to our main mac at home and both are registered under the same apple ID. Thanks

    Can you have more than one apple id on a computer. We are going away and want to facetime from our macpro to the mac computer at home but both are registered under the same apple ID. What should we do ?

    I will share with you what I have done to manage this with my family.  While the solution isn't without flawes, it seems to do the trick.  First, you need to have one person who is managing the synching of everyone's devices.  In my family, I have three iphones, about to be four, and five ipads.  We all synch to the same apple ID to allow one another to take seemless advantage of our Itunes, which is on our Imac.  To synch individual music or video interests, we simply select which playlists we want and manually synch that way.  A couple of us use imatch and the cloud to make the entire library accessable as well.  With respect to the imessage, mail, contacts, etc. we each have a gmail account for our individual emails, contacts etc.  So for instance, my forth grade daughter has a gmail account that we choose to synch her contacts, calendar, etc to and then that is also the account where she receives her imessages from on her ipad and itouch. My son, who has an iphone and ipad, does the same thing, but under settings, he goes to imessage and checks his phone number and his email as his preferred way to receive imessages and texts.  My wife and I do the same thing.  To avoid having everyone see one anothers contracts etc, we only synch contacts from our individual email accounts.  Here is the downfall to this:  When you update your phone or add a new device, apple always wants to reset everyone's facetime and imessage settings and then low and behold we are all receiving imessages from one another's friends etc.  To work around this, I simply take each of their devices and go to their imessage settings and only check the email and phone numbers relative to their devices.  I dont' know is this is the best solution, but it seems to work for us. 

  • How to install more than one instances on one machine

    Hi ALL,
    I want to install more than one instances on one machine, but i am a freshman on SAP field. How and where can i get the related infomation for that? thank you very much !!

    Hi tieyan,
    Glad the information was of some help.
    For Windows, there is an older note <a href="http://service.sap.com/sap/support/notes/28392">28392</a> that has some more information. It is important also that the SAP parameter PHYS_MEMSIZE is sized correctly according to note <a href="http://service.sap.com/sap/support/notes/88416">88416</a> (the bottom of the note gives some examples). For example, if there were two central instances and the two Oracle database instances on one host, PHYS_MEMSIZE for both instance profiles (of the central instances) would be 35% of the RAM (1/2 of 70%). In the case of MSSQLSRV 2000, for PHYS_MEMSIZE you would refer to the scenarios of note <a href="http://service.sap.com/sap/support/notes/327494">327494</a>.
    If you ever want to thank somebody else for helping in answering a question, the <a href="https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement">Rules of Engagement</a> has a section 'Thank Others by Giving Points' that explains this further.
    Regards, Mark

  • WebLogic Error : Registered more than one instance with the same objectName

    HI there, I'm facing a big problem. I have two environments installed on the same physical machine.
    I have ALSB and WLI servers running out there.
    Environment 1 - WLI port running at 7011 domain name : stp_wli_domain and ALSB port running at 8011 domain name: stp_alsb_homo1 - folders- stp_wli_domain / stp_bea_alsb_homo
    Environmnet 2 - WLI port running at 7211 domain name : stp_wli_domain2 and ALSB port tunning at 8211 domain name : stp-alsb_homo2 - folders - stp_wli_domain2 / stp_bea-alsb_homo2
    Everything was working fine, but these days I had install new deployments on both environment and I got this error :
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : stp_wli_domain:ServerRuntime=wli_wls01,Name=stp_wli_domain,Location=wli_wls01,Type=AIRuntime new:com.bea.wlai.management.AIRuntimeMBeanImpl@bcf22dc existing com.bea.wlai.management.AIRuntimeMBeanImpl@de02e6c
    The weird is : There is no same object name, as you can see, domains are different, folders are different and ports are diferrent, including multicast addresses.
    Have you guys seen this before ?
    I'm under pressure here, 'cause some projects had stopped to work.
    Please I would appreciate any help.
    Tks.
    Edson

    HI there, thanks for attention..
    See ...
    There's a lot of confusion with these env's .
    I did not built this, so... I'm cleaning my hands.... anyway... :)
    I must fix....
    Well basically if we have two env's, so we have different project each one right ?
    Ok, but I was told that if you have on the same network and same physical machine the name of AdminServer as "AdminServer" in all domains, so it goes with problems... I never heard about it... but is a good practice you put the names for example :
    WLI - WLIAdminServer
    ALSB - AlsbAdminServer
    WLI2 - WLiadminServer2
    ALSB2 - ALsbAdminServer2
    I would do it.. this way..
    But how it wasn't me...
    We got..
    WLI - WliAdminServer
    ALsb - AdminServer
    WLI2 - AdminServer
    ALsb2 - AdminServer
    Have you got it ?
    So... I was told that this could be a problem, almost all AdminServers with the same name... guess what ?Some Projects are back to work. but not at all.. only some.. so I 'm breathing better now... but I would like to know if you seen this before ?
    I would appreciate your help again.
    Unfortunately there's no detailed stack trace to track this
    Tks.

  • Database with more than one instance

    hi,
    suppose if one database have more than one instance,if i want to shutdown one instance how can i do it? is it possible to shutdown any one particular instance? if so how?
    can any one tell me plz.........
    With Regards
    Boo

    Hi,
    More than one instance mounted on the same database ...means it is RAC
    On RAC, each instance will have a separate name.. check the individual init files.. you can find the instances names..
    connect to the database using that particular sid and issue shutdown.
    HTH
    Regards,
    Badri.

  • Can we declare more than one sequence tags in a complex type?

    Hi all,
    Can we use more than one <sequence> tags in the xml schema?
    <xs:complexType name="Demo">
    <xs:sequence minoccurs = "1" maxoccurs = "1">
    </xs:sequence>
    <xs:sequence minoccurs = "0" maxoccurs = "1">
    </xs:sequence>
    </xs:complexType>
    If you observe the above sample xml there are two sequences in one complex type with different values for minoccurs and maxoccurs. Is this xml valid? why I need this is I have an
    XML with lot of elements some of them should have minoccurs = "1" maxoccurs = "1" and some other should have the other combination of min and max attributes. I want to
    declare it in the sequence rather than declaring beside each individual element. is that possible?
    Thanks.

    Hi,
    Is this xml valid? No, a complexType expects only one child, but you can do this :
    <xs:complexType name="Demo">
      <xs:sequence>
        <xs:sequence minOccurs = "1" maxOccurs = "1">
        </xs:sequence>
        <xs:sequence minOccurs = "0" maxOccurs = "1">
        </xs:sequence>
      </xs:sequence>
    </xs:complexType>However...
    XML with lot of elements some of them should have minoccurs = "1" maxoccurs = "1" and some other should have the other combination of min and max attributes.
    I want to declare it in the sequence rather than declaring beside each individual element. is that possible?minOccurs and maxOccurs declared in the sequence apply to the sequence as a whole, not to its individual components.
    For example :
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:complexType name="Demo">
              <xs:sequence>
                   <xs:sequence maxOccurs="1" minOccurs="1">
                        <xs:element name="test1" type="xs:string"/>
                        <xs:element name="test2" type="xs:string"/>
                   </xs:sequence>
                   <xs:sequence maxOccurs="1" minOccurs="0">
                        <xs:element name="test3" type="xs:string"/>
                        <xs:element name="test4" type="xs:string"/>
                   </xs:sequence>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="root" type="Demo"/>
    </xs:schema>What you expect will work for the first sequence of elements (test1 and test2) but anyway minOccurs and maxOccurs for elements default to 1, so why bother wrapping them in a sequence?
    If I understand what you want correctly, it won't work for the second sequence.
    For instance, this will be valid :
    <root>
      <test1/>
      <test2/>
      <test3/>
      <test4/>
    </root>but this will not :
    <root>
      <test1/>
      <test2/>
      <test3/>
    </root>

  • Running Air in More than One Instance of an Application

    Is there a work around to allow more than one instances of an Air Application to run?
    Currently our client uses dual monitors  they will spin up two applications.  One is to Inquiry data the other is to enter data.  I know I can create another project and deploy it under another name but that seems clunky.
    We are using  AIR  with Flex/Blaze/FlexMdi.
    Any information would be greatly appreciated.
    Thanks
    Steve

    Hi,
    I'm not too sure if the workaround proposed below will work or not. But it seems worth a shot:
    Create a new window when you get the invoke event. Find your desired screen's bounds by going through the static array Screen.screens. Assign that bounds to your newly created window.

  • Can you have more than one ipod on the same computer?

    me and my sister live together and we would like to be able to have two seperate libraries on the same computer. one library is already there and when the second ipod is plugged in, it comes up as a sub-library that is unacessable.

    There are basically two ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library and or user account or
    b) Creating multiple user accounts.
    Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
    Sharing a Library and/or User Account
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish):
    Loading songs onto iPod automatically - Windows
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
    Loading the iPod shuffle differs slightly but it can still be used with the others, for details have a look at this page: Loading songs onto iPod shuffle - Windows
    It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Option key (or Shift key in Windows) when launching iTunes 7. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
    Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library:
    Using multiple iTunes libraries -Windows
    Separate User Accounts
    Another option is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists
    I don't use Windows so I can't give you a step by step on that one, however I can point you to another web page which should help you out. You can read about Windows user accounts here:
    Using Windows XP User Accounts

  • HT2534 can you have more than one itunes account on the same computer?

    can you have more than one itunes account on the same computer?

    Yes. Either create and use separate Windows user accounts, or launch iTunes with the Shift key held down as desired.
    (62377)

Maybe you are looking for

  • Font doc that loads on desktop when I start up

    I recently installed CS4 (upgrade from CS2). Ever since when I start up my G4 a file loads to my desktop and I do not know what it is. The file is named helvR08-ISO8859-2.pcf. It is an adobe file. when I click on it textedit opens, this is what reads

  • How to fire a trigger from java in oracle

    Is it possible to fire/ call a trigger from java ? Is there any way ?

  • Handling mp3s in safari

    hello currently when i click on an mp3 link the file downloads and then plays in iTunes. however, i would prefer it to play inside safari with the quicktime plugin. how do i change it so this happens this problem occured after i installed itunes 4.9.

  • Adobe Flash Player not working since update

    Good Morning, I had a update yesterday and since then anything that uses Flash Player doesn't work, it stops sends a report to apple and thats it i've tried uninstalling the flash player and still nothing, I tried repairing the permissions in disk ut

  • Message bridge failover doesnt` work

    Hi, I have a problem with failover with my bridge Weblogic-MQSeries. This bridge is configured using "supported" WL_HOME\server\lib\jms-xa-adp (resource adapter). I have next object on my weblogic: jms/queue/TestOutQueue jms/XAQCFactory mq/queue/Test