Restricting users to login multiple times on the same machine..

Hi everyone,
Is it possible to restrict the users to login multiple times on the same machine...did someone implemented this kind of process.Please help me how can i achieve this or any suggestions.
Thanks in advance.
Phani..

Hello,
I decided to answer you in the original thread - Identify currently active users – as I believe that the outline background of the issue is important to better understand it.
Regards,
Arie.

Similar Messages

  • Using multiple timer in the same SessionBean

    Hello,
    Is it possible to use multiple timer in the same Stateless Session Bean. In my application a user can schedule some task to execute. To do so I was thinking of creating a Session Bean which would create calendar timer on user request and, when one of the timer expires, retrieve the task to execute thanks to the information stored in the timer.
    When I tried the solution explained above, it seems that the @timeout method is synchronized on 1 timer. For example if I create a timer that will be executed every 10 seconds and another one executed every 30 seconds, the timeout callback is called every 30 seconds but 4 times.
    My code looks like that :
    @Stateless
    @LocalBean
    public class TimeManager {
        public void onUserRequest(ScheduleExpression expression) {
            Timer timer = timerService.createCalendarTimer(expression, timerCfg);
        @Timeout
        void timeout(Timer timer) {
            logger.log(Level.INFO, (String) timer.getInfo());
    }Is there a way to do what I want?
    Thank you

    This doesn't make any sense to me. If i were to write a bunch of schemas for a particular applicaion, would
    I have them all in the same namespace? You would normally have one schema that describes the information model associated with the one namespace that the different documents in your application use.
    If so, why can't I load more than one in the same name space?The parser chooses the schema based on the namespace alone. There is no other information used to decide which schema to use, so you can only have one schema for the namespace.
    They all have different root elements.You can have different root elements in the one schema.
    I don't even need the namespaces, but I can't
    figure out how to get rid of them (the schema isn't valid with out them according to XML Spy). You can set the schema explicitily before parsing, but not (AFAIK) set after parsing has begun, except by using the mapping of namespace to schema location.
    I have also tried to use the external-noNameSpaceSchemaLocationproperty, but it doesn't seem like you can pass in an array of schemas to that one. It only expects a
    String as the Object you pass in to setProperty. Yes, you can only validate a document against the one schema.
    So, how can I load all my schemas so I don't have to reference them in the XML documents? Either combine your schemas so you have one schema for your namespace that validates elements which are defined in that namespace (the formal/correct way of doing it), or construct a filter that inserts a PI to point to the schema once the root element is opened (the pragmatic/bit of a hack way of doing it).
    Pete

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs.
    Let's say for instance I create a div ID called 'product-container'. I want to use 'product-container' multiple times on the same page but if I do this it is improper XHTML and will throw errors in any XHTML validator (you are only allowed to use a div ID once on any XHTML page in order for it to be standards compliant).
    Now the first option is that I could define 'product-container' in my CSS style sheet multiple times by doing something like this...
    #product-container {
         width: 300px;
    #product-container-2 {
         width: 300px;
    #product-container-3 {
         width: 300px;
    #product-container-4 {
         width: 300px;
    What you will see there however is that it seems pointless to define the same ID numerous times over (just adding a number on the end) when each ID is the exact same thing and has the exact same attributes.
    Now what I have noticed is that there are some sites out there who manage to have the same ID appear several times in the code but add a number to it just like above. The difference is that they only have one definition for 'product-cointainer' in their CSS document but in their actual XHTML code they have IDs for 'product-container' but with numbers on the end like 2,3,4,5, etc. It's almost as if JavaScript or some other code is automatically appending a number on the end of the ID so the validator won't consider the markup to be invalid, but yet it knows that it's using the same 'product-container' style that is contained in the CSS style sheet.
    I hope I explained this correctly. I'm just hoping to find a way that I can put the same div ID on a page multiple times without having to define it over and over again in my CSS.
    Any help is much appreciated!

    Because it seems like by using a class you can't make this position as 
    well as you can by using an ID. Am I wrong?
    An ID name can be used only one time per page.  A class name can be used multiple times per page.
    .product {
    width: 300px;
    text-align:left;
    color: #FF0000
    border: 2px solid #666;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How to play one clip multiple times at the same time?

    I am writing a little game where a certain sound has to be played quite frequently. I load it as a Clip and play it with
    myClip.setFramePosition(0);
    myClip.loop(0);If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?
    Edited by: andrasz on Feb 27, 2009 12:37 AM

    If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?Ummmm, if you're using a clip, you'll have to maintain one copy per object that needs to play the sound concurrently. You could keep one master copy, and then create copies of the clip as necessary to play them, and then just dump the copies to decrease memory consumption.
    A second idea would be to write your own Clip class. Esentially, all you would need to do is dump some sound data onto a TargetDataline to play it. It'll handle the buffering and playing at the correct speed itself. If that's all you did, you should be able to dump multiple times from the same instance and play it multiple times.
    Obviously, that's just a theory. In practice, it may not work that way...

  • Tries to connect multiple times at the same time a...

    Tries to connect multiple times at the same time after trying to reinstalling software.

    Hello,
    Assuming that you use a Web version (this information MUST be provided in any post), you have 2 ways to run reports:
    1. the Run_Report_Object built-in
    2. the Web.Show_Document() built-in
    Francois

  • I can convert almost things multiple times at the same time including CMYK to RGB (or sRGB), but not RGB to CMYK and not brighten/contrast. How?

    I can convert almost things multiple times at the same time including CMYK to RGB (or sRGB), but not RGB to CMYK and not brighten/contrast. How?

    If you want a relevant answer you may have to elaborate on what you actually mean. Posting screenshots might help, too.
    In any case multiple conversions of an image are not advisable in general.

  • How do I prevent a user from opening multiple instances on the same computer?

    On the site oldnavyweekly.com there is a .swf that prevents users from opening multiple instances of the site at the same time on the same computer. If you open the site, and try to open it a second time in another window, it won't load. You can't open the site again until the first window is closed. How did they implement this?
    From my analysis it is NOT:
    1. Cookies - The block still takes place if you try opening it in IE and also try opening it in Firefox simultaneously.
    2. Flash Cookies - The block still takes place if I disable flash cookies.
    3. IP Based Block - You are not blocked if you open the site on two separate computers with the same outbound IP address. From my analysis, their server does not assist in the block at all.
    It seems as if their .swf is creating some kind of global system-wide object that can be detected in other instances of the application on the same machine. How did they implement this?
    Thanks!

    you're welcome.
    actually, unless you take an extra step, the first opened swf will close.  if you want the 2nd to close, the initial receiving lc will send a message to sender that causes the sender to close.

  • Itunes charged me multiple times for the same purchase. A message kept appearing that the bank records did not match my account information and each time charged me 5.16... it shows up on my bank account as a pre-authorized purchase 9 times.

    I made a purchase of about 3 songs for the price of 5.16. Well when I was trying to download the songs a message kept appearing saying that "the account inforamtion does not match my bank records". Looking at my bank account 3 days later it shows up under my accout as pre-authorized charges 9 times. The post dates of these charges are not all today and these charges are pending transactions.
    Why did they charge me nine times for the same purchase? And why is it charged for tomorrow?

    This happend to me to---kept getting msg that info did not match bank records and I tried a few times then gave up THEN checked bank account and they charged me SIX TIMES
    of course, you cannot even call them or email...its frustrating..I reported a problem under the songs bought but I have spent over half an hour on this trying to call etc....this is nuts

  • How to configure multiple clusters on the same machine.

    I am attempting to configure multiple clusters on the same set of machines. I have set the cluster name and multicase IP addresses to be different for each cluster. However I am still getting and error that states:
    "This indicates that there are multiple clusters on this network attempting to use overlapping network configurations."
    Is this not possible? If it is possible, is there some further way i need to tell the VMs they are part of different clusters?
    Thanks,
    Jacob

    FYI: I'm using the wrong multicast IP above. 224.0.0.1 is reserved and something else should be used. See:
    Re: UDP flood hosed my LAN?

  • Airplay works for one user but not for another on the same machine

    I have the problem where airplay works for one user but not for another and both users are on the same machine.  For the user where it does not work, everything appears normal, it's just that there is no sound being transmitted.  I have tried restarting the Airport express, restarting iTunes, repairing disk permissions.  Any ideas about what can be done to resolve this?

    my /etc/group:
    root::0:root
    bin::1:root,bin,daemon
    daemon::2:root,bin,daemon
    sys::3:root,bin
    adm::4:root,daemon
    tty::5:
    disk::6:root
    lp::7:daemon
    mem::8:
    kmem::9:
    wheel::10:root,hans,ibm,gast
    ftp::11:
    mail::12:
    uucp:x:14:
    log::19:root
    locate:x:21:
    smmsp::25:
    http::33:
    games::50:
    network:x:90:
    video:x:91:
    audio::92:ibm,gast
    optical::93:hal
    floppy:x:94:hal
    storage:x:95:hal
    scanner:x:96:
    power:x:98:
    nobody::99:
    users::100:gast
    dbus:x:81:
    hans:x:1001:
    vboxusers:x:108:hans
    policykit:x:1002:
    hal:x:82:
    kvm:x:78:
    nx:x:85:nx
    avahi:x:84:
    camera:x:97:
    gdm:x:1003:
    gast:x:1004:

  • Log4j in multiple clusters in the same machine

    Hi,
    i use log4j and i'm having some problems with my log files. I have two clusters in the same machine. How can i have the logs independent of each other. Now i have one cluster jamming the log of the other cluster. I want this doesn't happen, i want they log separately. How can i do it?
    Many thanks in advance,
    Nuno

    nfalmeida wrote:
    Hi,
    i use log4j and i'm having some problems with my log files. I have two clusters in the same machine. How can i have the logs independent of each other. Now i have one cluster jamming the log of the other cluster. I want this doesn't happen, i want they log separately. How can i do it?
    I hope you have configuration files that configure log4j? The applications/clusters shouldn't use the same configuration.

  • Multiple Instances on the same machine: Several IP Addresses

              Hi all, I want to set up several instances of WL on the
              same server. These instances will be clustered. I am
              using Apache for the WebServer. Here the configuration
              I used: I first change the weblogic.conf file in Apache
              to set up the bridge.I restart apache using apachectl.
              Then, on the WebLogic site, I created a new ipadress
              using ifconfig hme0:1 ip adress ... I created a file
              hostname.hme0:1 in /etc I added this Ip address in /etc/hosts.
              I added this Ip address in the mycluster DNS. I wanted
              to start both WL manually using startWebLogic.sh file
              to see the log file. So, I first assign hostname to WL1.
              Then start WL. I opened an other terminal. Assign the
              hostname to WL2. Then start using startWebLogic.sh. The
              first instance started correctly.When the second started,
              there was an error: when listening to the port 7001,
              this port was already used. That was the same with the
              port 7002.
              Then , my question is How is it possible to configure
              several instances on the same machine using several ip
              addresses and one port. Thank you for your help. Erwan
              

              Please try -Dweblogic.system.bindAddr=<a.b.c.d> in your startWebLogic.sh.
              Brian
              "Merg" <[email protected]> wrote:
              >> Then , my question is How is it possible to configure
              >> several instances on the same machine using several
              >ip
              >> addresses and one port. Thank you for your help. Eourwan
              >
              >On Win2K/WinNT you can assign several IP adresses to you
              >NIC. (Advanced
              >TCP/IP options.) Each server instance has to run on it's
              >own port.
              >
              >Regards,
              >Merg
              >
              >
              

  • How to avoid triggering of a workflow multiple times at the same time?

    Hello Workflow Gurus,
      This is the situation.
    I have a Notify requisition creator workflow. This workflow is triggered only when a PO is completely released(this Po is created with respect to a purchase req). I have implemented multiple release strategy in my PO workflow. Meaning, if a PO is created for 5 million, 4 entries are created in the release strategy(P0, P2, P3 and P4). Some approvers have authorization to approve P0 and some have authorization to release P2 etc. Before an approver can release P4, P0, P2 and P3 shuould be approved first.
    My problem is when a approver has auth to release both P3 and P4, and if he hits the SAVE button, it is completely released and  2 notify req workflows are being triggered. I use the release indicator = 'C' (completely released) to trigger thos notify req creator workflow. In this case both workflows are triggered at the same time and date. I somehow have to say if this is triggered at the same date and time, complete one workflow.
    BTW, I am not using any user exit to trigger this. This notify req creator WF is triggering event is "RELEASED'. When pO is completely released, 'RELEASED' event gets triggered which caused the notify req creator WF trigger.
    How can I accomplish this?
    Thanks
    Rachana

    Hi Rachana,
    Another way you could acheive this is to use start conditions for your workflow. You could specify that your workflow should get triggered only for release codes = XX or release strategy = XX, etc.. This way even after 1 stage of approval, when the approver clicks on SAVE, the release codes change and because there is start conditions in the workflow that would prevent another instance of the workflow from getting triggered.
    For example, in your case, I presume PO, P1, P2, etc are your release codes.
    You can have a start condition in your workflow wherein you specify that the workflow should get only triggered for release code = P2 [assuming release code P2 is always the 1st stage of approval]. So, once the approver for P2 has completed and Saved, since there is a start condition, there wouldnt be any other workflow instance started. By this way, any stages of approval wouldnt cause another workflow to initiate.
    Hope this is what you have been looking for ?
    Satish

  • TS2755 keep receiving the same text message multiple times, at the same time of the night. How can I stop this?Thabnks

    Hi
    I keep on receiving the same text message multiple times and at around the same time each night. Any idea how I can stop this happening? The text messages are originating from to separate Saudi Arabian mobile numbers. Both these people are listed in my contacts so do you think if I delete their names it might stop the texts coming htrough each night?
    Cheers

    Deleting the people from your contacts will not stop the messages. Have you tried talking to the people and finding out if they're sending you messages? You could try contacting your carrier and finding out what blocking services they offer. However, theat would block all messages from those people.

  • Mail doesn't show attachments or shows multiple time of the same attachment

    Dear All,
    In our organisation we use Exchange 2007 with Roll-up 3-v2 and we have many members who use Mac Snow Leopard and Lion standart mail program.
    When we send out emails with attachnemt those thins happen:
    Items with several attachments appear to have the same attachment added several times, or to have only one attachment,no matter how many there actually are.
    Attached images become embedded.
    We checked the mails with a barrowed Mac (yeah yeah we are PC users)
    The problem occur regardless of thedownload protocol used – POP3 or IMAP4
    The same e-mail item viewed through the ISP’s web interface appears as expected – all attachments visible and thesignature graphic visible and accessible
    Other non-default mail client such as Thinderbird works fine.
    The same e-mail item sent from other ISPsappear as expected, with all attachments visible and accessible.
    We dig out for information and and I found this https://discussions.apple.com/message/12897672?messageID=12897672
    related with Snow Leopard. Many of Mac user has upgraded to Lion but the problem is still there.
    We are currently testin Roll-up 4 for the Excange server but as it has been withdrown from WSUS we are very suspicious that will solve the issue.
    We are despereate to find a solution in order to provide better service to our Mac user member and we need help.
    Unfortunately switching the systems that we use is not an option for the moment.
    Any thougt, any help highly appreciated.
    Regards,
    Selcuk Savas
    RCPA Webmaster
    [email protected]

    Dear All,
    In our organisation we use Exchange 2007 with Roll-up 3-v2 and we have many members who use Mac Snow Leopard and Lion standart mail program.
    When we send out emails with attachnemt those thins happen:
    Items with several attachments appear to have the same attachment added several times, or to have only one attachment,no matter how many there actually are.
    Attached images become embedded.
    We checked the mails with a barrowed Mac (yeah yeah we are PC users)
    The problem occur regardless of thedownload protocol used – POP3 or IMAP4
    The same e-mail item viewed through the ISP’s web interface appears as expected – all attachments visible and thesignature graphic visible and accessible
    Other non-default mail client such as Thinderbird works fine.
    The same e-mail item sent from other ISPsappear as expected, with all attachments visible and accessible.
    We dig out for information and and I found this https://discussions.apple.com/message/12897672?messageID=12897672
    related with Snow Leopard. Many of Mac user has upgraded to Lion but the problem is still there.
    We are currently testin Roll-up 4 for the Excange server but as it has been withdrown from WSUS we are very suspicious that will solve the issue.
    We are despereate to find a solution in order to provide better service to our Mac user member and we need help.
    Unfortunately switching the systems that we use is not an option for the moment.
    Any thougt, any help highly appreciated.
    Regards,
    Selcuk Savas
    RCPA Webmaster
    [email protected]

Maybe you are looking for

  • IMac won't boot OsX Partition after Bootcamp install/uninstall.

    Hello, I have bought 2 late 2012 21.5 iMacs last year and have used both the same way. Here is what happened with one of them recently. Fisrt af all I've installed bootcamp 1 year ago in both iMacs without issues and was ok so far, and was using excl

  • LSMW ERROR --PLZ HELP

    Hi.. am trying to create a Sales order ..and i have assigned the source structure. when i run the last step( direct input method)..it is giving me the below error. as ..Date / /  is not valid. not sure what the error is.                              

  • Embed fonts in PDF

    I want to publish a book on lulu.com which I created with MS Word for Mac. It must be in PDF format with embeded fonts. Firstly, how does one save a file as a PDF? Secondly, how does one embed fonts? Thanks!

  • Quicktime won't load - along with another program

    Fairly new computer, programs already on machine work fine and load with no problem. I installed ULead VS 10+, installed no prob, but won't load. Switched to Adobe Premiere Elements 3.0, install fine, won't load. Downloaded the latest Quicktime, inst

  • I want to buy a MacBook Pro, but is it worth it?

    The computer I buy is going to be my computer through High School and hopefully College, but a MacBook Pro is around $1000 to $1300 dollars right? So is it worth the cost?