Client recieving a User List

How would I make a client keep listening for a certain action..
Basically I have created a Client-Server Chat app... on connection and disconnection the server creates a userlist using the vectorlist, thus keeps updating on connection/disconnection of a socket/user.... so serverside is okay,
I've managed to make it send the vectorlist by serializing it over to a client upon connection from them.. So each time a new client connects they get the list.. So each client gets the list once meaning they won't be able to see other users on after them.. as the list gets updated on each connection on serverside.
I can make the server send the list on each connection or disconnection to each user.. but how will the client know the server is sending it? any tips or ideas to help me around this problem.
Thanks

Okay I may be wrong but i think wat you meant i've done.. as thats what I thought too basically the server sends a list when each connection comes and an existing connections leaves.
The problem is with the Client side.. how do I make it accept the list in the middle of a task. or randomly, basically I need the Client listening for a list at all times.. asa connection can be made anytime..
At the moment when a client connects it will recieve a list.. because on connection server sends list client reads list.. it is told to specially check the stream because data has just been sent.. after which the next code loads up which is chatting etc.. and hten lets say another user connects, he will get the list the same way.. but his list will be updated with previous users.. so now how will the otehr user get that list.. I hope its making sense.. as its hard to explain.

Similar Messages

  • Sorting of user list in 'ACT AS' by displayname -OBIEE 11G

    Hi,
    I have configured 'ACT AS' successfuly in obiee 11g . We have written the following query to populate user name and displayname in the act as drop down .
    <getValues>EXECUTE PHYSICAL CONNECTION POOL DAA2.DAA2 select USERNAME, DISPLAYNAME from SIEBEL_USERS </getValues>
    With this query the list is getting ssorted by USERNAME .
    However, our client expects the user list to be populated in the ascending order of the DISPLAYNAME.
    I tried modifying the above query as below in the xml file to implement the same .
    <getValues>EXECUTE PHYSICAL CONNECTION POOL DAA2.DAA2 select USERNAME, DISPLAYNAME from SIEBEL_USERS Order by 2 desc </getValues>
    But the liste is still getting sorted by USERNAME. Could anyone give some pointers to achieve this requirement ?
    Regards,
    Karan
    Edited by: kchadha2 on Sep 12, 2011 7:21 PM

    Thanks Veeravalli, I did exactly the same. Editing the registry didn't help so I deleted the service from registry and create it again and before that added the following in my installSVC file in the section you mentioned
    set JAVA_VM=-server
    set MEM_ARGS==-Xms1024m -Xmx1024m -XX:MaxPermSize=2048m -XX:-UseSSE42Intrinsics
    But it is still not working, I am getting the same error but now it says
    [Tue Dec 11 07:38:45 2012] [RunJavaApp] Loading class - =-Xms1024m
    java.lang.NoClassDefFoundError: =-Xms1024m
    Caused by: java.lang.ClassNotFoundException: =-Xms1024m
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    one of the things I didn't mention though was that when I create the service, I run the installAdmServer_Service.cmd file as "Run as Administrator", only then the service gets installed. Can this be related to the fact that this windows service needs to be run under admin account? or Run as Administrator? I am guessing because I tried various heap sizes and also edited my setDomainEnv.cmd and commEnv.cmd file to use 1024 as heap size it but still didn't work and it is failing may be while loading the class? If that is the case then how to run this services as administrator? Am I missing anything else?
    Thanks,
    Ronny

  • How to Automate the Generation of Active User List in SAP

    Hi experts,
    Can you assist me with the following scenario?
    Scenario:
    From time to time, I am requested by client to produce the list of active users in SAP.
    I retrieved this list from T-Code: SUIM.
    User Information System > User > Users by Complex Selection Criteria > By Role.
    Then I select all users by specifying the following value in Role field:
    Z*
    In the next screen, I clicked on Roles icon to produce the final layout. This list is exported as local file in Spreadsheet format.
    Question:
    Is there any way to automate this process? Can I schedule a job and whenever my client request the same info, I can just run that job and automate the whole process?
    Appreciate if you could share your experience with us. Thank you very much!

    Hello there,
    Off course there is! You're using BW (or BI whatever!)
    One option:
    Go to table AGR_USERS and select there by roles starting with Z* your desired users. But you still have to download to excel.
    Second option:
    Create an abap program that reads the table AGR_USERS and prints the information to the screen and/or to a excel/txt file. You can also schedule this program every day or every night for example.
    Third option:
    Create an extractor of the table AGR_USERS and build a query. You can feed the extractor every day or twice a day. Since you have the query, your boss can run it himself and stop bugging you! (You could try build a remote InfoProvider so the data can always be updated at the time of the query execution)
    Diogo.

  • Intel MacBooks not displaying users list from WGM

    Hello folks,
    I have a situation where all my Intel iMacs connect to my OD server fine, pulls down the WGM user lists and logs in fine. However I also have about 8 Intel MacBooks that are meant to connect wirelessly to this same server. For some reason I can not figure the MacBooks, connect fine, I can even bind them but they do not display the users list. I thought maybe the wireless connection may have something to do with it, so I plugged them directly into the data cable and still no luck. I ensured that on the local machine the user account is set to display as a list. I have created the computer list in WGM for the MacBooks, all to no avail. I have been scouring the forums but no breakthrough yet. Any ideas from anyone will be greatly appreciated.
    G5 Mac OS X (10.4.8)

    The list of users is a plist file and should be at at /Library/Preferences/com.apple.loginwindow.plist on the clients. See this thread for more information:
    http://discussions.apple.com/thread.jspa?messageID=2368769&#2368769
    If you've got a good plist from a client that sees the right users, you should be able to copy it over. If not, try backing up the file from one client and then deleting it and restarting.

  • Map client certificate to user in PI7.1

    I am setting up HTTPS for inbound (sending messages to the adater engine), on the server-side configuration, I need to map a client certificate to an user.
    help.sap.com has this instruction:
    Perform the following steps to allow AS Java to map the client certificate to a user:
           1.      Use the SAP NetWeaver Administrator and choose Configuration Management ® Security Management ® Key Storage to import the CA cert of the client certificate to the list of trusted certificates (TrustedCAs keystore view) and import the client cert to an arbitrary keystore view.
           2.      Use the SAP NetWeaver Administrator and choose Configuration Management ® Operations Management ® User and Access Management ® Identity Management to map the client certificate to an existing user with role SAP_XI_APPL_SERV_USER.
    Step 1 was done ok, but at step 2, I simply don't see anywhere I can map the user to a certificate in the Netweaver Administrator interface. Am I missing something here?
    Thanks a lot in advance for your help..
    Jerry.

    Hi Jerry
    Did you checked this
    http://help.sap.com/erp2005_ehp_04/helpdata/DE/a7/1cd08ffe25e34799cbbe1a7ecdb8ed/content.htm
    Thanks
    Gaurav

  • What is the option client certificate for user authentication used for?

    Hi All,
    I have to work on a FTPS - XI -SAP scenario.
    I can see an option for client certificate for user authentication when security is enabled for the FTP adapter. what exactly is this option used for?
    P.S: I went through sap help but couldnt quite understand.

    Thanks a lot Mark.
    So for a FTPS -> XI -> SAP scenario the following settings are required.
    1. I have to create a certificate in Visual Admin for the XI server , send a csr to a CA and get it signed by them, and i have to add this to the ssl_service view.
    2. I have to hand over the public key to the FTPS server & this key will be used for encryption of the file
    the above 2 steps are mandatory.
    If i choose to use the client certificate option , i have to get the client certificate from the FTPS server and add it into the TrustedCAs list. This certificate is just to imply that the client is what it claims to be.
    Will this certificate be used for encryption?
    To make it clear let me put it this way. The certificate created in the XI Server is used for encryption and also for ascertaining that the its what it claims to be.
    The clients certificate option is used only to make sure that the client is what its claiming to be & this is not used for encryption?

  • Users not able to login but present in user list

    Hi :
    We have couple of users in user list , among those some of the users are not able to login . When i went to SU01 that users are present .
    when i try to display/ change the users which is saying that user does not exist . but that users are present in user list .
    How to activate those users instead of recreate .
    This is very critical for me please help .
    Thanks in advance,
    Chimsi

    Chimsi,
    Now this is going to sound silly, but on their log on screen, are they trying to log into the correct client?
    Also make sure they are using the correct password. You can reset it in SU01.
    Make sure in SU01, that the users are defined as "Dialog" user in the "Logon Data" tab and that the user's Validity Period is set correctly.
    Let us know if the logon data is all correct, but you are still getting errors.
    Cheers,
    Pat.
    Message was edited by: Patrick Yee

  • Network User List Not Updating

    I manage a lab of ~30 iMacs which are bound to an Open Directory on a G5. The client computers set so that their login windows show only network users accounts in a list. However, they don't seem to be getting the actual list of network users from the server. Rather, in /Library/Preferences/com.apple.loginwindow.plist there is a NetworkUsers array which contains the users listed by loginwindow. No matter what this array is never updated, not since it was originally created it seems. Furthermore, if I delete the plist, loginwindow reverts to name/password fields and never gets the list of network users. Clients can still log in, and MCX settings are updating correctly, it's just that loginwindow can/does retrieve the network users to display in the list. I've tried refreshing preferences, rebinding the computers, changing the computerlist settings on the server, deleting the MCX cache...just about everything I can think of short of clean installing the clients and/or the server (which, ya know, I'd really rather avoid . I've seen several other topics in the discussions that sound similar to mine but all seem to have slight variations and none seem to be fully answered so I'm sure many would appreciate any help on this topic. All of the computers are running 10.4.4.
    PowerBook Al 15 1.5GHz   Mac OS X (10.4.4)  

    I had already checked (search based) that as I had that with 10.3 and 10.4 server.
    I did however solve it today, but am not 100% sure on what I did.
    Here is what I tried.
    I was trying to add restart to the applemenu, and did so and the restart appeared, but was then trying to look for ways to remove the logout so as to force the users to restart rather than logout but could not find it. I looked in the forced com.apple.finder.plist which was under the details options in preferences rather than the finder icon, and since there was no key in there I removed it from the computer list prefs and the pupils groups prefs. I then looked at the finder prefs from the icon in system prefs on WGM and noticed that I had blue dashes meaning some set some not. I cleared them be setting them as I wanted and then double checked but noticed they were back to dashes so did them again by doing never then apply and then always and resetting them to as I want (I think that is was I did) and then checked and they were ticked or unticked and no dashes. I then just happened to log on with a client to see if the applemenu was fine and noticed that it no longer showed the restart so had to log off upon which the list appeared.
    I think that one of the com.apple.finder.plist in either the group or computer list details prefs was the problem.
    I hope that it is okay and will stay like this, until I relook at to why the restart is not happening and knowing sods law will solve that but get no list again.

  • Outlook 2007 client has former user's name.

    I have Windows 2012 servers. One of which has Exchange server 2013. Most of my email clients have Outlook 2007, and some have Outlook 2013. On one of the Outlook 2007 clients, the previous user's name appears above Inbox in left panel. On a spare computer
    with Outlook 2007, I logged in as the affected user and setup Outlook for her. Her name appeared above the inbox until I closed and restarted Outlook. Then, the same former user's name appeared. On the user's computer, I gave this affected user local admin
    rights, but the Disable Offline files option was grayed out. The affected user's account name is all that's listed under Email accounts tab. Under Data there is an OST file with the former user's name. Someone told me that my predecessor renamed the former
    user's AD account for the new (affected) user--rather than creating a new AD account for the user. I've read that Exchange gets information from each user's AD account. Is the next step to delete the affected user's AD account and create a new one for her? 
    If so, do I leave her Exchange account, her computer's Windows profile, and Outlook profile/setup alone while I'm doing this? It may seem a minor issue, but it's frustrating to this manager. Recipients do receive her emails with her name as the sender
    though.

    Hi,
    Before we go further, I'd like to confirm if the affected user has two mailboxes and the meaning of former user.
    And for the strange OST file issue, I recommend you try to delete all OST files and recreate the profile to have a test.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Is proxy user list dynamic?

    Hi all,
    I don't know if this post is in the right place. Think it is client (8.x) related...
    Situation
    We are currently about to begin moving a large number of users to newly created postoffices. The users will be moved from Groupwise 8.0.2HP3 to Groupwise 12.0.1 (Build Date: 09-06-12). In a test environment we've moved users from one post office to the other and the proxy user list seems to be static.
    Question
    Is there a way to change the proxy list automatically? I mean the one under the online button.
    Any help greatly appreciated.
    With kind regards,
    Joost Brenters
    CNV

    On 4/4/2013 6:26 AM, laurabuckley wrote:
    >
    > Hi Joost,
    >
    > To the best of my knowledge the proxy list is static. If you move a
    > user you will need to manually remove them from the proxy list and
    > re-add them. I find the same thing with multi-user calendars.
    >
    > Cheers,
    >
    >
    Laura is correct - it's static and tends to break with moves.
    There is no dynamic or gwcheck process that checks all of these and
    rebuilds a list. The proxy list merely represents a snapshot in time. It
    may be incomplete, and it may also include accounts that no longer
    exists or to which access has been pulled. Think of the proxy list as a
    browser bookmark list, and you'll get the idea.

  • DLU, Excluded/Included Users List

    Hi,
    we have problems using the "Excluded/Included Users Lists"-feature of DLU
    policies.
    This s what we are trying to do: Most of our ZCM-managed workstations should
    allow all eDirectory accounts to login; so we have a DLU policy without any
    "Login Restrictions" assigned to those devices. So far it works fine.
    Now we have one lab where only a subset of accouts should be allowed to
    login. We assigned a DLU policy with "Login Restrictions" to those devices.
    We want to put "Users" (=ALL accounts) into the "Excluded Users List" and a
    eDirectory group into the "Included Users List". But this does not work -
    some accounts could login, some not - but without any correlation to the
    eDirectory group.
    So for testing we simplified the scenario: only one single account is in the
    "Excluded Users List" - does not work, the account still can login. (DLU
    creates a local account which did not exist before the test.)
    My question: Is something wrong with how we try to do this? Should this work
    or is there a flaw in the idea?
    (ZCM 11 SP1, Windows 7 workstations with Novell Client and ZCM Agent, no
    Windows Domain)
    Thanks,
    Mirko

    I know people use it, because Novell is looking at some specific issues
    where certain loopback configurations cause it to not work.
    This is why I wanted to get loopback entirely out of the picture.
    On 2/16/2012 8:37 AM, Mirko Guldner wrote:
    >
    > Whatever I do or try - the results are totally unpredictable. Some Accounts
    > can login, some not, without any correlation to accounts and groups in the
    > "Included/Excluded Users List".
    >
    > What I really would like to know: Does somebody here use this feature, and
    > it works?
    >
    > Thanks,
    > Mirko
    >
    >
    > Mirko Guldner wrote:
    >
    >>
    >> I wasn't aware of the term "Loopback" in this context... but I guess you
    >> are refering to what is called "Policy Conflict Resolution" in ZCC?
    >>
    >> I tested it again with "Device Only" for the assignment of the DLU policy
    >> - no difference: the account in "Excluded Users List" still can login and
    >> gets a local user created.
    >>
    >>
    >> craig wilson wrote:
    >>
    >>> Check the Loop Backsettings on the Device.
    >>> That can be important, even if there are not duplicate policies.
    >>>
    >>> On 2/13/2012 11:11 AM, Mirko Guldner wrote:
    >>>>
    >>>> We have a total of 6 DLU Policies in the zone, including those only for
    >>>> testing - none of them is assigned by user, all are assigned by device.
    >>>>
    >>>> We also checked the "Assigned Policies", "Inherited"-tab for user and
    >>>> device, so I don't think there's possibly a problem multiple policies
    >>>> assigned.
    >>>>
    >>>> Thanks,
    >>>> Mirko
    >>>>
    >>>>
    >>>>
    >>>> craig wilson wrote:
    >>>>
    >>>>> Any Chance the User/Device combo is resulting in multiple DLU policies
    >>>>> being assigned/inherited and the other DLU policy is the one logging in
    >>>>> the user?
    >>>>>
    >>>>> On 2/13/2012 8:40 AM, Mirko Guldner wrote:
    >>>>>> Hi,
    >>>>>>
    >>>>>> we have problems using the "Excluded/Included Users Lists"-feature of
    >>>>>> DLU policies.
    >>>>>>
    >>>>>> This s what we are trying to do: Most of our ZCM-managed workstations
    >>>>>> should allow all eDirectory accounts to login; so we have a DLU policy
    >>>>>> without any "Login Restrictions" assigned to those devices. So far it
    >>>>>> works fine.
    >>>>>>
    >>>>>> Now we have one lab where only a subset of accouts should be allowed
    >>>>>> to login. We assigned a DLU policy with "Login Restrictions" to those
    >>>>>> devices. We want to put "Users" (=ALL accounts) into the "Excluded
    >>>>>> Users List" and a eDirectory group into the "Included Users List". But
    >>>>>> this does not work - some accounts could login, some not - but without
    >>>>>> any correlation to the eDirectory group.
    >>>>>>
    >>>>>> So for testing we simplified the scenario: only one single account is
    >>>>>> in the "Excluded Users List" - does not work, the account still can
    >>>>>> login. (DLU creates a local account which did not exist before the
    >>>>>> test.)
    >>>>>>
    >>>>>> My question: Is something wrong with how we try to do this? Should
    >>>>>> this work or is there a flaw in the idea?
    >>>>>>
    >>>>>> (ZCM 11 SP1, Windows 7 workstations with Novell Client and ZCM Agent,
    >>>>>> no Windows Domain)
    >>>>>>
    >>>>>> Thanks,
    >>>>>> Mirko
    >>>>>
    >>>>>
    >>>>
    >>>
    >>>
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • How to find out the user list that created by someone?

    Hi all:
    Now I want to develop a program that can find out the user list created by someone.
    such as :
    John create 3 user in SAP ,they are u1,u2,u3.
    Susan create 2 user in SAP , they are s1,s2.
    I input the the parameter such as John , the program can give me the list :u1,u2,u3.
    Could you tell me which table should I use in this program?
    Thanks .
    Elisa.

    Hi Ling,
    As per my understanding, you are looking for listing down the number of Users created by a particular users of the System. Like a System Administrator has created some 30 users. If this is correct, then you can use the table
    USR02 - Logon Data (Kernel-Side Use). This table has 2 fields which are of importance - BNAME - User Name in User Master Record & ANAME - Creator of the User Master Record. You can query the ANAME with the username of the system and you will get the resultant users.
    But I would reccomend to search the Table for a standard class, function module or RFC or BAPI so that you can reuse the same and need not to develop from the scratch.
    Hope this will help.
    Thanks,
    Samantak.

  • I have two users listed in my admin group. How do I get rid of one?

    I have two users listed in my admin group, but the undesired one doesn't show up in users and groups settings pane. How do I get rid of it?

    Well, I found a link which showed me how to find the hidden/unwanted user and get rid of it (remove hidden users: Apple Support Communities). Now when I get info from the drive on my network I find this:
    Is this normal? I would expect to find something other than (unknown).

  • Extract user list from NT 4.0 Domain

    Hi All,
    I am in the process of upgrading the NT4 domain to Active Directory.
    Can someone please provide a a way to generate a topology diagram for Windows NT infrastructure. 
    I know this is a very old technology, however i am now handicapped since none of the tools, like (hyena, AD Manager, DS Query, etc) are working. 
    Is there any method to run a topology diagramming similar to Active Directory Topology Diagramming in NT4.0 domain.
    Also i want a way to extract the active user list from NT Domain as well.
    OS version is windows NT 4.0 SP6
    Regards, Triyambak

    Hi Paul, Thank you for reverting it back. I think i do have one of the member server 2003 joined into the NT4 domain. I will surely give it a try. Does it need to be a DC, if yes, how can a DC be promoted in an NT4 environment.
    In my current scenario there are around 2000 servers joined into the NT domain  and I need to upgrade the NT to active directory. There are few things as per the design so far.
    >The members are all static IP addressing
    > there is no DNS in NT so they use a dns suffixes to a different domain (2008 functional level)
    > NT 4 is used only as authentication source.
    > Not sure if there are any NT Domain service accounts configured in the member servers.
    Complex isnt it..

  • How to get Active users list in Essbase 6.5.6

    Hi Gurus,
    How to get Active users list in Essbase 6.5.6 version
    I dont find any Esscmd to find active users list....
    i used LISTLOGINS command in ESSCMD but its not helping me out....
    pls suggest me some approach to find active users list.
    Thanks in advance....

    Hi  ,
    Display sessions will give only active users details which are currently connected to the ESSBASE .
    if you need this list ? or  you need the  total list of   security  active users list ?
    if you need the currently connected to the ESSBASE
    if you check  one server  At a time  or you can check the application level also
    1)server level
    display  session all;
    2)application level
    display session on application  'application name ';
    go for the  run command ---> essmsh----->  login;----->enter user name ----> enter password----->enter host (like server name )  then you need to you   above  1 &2  commands
    Thanks,
    suresh

Maybe you are looking for

  • I changed my password for wifi connection and now my wifi won't connect.

    I have an Osprey mini. Last night I needed to connect a new device to the wifi but couldn't find the card with the network password, so I got to my account online and changed the password. But when I try to connect, it says the password is incorrect.

  • Visualizer image shifted to left

    When I run the visualizer the image is shifted about an inch or so to the left so I have a black bar at the right of the monitor and the song titles on the left are cut off. I apologize in advance, I have seen the solution here before but I forgot an

  • ColdFusion MX 7 Server will not start

    Someone out there surely must operate an Mac with ColdFusion MX 7 loaded. My problems is this...I loaded the OS X version of ColdFusion MX 7 in my MacBook Pro running OS X (10.4), and it installed without error. But when I go to start the server, it

  • How to install zen vision m on windows server 20

    Hi I am unable to install zen vision m drivers on windows server 2003. anyone knows y or has related links or supported drivers? Thanks. Regards csbear

  • Linksys WRT54G interferance with Wireless Security

    I searched the site and didn't see this type of problem, but I have a brand new WRT54GS with speedbooster.  Setup and works great.  Today I plugged in a Chamberlain wireless vehicle alert in my home, the result was my wireless internet connection was