JDev 11g: Multiple Instances of Same Application Using Same AppModule !?

Hi Everyone,
I'm having difficulties with multiple instances of taskflows and their application modules.
I have a main application which has two separate instances of a taskflow (another application with it's own appmodule). I would like for the two separate instances to use separate instances of their application module but that is not happening.
How can I set this up ? I would like instance 1 to have it's own application module and instance 2 to have it's own as well.
Any thoughts ?
Mark

Seems like I have found the solution.
In the taskflow there is a property named data-control-scope and I set it to isolated instead of the default (shared) and this seemed to do the trick.
I can now have two instances of the same taskflow running with different ApplicationModules
Cheers,
Mark

Similar Messages

  • How to use/sync single data (file) across multiple instances of same application

    Currently we have an application (a diagram editor), that have the ability to save and load (serialize) its state in a xml file.
    Now we want this application to behave like Microsoft OneNote application. Where multiple users have the ability to access the same file.
    Later we may also need to enhance with other things like, (1)what is changed and who changed it, (2)option to resolve conflicts if any.
    I came to know about sync framework to resolve this. so far, i have not tried it.
    All i want is,
    Virtually single file should be edited by multiple instances of same application.
    We need a dll (sync framework) that does following
    It takes complete responsibility of file handling.
    Using this dll, each instance of the application will notify their own changes.
    Each instance of the application should have the ability to detect the changes that is recently made (when, who, what are the changes).
    My question:
    Will sync framework be suitable for this requirement?
    If so, is there a demo application that represents this?
    - Jegan

    Seems like I have found the solution.
    In the taskflow there is a property named data-control-scope and I set it to isolated instead of the default (shared) and this seemed to do the trick.
    I can now have two instances of the same taskflow running with different ApplicationModules
    Cheers,
    Mark

  • Detecting multiple instances of same application on startup.

    How can I detect multiple instances of same application on startup? I would like to display a message to the user stating that the application is already running [and then close out].

    How can I detect multiple instances of same
    application on startup? I would like to display a
    message to the user stating that the application is
    already running [and then close out].Congratulations on being the bazillionth person to ask this kind of question without bothering to search the internet.

  • Can we have Multiple Instance on same Node in Oracle 10g RAC

    Hi All,
    I am planning to implement the RAC in Oracle 10g.Before that i have one doubt regarding RAC.
    My question is "Can we create multiple Instance on Same node(Server) ?"
    is it possible.
    Any ideas or thoughts would be apperciable.
    Thanks in Advance.
    Anwar

    This is where it is important to keep the separation between 'database' and 'instance'.
    A database is the set of files that contains the data (and the redo, control files, etc). A database does nothing by itself, other than take up lots of disk space.
    An instance is theCPU cycles (running software) and the memory to control the database.
    In Oracle RAC, you can have as many instances controlling one database [at the same time] as you want (within reason). Each instance must be able to access the disk(s) that contains the database.
    These multiple instances can be on the same computer (effectively taking up a lot of server memory and CPU for nothing) or they can be on separate computers.
    If they are on separate computers, the disk subsystems must be able to be shared across computers - this is occasionally done using operating system clusterware and is the main reason why clusterware is required at all. (This is also the toughest part of the pre-requisites in setting up a RAC and is very vendor dependent unless you use ASM.)
    These instances need a communication connection to coordinate their work (usually a separate network card for each computer) so they do not corrupt the disk when they are trying to access the same file, and possibly the same block, at the same time.
    In a RAC configuration, instances can be added, started, running, stopped and removed independent of each other (allowing a lot of high availability) or can be started and stopped as a group.
    Each instance gets it's own SID, which is in no way any different than a non-RAC SID. It's just the name of a service that can be invoked. The neat thing is that the SID
    a) helps the DBA keep things straight by lettiung us talk about 'instance A' (the Oracle software to be running over on computer A) vs 'instance B' when starting, stopping and managing;
    b) helps the application by providing targets that can be listed in the TNSNAMES.ORA [against one service alias], which is used by ORacle Networking to provide automated load balance or failover (instance/SID a is not available, I guess I'll try the next in the list)
    Hope that helps the concept level a bit.

  • How to create multiple instance on same database

    Hi ,
    I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
    Any how if some one can help me with this and can give me links of this it would be great help for me.
    Thank you for reading my problem and helping me !
    Amil
    please if possible mail me on [email protected]

    How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
    I m new to this field....
    Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts

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

  • Running Multiple Instance of indesign server using com calls

    Hello All,
    I am new to this community , can anyone help me in understanding how can i run multiple instance of indesign server using com calls.. i am using jacob library in java for com calls ..
    Thanks

    Hi Soni,
    Web colsole --> your domain --> your server --> configuration -->
    general --> Listen Port / Listen Address
    Regards,
    Slava Imeshev
    "Soni " <[email protected]> wrote in message
    news:3dcfbbcb$[email protected]..
    >
    Hi:
    Is it possible to run two seperate instances of WebLogic server 6.1 onsame the
    server both listening on port 80?
    Details about the instances:
    Instance 1
    Domain names : fasnets
    Server name: envext
    Listen Address : 155.x.x.1
    Listen Port : 80 :
    External DNS : www.acme.com
    Instance 2
    Domain names : fasnets1
    Server name: envext1
    Listen Address : 155.x.x.2
    Listen Port : 80 :
    External DNS : www.acme1.com
    Thanks,
    Soni

  • How to open multiple instances of same form thru menu items

    i'm not able to open another instance of the form.....if i want to open multiple instances of same form ...what should i do???

    Hi Shenaz,
    To open multiple instances of the same form you need to set a different FormUID to each form you open.
    So lets say your FormType is MyFormXPTO. You need can set the FormUID as MyFormXPTO_1, MyFormXPTO_2, and so on.
    If you need a code samples, take a look at this post.
    Regards,
    Vítor Vieira

  • Preventing multiple instances of same application - started with "java app"

    I need to ensure that only one instance of an application runs at any given time.
    As far as I know launching it twice with "java appName" will run each in its own memory space, so it is not immediately obvious how to achieve it. I considered using a database entry or environment variable, but those would need to be cleared on exit and therefore be at risk of not being cleared if the application crashes or hangs.
    Is there a Java API call that would allow me to do a check for other instances of the same application... safely?

    Create a ServerSocket on a fixed port number that isn't used by any other application. If you get a BindException, your application is alread running.

  • Multiple Instances of Same Application Icons in iTunes App Folder

    I recently sync'ed my iPhone to iTunes on my MBP. After doing so I noticed that in the iTunes application folder there was 2 icons for each of my application that I have. Only one icon though on my iPhone. Running a sync a third time I got 3 icons in the applications folder for each application, but again only one instance of the application icon on my iPhone.
    I am not sure why this is occuring, but need some help to ensure that iTunes is reflecting the applications correctly.
    Why this is importance, is I can now no longer update my paid applications, via the iPhone and the Apps Store shows I need the same update 3 times, but will not download, as it claims the update was already performed.
    Something is messed up and need some guidance and help. PLEASE
    Thanks

    Yes, I migrated my iTunes directory, and after the migration, everything looked fine. Only one set of icons. It was not until I started to sync the itunes on my new MBP that the duplicating of icons started.
    I try to delete the duplicate icons, but in doing so it will delete the application on the iPhone.
    It there a registry that stores the icon to file associations?
    If I look in the music/iTunes/Mobile Applications folder there is only 1 instance of the *.ipa for each application. So why does iTunes have 3 copies of the icons pointing to the one *.ipa file. There must be an internal itunes registry that has made the icon associations. That is what needs cleaning out. I just do not know where that would be, given there is only one *.ipa file under the iTunes file structure.
    Can anyone help determine how to clean up the multiple icons?
    Thanks

  • How to get rid of multiple instance of same machine

    Hi, I have an issue with my MacPro as I have multiple instance of the same computer. Let me explain : My machine appears as MacPro. but sometime it connect as MacPro (2), or MacPro (3) and so on... I now have MacPro (11). This happens when I get problem with my network... it reconnect the machine with a new name... Big deal you'll tell me... let it be that way and carry on... But Here is where I have a problem : Third party application such as SpeedDownload see all those Instance as Multiples machines and now it won't open because it tells me that I only have a licence for one computer and that the software is installed on multiple computers as MacPro, MacPro (2), MacPro (3), ... and MacPro (11).
    Is there a way I could get rid of all the other "Instances" and only keep on machine which would be MacPro?
    Thank You,
    Martin B.

    You said:
    Dear APPLE.
    Please tell us how to correct this?
    Thanks in anticipation
    Bruce
    You are not addressing Apple here We are all just users like yourself.
    You can inform Apple here but you will not get a reply from Apple.
    http://www.apple.com/feedback/macosx.html
    As a test can you try just using Ethernet?

  • Multiple instance of same mac on network

    Hello,
    Running OS X Yosemite, I've noticed multiple instances of the same mac appearing on my home network.  Has anyone else encountered this and know of a way to fix it?  Currently, I have to try more than one instance before I find the "correct" icon to connect.

    10.10.1, when I posted. Last night I installed 10.10.2.  It got hung up on the "Restarting..." (w/App Store logo) screen for over 2 hrs, so I let it run overnight.  It was still stuck in the morning so I just shut it down.  After restarting, everything looks fine (cautiously optimistic)!  There is only ONE instance on the network!!   I read some tips in other forums and the simplest one I used, which wouldn't do more harm than good, was to turn off my air printer during the reboot.  I am good for now and will repost if the problem returns. William Lloyd how long since you updated have you been multiple-instance-free?

  • How to create multiple instances within same AS

    Ramesh,
    I have a unique problem. I might have to create B2B instances for 4 owners. As in BPEL, I can have separate domains for the 4 clients in the same instance; what is the equivalent in B2B?
    I have a limited number of CPUs and need to install the instances on the same box and hence trying to be creative yet secure here.
    Could you please provide some pointers.
    Thanks
    Shamik

    Hello Shamik,
    Please elaborate your use case. Is this just caters to user management or to really have different domain like bpel for four different users. Please see, b2b do not have the notion of BPEL domain, you might have to install multiple instances of B2B pointing to the same MR.
    Rgds,Ramesh

  • Static member problem in multiple instance of  web application

    Problem
    I am working on a product which is java based. I have a war file. I have to deploy this war file in JBoss. Further, I need to run multiple instance of this war file in same JBoss instance.
    Issue
         In that war file there is servlet Start.java. That servlet calls an other class from its init method. Here is code
    public class Start extends HttpServlet
         public void init(ServletConfig config) throws ServletException
              super.init(config);
              DB.loadProperties (�db.properties�);
         } // init
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
                   } // doGet
         public void doPost(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
                   } // doPost
    } // Start
    public final class DB implements Serializable
         public static final String     P_UID = "ApplicationUserID";
         private static final String     DEFAULT_UID = "System";
         public static final String     P_PWD = "ApplicationPassword";
         private static final String     DEFAULT_PWD ="System";
         public static final String     P_STORE_PWD = "StorePassword";
         private static Properties           s_prop = new Properties();
    public static boolean loadProperties (String filename)
         {    // looks for properties file
    s_prop = new Properties();
              FileInputStream fis = null;
              try
                   fis = new FileInputStream(filename);
                   s_prop.load(fis);
                   fis.close();
              catch (FileNotFoundException e)
                   log.warning(filename + " not found");
                   loadOK = false;
         �}
    As you can see if I deployed two instance of this war in JBoss and assume each instance point to its own properties file. The �Static� members are problem.
    Restriction
         I am not allowed change the code or logic of the product. I must be able to get some thing outside or apply a patch to solve this problem.
    Please Help
    Possible option that I have thought
    1 Using multiple JVM - Not an option in this project
    2 Using multiple JBoss � Not the requirement (need to run only on single Instance of JBoss)
    3 Use own class loader for war/ear � don�t know how in JBoss need help.
    I am using JBoss 3.2.3
    Thanks,
    Kumaran

    Static members belong to the class. So, you needto
    think of multiple JVMs for your problem.Thanks for reply.
    don�t know how in JBoss need helpJust guessing... clustered environment MAYBE
    RichThanks Rich,
    I don�t know how Cluster environment solve my problem. I need more information on your thought. Cloud you explain it.
    Kumaran

  • Multiple instances of same view (Sun 1.2 JSF RI question)

    Does the 1.2 RI support distinct backing bean and/or component state for multiple instances of the same view?
    I've seen mention of a "window identifier" in the 1.2 spec and some RI patches (Issue 28 https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=28)
    but the latest RI code no longer contains reference to this functionality. I've attempted to test this case, bringing up the same view in two frames (or two browsers - same session). But the state is still shared between the two views.
    What configuration and/or calls need to be made to support multiple instances of the same view?

    Using request scope would be a workaround.
    I'm looking for view distinct state for the associated component tree for the session (i.e. managed bean state, whether its separate instances of the bean or copies of serialized state I don't care)
    My views require conversational-like state handling that I don't want stored on the client.

Maybe you are looking for