How to get real time information about how many user are logged in and thei

I use tomcat as my server platform in Ubuntu for a war file.
I know in order to get real time information about how many user are logged in, we can count how many active sessions exist by a SessionCounter code. However, I have to permit HttpSessionListener in web.xml of tomcat. From other users' experiences, the configuration is complexed and has some errors.
Here's the link:http://www.stardeveloper.com/article...1112001&page=1
In order to get users' ip, in jsp, use request.getremotehost() or
request.getremoteaddress() by editing the jsp file.
I wonder if there's some open source software to use for these two purposes.
Thank you!

That url is missing a few bits. The ... in the middle doesn't help.
we can count how many active sessions exist by a SessionCounter code.
However, I have to permit HttpSessionListener in web.xml of tomcat.
From other users' experiences, the configuration is complexed and has some errors.And have you tried it? The configuration isn't that complex.
What errors do you mean? Errors in tracking people, variance in the count? Probably related to internet issues and nothing you can do will alleviate them.

Similar Messages

  • How to check ,how many  users are logged in and logged out in oracle ebs 11i/R12.

    Hi Experts,
    Kindly let me know
    how to check ,how many  users are logged in and logged out in oracle ebs 11i/R12.
    Also, in the database level too ,Do we need to write any trigger for this?
    Thanks in advance.

    Hi,
    How to check ,how many  users are logged in and logged out in oracle ebs 11i/R12.
    Please check the following links:
    Oracle EBS - Number of Users logged into EBS / Oracle Applications currently
    List all users currently logged in on Oracle EBS
    Also see forum Search:
    Forum Search: Logged In EBS User
    Also, in the database level too
    Please see:
    https://forums.oracle.com/message/9225094#9225094
    Do we need to write any trigger for this?
    Yes you may, But I personally suggest you not to do so as it may affect performance.
    Thanks &
    Best Regards,

  • Is there a way to find how many users are logging on to my site?

    Is there a way to find how many users are logging on to my site at a specific time?
    Thanks in advance..

    Is it possible to use an EJB3.1 Singleton beans for this too? (instead of the application context)
    Or will this create a bottleneck because of the standard write lock? It wouldn't be thread safe to provide a read lock on a user_counter increment method?

  • How to get the Login Id (UPI) of the user who logged in the system?

    hi,
    I'm having a webdynpro application. In which i want to get the values from the R/3 based on the user who logs in.
    so i need to get the UPI(login id) of the user who logs in. how to get the UPI of the user who logged in??
    please help me out with the detailed procedure.
    Thanks & Regards,
    Suresh

    Hi Suresh,
    Try the following code.
    ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
                      IUserFactory usf = UMFactory.getUserFactory();
                      IUser iuser = null;
                      IUserListElement userElement = null;
                      int i = 0;
                      while (rst.hasNext()) {
                            iuser =
                                  UMFactory.getUserFactory().getUser(rst.next().toString());
                            String email = iuser.getEmail();
                            String fname = iuser.getFirstName();
                            String lname = iuser.getLastName();
    I have already used this code for the similar requirement.
    regards
    Anil

  • How to get real time date from Sunny Boy Inverters through SMA Webbox?

    Hello,
    I was looking on how to communicate with three Sunny Boy Inverters that are linked to a SMA webbox. Currently we get a daily summary of the solar production, but we would like to have real time data uploaded into LabVIEW. The people of SMA said that I needed to use "RS485 protocols" with a software they have called YASDI (http://www.sma.de/en/products/software/yasdi.html); however, I keep finding other information that says that I can communicate with my inverters using the SMA OPC server (http://www.sma-america.com/en_US/products/software/sma-opc-server.html). I also found this forum, http://forums.ni.com/t5/LabVIEW/Sunny-Island/m-p/809129/highlight/true#M368718, where I understood that I don't need to use the OPC server, but instead I can use UDP communication to get the data. I found another forum that talks about using the YASDI :http://forums.ni.com/t5/LabVIEW/help-with-Sunny-Boy-inverter/m-p/293273/highlight/true#M153892. 
    I've tried to communicate with the people of the forums and I haven't gotten any responses; therefore, I wanted to see if I can get cleared up on this issue. Do I need to use OPC server to communicate with my inverters through the webbox or can I just use UDP in LabVIEW?
    Any help would be greatly appreciated,
    Thanks
    Jose

    Hello,
    I got a response from Vincezo: http://forums.ni.com/t5/LabVIEW/Sunny-Island/m-p/1794786. I'm currently working with the VI to communicate with the webbox through UDP. Since the PRC protocols to communicate with the webbox are in JavaScript Object Notation (JSON), I'm not sure if the data-in string has to be in JSON format. However, the only error I'm getting is 56 in the UDP read function. I've tried increasing the size of the bytes and timeout, but I keep getting this error. If anyone can help me with this part I would very grateful. 
    Thanks,
    Jose

  • Can't figure out how to get real time.

    JUST got FCE 4.0, I've been a long time Sony Vegas user, so allot of this is really new to me.
    What I can't figure out is, why I have to render my project to view it on the canvas? I haven't even applied any FX to the clip and I still can't watch it in real time. I've tried .mov and .m4v with the same results.
    What am I doing wrong?
    Thanks gang
    ~max

    Some aspect of the exported QuickTime file doesn't match the sequence settings you've chosen in your FCE Easy Setup. That's why rendering is needed.
    If you exported a DV Stream from iMovie, that's part of the problem. A DV Stream blends the audio and video into a single multiplexed file; FCE separates audio and video.
    I have no direct experience with AVCHD, so can't help you with those specifics. Suffice it to say that if your imported QuickTime files match your sequence settings, you won't have to render them.

  • How to get the Time Stamp if we use User Status

    Hi Gurus,
    We used User Status to control several Orders. Now we are required to get the "time stamp" when we change from one status to another, is that information available in the system?
    If not, how do we get the time when a user status is changed from one to another?
    please advice,

    Hi,
    To check such kind of changes you have to follow below path,
    Go to Status tab (Blue Ikon) --- >Extra -> Change Documents-> All- --- > Choose All Changes
    SAP note 390635 provide the possibility to write change records for process and production orders as modification.
    please refer this link also,
    [Link|https://www.sdn.sap.com/irj/sdn/profile?userid=3781605]
    Regards,
    R.Brahmankar

  • How to get view's information about referenced columns in tables

    Hello all,
    I was searching for DBA view in Oracle DB that shows info about view. Especially, I want to find information for every column in a view - from which table is that column and what is its original column name. Is that possible at all?
    Thanks in advance!

    Hi Ivansev,
    How about this?
    select dbms_metadata.get_ddl('VIEW',<view_name>,<owner_of_view_default_current>) from dual; Example:
    SQL> set long 4000
    SQL> select  dbms_metadata.get_ddl('VIEW','V1','USER1') from dual;
    DBMS_METADATA.GET_DDL('VIEW','V1','USER1')
      CREATE OR REPLACE FORCE VIEW "USER1"."V1" ("EMPN") AS
      select ename empn from scott.emp
    SQL>

  • Need to know the API which will extract how many users are added in group..

    Hello,
    I am working in Oracle Portal. In the portal we have Oracle Indentity Management where we are adding users as well as the group. We are looking for an API which helps us to do that from PL/SQL code. We got it but we have some issue. We know that how to create group, add users to group, delete users from group, delete group but we unable to get how many users already added to the group. Can anybody help me out in this case. It is urgent!
    Thanks
    Golak Saha

    Hi,
    How to check ,how many  users are logged in and logged out in oracle ebs 11i/R12.
    Please check the following links:
    Oracle EBS - Number of Users logged into EBS / Oracle Applications currently
    List all users currently logged in on Oracle EBS
    Also see forum Search:
    Forum Search: Logged In EBS User
    Also, in the database level too
    Please see:
    https://forums.oracle.com/message/9225094#9225094
    Do we need to write any trigger for this?
    Yes you may, But I personally suggest you not to do so as it may affect performance.
    Thanks &
    Best Regards,

  • Ldap - how to check how many users are connected?

    Hi Guys,
    Please help me.
    We have iPlanet installed using LDAP. I want to check in ldap console that how many users are connected currently and monitor that.
    please tell me how can i do it
    thanks

    Hi Noor,
    Thank you for posting in Windows Server Forum.
    From your description I can understand that you want the user name with app they have in their session.
    You can achieve with below command.
    Query process User name
    Displays information about processes running on a terminal server. You can use this command to find out which programs a specific user is running, and also which users are running a specific program.
    More information:
    Query process
    http://technet.microsoft.com/en-us/library/bb490798.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • How can I find out which portal users are logged in portal?

    Hi
    I need to know where can i find information about which portal
    users are currently logged in to portal. Are there any api or
    built-in functions which will help me find out this information?
    Thank you for your immediate help!!

    I too would like to find out which users are loggeg on. We need
    to restrict users to one login or session if possible.
    Thanks,
    Tom Henricksen

  • How I get a Information about how many Scheduling agree

    Dear friend,
       Can any one tell me a process ,How I get a information about how many scheduling agreement or Schedule lines created with in given time.Any standard tcode available  ?
    Regards
    Abrar AHmed

    Dear Abrar
    - To see how many scheduling agreement is created for a given period, use VA05, click on [Further sel criteria] and tick the box against [Sales Document type]  Now input the scheduling agreement type and execute.  You will get list of all scheduling agreements created within the specified period.
    - You can see how many line items are created in a sale order for a given period via VA05.
    thanks
    G. Lakshmipathi

  • How can I get/Catch the information about Trigger firing?

    How can I get/Catch the information about Trigger firing?

    I am running one application (backend is Oracle) and have written one trigger, which will insert one row in two tables depending on user event (After Update Trigger).
    I want know last fired Trigger Information.
    Thanks

  • How to Integrate real time data between 2 database servers

    How to Integrate real time data between 2 database servers
    May 31, 2006 2:45 AM
    I have a scenario where the data base (DB2 400) is maintained by AS 400 application and my new website application based on j2ee platform access the same database also but the performance is very low. So we have thought of introducing new oracle data base which will be accessed by j2ee application and all the data from db 400 database will be replicate to oracle data base. In that scenario the only problem is of real time data exchange between 2 databases. How do we achieve that considering both the application As400 and j2ee website application are running in parallel and accessing the same information lying on DB2 400 database. We have to look at transaction management also.
    Thanks
    Panky
    DrClap
    Posts:25,835
    Registered: 4/30/99 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:16 AM (reply 1 of 2)
    You certainly wouldn't use XML for this.
    The process you're looking for is called "replication". Ask your database experts about it.
    I predict that after you spend all the money to install Oracle and hire consultants to make it replicate the DB2/400 database, your performance problem will be worse.
    panks
    Posts:1
    Registered: 5/31/06 Re: How to Integrate real time data between 2 database servers
    May 31, 2006 11:55 PM (reply 2 of 2)
    Yeajh I now that its not a XML solution.
    Replication is one of the option but AS400 application which uses DB2/400 DB is highly loaded and proposed website also uses the same database for retrieval and updation purpose.All the inventory is maintained in the DB2/400 database so I have thought of introducing new oracle database which will be accessed by new website and it will have all the relevant tables structure along with data from DB2/400 application. Now whenever there is a order placement from new website then first it should update the oracle database and then this data shuold also migrate to db2/400 application at real time so that the main inventory which is lying on db2/400 should be updated on real time basis because order placement is aslo possible from As400 application. So the user from As400 application should not get the wrong data.
    Is it possible to use MQ products??
    -Panky

    Hi,
    the answer to your question is not easy. Synchronization or integration or replication data between 2 (or more) database servers is very complicated task, even though it doesn't look like.
    Firstly I would recommend to create good analysis regarding data flow.
    Important things are:
    1) what is primary side for data creation. In other words on which side - DB2 or Oracle - are primary data (they are created here) and on which side are secondary data (just copies)
    2) on which side are data changed - only in DB2 side or only on Oracle side or on both sides
    3) Are there data which are changed on both side concurrently? If so how should be conflicts solved?
    4) What does it mean "real time"? Is it up to 1 ms or 1s or 1 min or 1 hour?
    5) What should be done when replication will not work? I mean replication crash etc.
    BTW. The word "change" above means INSERT, UPDATE, DELETE commands.
    Analysis should be done for every column in every table. When analysis is ready you can select the best system for your solution (Oracle replication, Sybase replication server, MQ, EJB or your proprietary solution). Without analysis it will be IMHO gunshot into the dark.

  • How to get real value from selectOneChoice with javascript?

    Hi,
    How to get real value from selectOneChoice with javascript? The event.getNewValue() only gets me the index of the selected item, not the value/title.
    JSF page:
    <af:resource type="javascript">
    function parseAddress(event)
    alert("new value: " + event.getNewValue());
    </af:resource>
    <af:selectOneChoice label="Location:" value="" id="soc4">
    <af:clientListener type="valueChange" method="parseAddress" />
    <f:selectItems value="#{Person.locations}" id="si7"/>
    </af:selectOneChoice>
    HTML :
    <option title="225 Broadway, New York, NY-10007" selected="" value="0">225 Broadway (Central Office)</option>
    <option title="90 Mark St., New York, NY-10007" value="1">90 Mark St. (Central Office)</option>
    Thanks a lot.

    Something I was missing ,
    You need to add valuePassThru="true" in your <af:selectOneChoice component. I have personally tested it and got the actual value in alert box. I hope this time you got the real solution. You can also test the following code by your end.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelBox text="PanelBox1" id="pb1">
    <af:selectOneChoice label="Set Log Level" id="soc1"
    value="#{SelectManagedBean.loggerDefault}"
    valuePassThru="true">
    <af:selectItem label="select one" value="First" id="s6"/>
    <af:selectItem label="select two" value="Second" id="s56"/>
    <af:clientListener method="setLogLevel" type="valueChange"/>
    </af:selectOneChoice>
    <af:resource type="javascript">
    function setLogLevel(evt) {
    var selectOneChoice = evt.getSource();
    var logLevel = selectOneChoice.getSubmittedValue();
    // var logLevelObject = AdfLogger.NONE;
    alert("new value is : " + logLevel);
    //alert(evt.getSelection);
    //alert(logLevelObject);
    evt.cancel();
    </af:resource>
    </af:panelBox>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

Maybe you are looking for

  • Table control as non editable

    Hi experts,                 I need make my table control as noneditable for a specific transaction after fetching values. i did till fetching part and displaying in table control. but its diplaying as editable field. i need to make that as non editab

  • Function "No. of rows" in Table

    I cannot select "no. of rows" in a table, so always all rows are displayed at one page. What can I do to enable this function?

  • IPhoto 09 face recognition

    I would like to know if the iPhoto 09 face recognition feature is ON by default and can't be switched off even if we feel we don't need it. The reason I ask is that, after a year of Leopard, I am really exasperated at this Spotlight regularly monopol

  • Maps app button has disappeared?

    Hello, I hope there is someone out there that may be able to help? I have a new iphone and the maps app button has disappeared? When i search the phone, i can find maps and it works fine, but how do i get my little button back on my screen. (yes i've

  • Setting Useraccountcontrol to 512 in AD failed

    HI, I m trying to set useraccountcontrol of AD to 512 using VBscript (with password set) and it got failed with message "Object not supported". I m able to set 514 though. FYI..my IC machine and AD machine are in 2 different domains I remember that w