Only one application at the same time

Hi!
Who knows how i can make sure that an user only can run an application one at a time?
thanks

Since everything in Java is an object, the easy trick would be to make the class containing your main() as singleton.
But of course, it can be easily fooled (by installing your application to separated sandboxes - e.g. in Windows you open two DOS screens, in which you set a different classpath and you have no chance to catch it, or you can even use different machines - how would you expect to catch that ... client/server with only one client?)
If you look on the market the attempts like 'eating a licence' everytime an application is installed all failed. It's always more-or-less based on trust between vendor and customer.

Similar Messages

  • (please urgent) two web modules , but only one run at the same time

    Hi sirs;
    In jDev 11g, I've a project with two viewControler fusion Adf and one model ( service bc4j ) ;
    When i Deploy the application using the topmost drop down list from jDev Ide ( application drop down list), only one of the two application works simultaneously.
    Look , the two applications works, but they do not work at the same time.
    stack trace like :
    zip:C:/Users/t/AppData/Roaming/JDeveloper/system11.1.1.1.33.54.07/DefaultDomain/servers/DefaultServer/tmp/_WL_user/PlanejamentoRH_V2.0/ebw81b/war/WEB-INF/lib/_wl_cls_gen.jar!/view/DataBindings.cpx
    25/09/2009 15:56:25 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    INFO: ADFc: Inicializando Ciclo de Vida da Página do ADF para o ambiente JSF, LifecycleContextBuilder é 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    25/09/2009 15:56:25 UNEXPECTED_CLIENT_OBJECT_TYPE oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    SEVERE: oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    25/09/2009 15:56:25 UNEXPECTED_CLIENT_OBJECT_TYPE oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    SEVERE: oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    25/09/2009 15:56:25 UNEXPECTED_CLIENT_OBJECT_TYPE oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    SEVERE: oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    <25/09/2009 08h56min13s AMT> <Error> <HTTP> <BEA-101020> <[ServletContext@7863650[app:PlanejamentoRH module:ORHQVagas path:/ORHQVagas spec-version:2.5 version:V2.0]] Servlet failed with Exception
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'controlerBean' resolved to null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:67)
         at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
         at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.renderAsElement(FormElementRenderer.java:211)
         Truncated. see log file for complete stacktrace
    >
    Is thrown , just when we try to browse the second application( the first one is ok , up and working );
    No metters , whose of the two applications is browse first , every the first work and the second fail;
    I've made other very simple application with two projects and the two worked well, at the same time, but the real project is giving me this problem;
    If someone could point me to some white-paper or give me some tips , I'll appreciate very much;
    Fowards Thanks;
    Marcos Ortega
    Brazil

    I reproduce it here;
    I Just relocate  the DataBindgs.cpx   to view/foo/DataBinds.cpx  and rename the view_view1PageDef to  view_foo_view_view1PageDef  and it's Works;
    Please muhammed, it is related with mds / ADF Security Configuration ?
    I was sure , that it will not work , in my thoughs "UNEXPECTED_CLIENT_OBJECT_TYPE" was throne because the second application should not be able to create a second instance of appModule because GUID problems ;
    As a metter of fact, it was raised again , but the page and all data was displayed;
    Lets see the log;
    Target URL -- http://127.0.0.1:7101/Application2-ViewController1-context-root/faces/view1.jspx
    09/10/2009 08:58:21 oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: file:/C:/Users/t/AppData/Roaming/JDeveloper/system11.1.1.1.33.54.07/o.j2ee/drs/Application2/Application2-ViewController1-webapp/WEB-INF/classes/view/foo/DataBindings.cpx
    09/10/2009 08:58:22 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    INFO: ADFc: Inicializando Ciclo de Vida da Página do ADF para o ambiente JSF, LifecycleContextBuilder é 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    09/10/2009 08:58:25 oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    *09/10/2009 08:58:28 oracle.jbo.uicli.mom.JUApplicationDefImpl logCpxUsageIdCollision*
    SEVERE: Both view.foo.DataBindings.cpx and view.DataBindings.cpx use the same usageId: view_view1PageDef
    FIX: Use view_foo_view_view1PageDef as the usageId in view.foo.DataBindings.cpx
    09/10/2009 08:59:27 oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: file:/C:/Users/t/AppData/Roaming/JDeveloper/system11.1.1.1.33.54.07/o.j2ee/drs/Application2/Application2-ViewController-webapp/WEB-INF/classes/view/DataBindings.cpx
    09/10/2009 08:59:28 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    INFO: ADFc: Inicializando Ciclo de Vida da Página do ADF para o ambiente JSF, LifecycleContextBuilder é 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    *09/10/2009 08:59:28 UNEXPECTED_CLIENT_OBJECT_TYPE oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl*
    SEVERE: oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    09/10/2009 08:59:30 oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store

  • Is there any way to load just ONE java application at the same time?

    I'm using 'jnlp' to load java applications and I want to load just one application at the same time.
    Is there any way to do that?
    I have been trying to use 'findLoadedClass' but it doesn't work.
    Also I've tried to make a file when a application is loading and delete when the application exits.
    but it has a problem when the user terminates the application.
    (the file can't be deleted...)
    The applications are using socket to receive data, all of them uses same port. That's why I want to load just one application at a time, otherwise they work wrong way.

    Do you actually mean you want to make sure that only one instance of a GIVEN Java program is running at one time? If so then search this forum becuse this question comes up frequently.

  • More than one reports at the same time?

    Hello
    Is there any way that i can call more than one reports at the same time through the .FMX file. At the moment i can call only one report, if i need to call another report then i have to close the 1st report, then it will show me the 2nd report. Report Background Engine can run more than one reports at the same time?
    Nametullah kalair

    Yes i know, we can submit multiple - asynchronous- jobs, but the problem is, is not possible to open more than one previewer to see multiple reports at the same time for analysis.
    Regards,
    Nametullah kalair

  • How can 2 people debug applications at the same time?

    Hello,
    We are using the NWDS to develop our portal applications.
    When one developer debugs a certain program the second can't, he receives "Unable to connect to remote VM".
    Is it possible to have 2 people debugging different applications at the same time?
    Roy

    Yes,
    (but I usually define application server as a java server process, and server as physical server).
    -go into configtool
    -select one of the instances
    -go to the Server menu and select Add server
    Then you have a new server node. Select this one in the configtool and go to the servers debug tab. Set it to debugable and define a unique debug port (open command prompt and run netstat -an | find "LISTENING" to find out which ports are in use).
    Regards
    Dagfinn

  • Jquery accordion where we can open more than one region at the same time

    Hi,
    I am trying to create a jquery accordion where we can open more than one region at the same time. I saw a post
    from patrick to do accordion where we can select only one region at a time.I am using Apex 4.0
    Using jQueryUI Accordion with APEX 4.0
    Any input on this will be appreciated.
    Thanks,
    Nav

    Hi,
    As I understand jQuery UI accordion do not have feature you looking for
    Regards,
    Jari
    Edited by: jarola on Sep 7, 2010 12:29 PM
    See documentation from here
    http://jqueryui.com/demos/accordion/#default

  • Can I have several itunes libraries on one computer at the same time?

    can I have several itunes libraries on one computer at the same time?

    Thank Niel 
    I have already got a library hosted on another computer and have homeshared my apple id for my home laptop, but I'm not sure what to do there after - any help would be appreciated!  I' worried I make my husband's library disappear......

  • Drill down more than one characteristic at the same time.

    Hi,
    Is there any way to drill down more than one characteristic at the same time?
    When I drill down by 0cust_sales I would like to have drilled down: division/distrchan/salesorg/cust_sales without having to do that one by one.
    thank you!

    Hi,
    This cannot be done unless these characterstics are related to each other in some way as Charactertics & Display Attributes.
    The reason being when you drill down the 0cust_sales , there is no link from 0Cust_sales to the other characterstics hence there is no prompt for these characterstics to be drilled down.
    However, a smiliar thing might be acheived by adding these chareacterstics into the 0cust_sales in teh query designer by dragging n dropping them over 0cust_sales. you can try this and see if this is close to your requiremetn.
    Kind Regards,
    Tapish

  • HT1657 Can you rent more than one movie at the same time?

    Can you rent more than one movie at the same time on itunes?

    I think Justin is correct and you should have statistics in place and a reasonable partition scheme so that the optimizer selects the correct partitions rather than telling it what to do. You paid a lot for partitioning after all.
    There are some, possibly misguided, examples in the manuals showing how to create a view so you can delete from a single partition without specifying the partition criteria in the delete statement. This in effect turns partitioning back into DIY partitioning i.e. separate tables, union all and pretend its a single logical table using a view. But backwards.
    So to do what you want you just assume the partitions are separate tables, and then use union all to glue the ones you want back together.
    select * from sales partition (sales_q1_2000)
    union all
    select * from sales partition (sales_q1_2001)
    union all
    select * from sales partition (sales_q1_2003)
    union all
    select * from sales partition (sales_q1_2004);It probably goes without saying that as well as making the expensive version of partitioning behave like the free alternative, there is the possibility that it will perform like it as well.

  • How to open multiple applications at the same time

    I need to open several applications at the same time: Dreamweaver, BBEdit, and Acrobat. Is there a way to smooth this process, so pressing an icon in the dock will open them all for me?

    You could create an applescript to do it.
    tell application "Dreamweaver's Full Name"
    activate
    end tell
    tell application "BBEdit's Full Name"
    activate
    end tell
    tell application "Acrobat's Full Name"
    activate
    end tell
    Replace the quoted text (leaving the quotes) with the full name of the application, and save the applescript as an application bundle, and put it in your dock.
    NOTE: You may have to put the full path to the application for it to work (I.E. /Applications/Dreamweaver.app). If you do, encase the full path in quotes.
    Good luck!
    Message was edited by: joshz

  • How do I view more than one image at the same time in CS6?

    How do I view more than one image at the same time in CS6?

    Hi there
    If you go to Window > Arrange you can choose from several view options. Below I have selected Two-Up Horizontal since I have two images, but you can select other options if you have more than one image.

  • MacBook Pro Freezes while using more than two applications at the same time

    Over the last two weeks my MBP has been freezing every time i use two or more applications at the same time. For e.g. my whole system freezes from time to time when i use itunes and safari at the same time. This problem never existed before and has just started recently and is really annoying. What can i do to fix it?

    Rather than re-installing Safari have you tried simply "Resetting" it (head to "Reset safari" under the "Safari" menu). It is possible that something in your user folder that supports Safari is really the cause of the problem. Re-installing Safari won't deal with this, but re-setting it can.
    In fact the first thing you should try is simply choosing "Empty cache..". If your cache files are corrupted then this in itself could explain the behaviour.
    If you choose to do the Reset first try it with just "Empty cache" and "remove all website icons" selected. This will reduce the amount that you will "lose" in the process. (Cookies, history, etc). Add in additional options if the first attempt doesn't fix it.
    Cheers
    Rod

  • Add Suppporting Details for more than one periods at the same time for the same Account in Planning.

    As we know, in planning form, we can add supporting details to one cell for the level 0 members intersections.
    But can we do that as below:
    add supporting details for more than one cells at the same time?
    I tried to do that in workspace and smartview, neither is working.(my workspace version 11.1.2.2.300.20)
    I wonder if i am not with the right version, because i don't know how to get the below.
    Can any one explain?
    Thank you.

    Hi,
    I have tried in Smartview for a simple form where my period dimension was in columns and accounts in rows.
    You need to select multiple period and select supporting details, it will show those selected period for which you can add the supporting details.
    You can add these details and then submit the data in the form.
    Regards,
    Sourabh

  • How many meetings can be opened by one account at the same time?

    I've tried Adobe Connect trial version.
    There are few questions about the product.
    1.How many meetings can be opened by one account at the same time?
       I could open 9meetings at the same time using other PCs. What is the limit?
    2.What is the maximum of students in a meeting?
       I'm thinking of buying monthly/Individual product.
    3.The meeting never end even though host is out of it. But we want to control.
       Can host close a meeting so that all participants are out of the session?
    Thanks for your attention.

    This depends on your licensing.
    If you are using a Named Host license, then you can open one meeting at a time. If other members of the Meeting Host group are present in a room, then it should allow you to have multiple rooms open, one for each Meeting Host licensing being used.
    If you are using the Concurrent Learner license, then each meeting you join uses a different licenses, so as long as you have concurrent seats available, you can open as many rooms as you want/need.
    Maximum number of attendees (students) would be your room's concurrent maximum, less your self. The monthly version of Connect offers 25 concurrent attendees in each room, so that would be 24 students and you.
    The meeting does end after it is dormant (no host) for ~15 min, however you can use the End Meeting function (Meeting > End Meeting) to close the meeting and remove everyone, including yourself, from the room.

  • Its possible to stream one video at the same time to three appletv2?

    Its possible to stream one video at the same time to three appletv2?

    Welcome to the Apple Community.
    You can't stream a movie to more than one device at a time from iTunes. You can however stream the same (or indeed a different) movie from multiple Apple TVs although they won't necessarily be in sync.

Maybe you are looking for

  • Can I use Mac Dictate to convert voice memos to text?

    Can I use Mac Dictate to convert voice memos to text?

  • How to manage hard drive space

    I'm running out of space on my macbook air.  too many TV purchase downloads on Itunes.  If I delete them, can I re-download them in the future if I want to watch them again?

  • UCCX 8.0.2.11004-12

    In resources cisco unified contact center express state report the one agent are log-off but in the report shows the contact presented 1. Only one extension are facing this issue. We reset the phone but still same. Every day when we take the report a

  • I downloaded photoshop Elements 13 but can't find it to access it. What is my issue?

    I downloaded Photoshop Elements 13 but can't access it. I'm not sure to access it as it didn't go to my desktop. What am I missing?

  • FaceTime HD Camera Issues

    My camera like many others stopped working after the 10.8.5 update. It started working again after I did the supplemental update. I am now on Mavericks. The camera is working on Skype, FaceTime, and Photo Booth, however it is not working in Chome, an