Query to get  Forms User Session

Can any one suggest what is the SQL query to get the detail of the user session(Forms) in 10G Application Server Rel 2?

How EM takes the IP address of user in the user_session of forms?
Is there any table that it takes from?
Thanx

Similar Messages

  • How to find and kill session similar to forms user session

    We have a forms and reports based system that uses the oracle sessions. Sometimes if a form takes a long time we have the need to navigate to iAS>Forms>User Sessions, find the IP of the machine where the form is not responding and kill it based on the IP of the troublesome machine.
    I want to add this into our forms environemnt so people can kill their own sessions if need be but not sure how this is handled
    is it a simple alter system kill session in the db or something different.
    also how is the ip found to match the session?
    Thanks

    hi,
    Instead Set session timeout parameters..So that user gets logged off automatically from the application after a particular interval of time
    For this you have to make changes in httpd.conf file,web.xml file and env file
    Regards
    Fabian

  • Long delay for ManagedEventWatcher __InstanceCreationEvent query as number of user sessions increases

    We have a Windows service that monitors for process start events and sends notifications to client applications.
    We have discovered that the delay between when a process starts and when our EventArrivedEventHandler is called gets excessively long when the number of user sessions on the Windows server gets to about 80.
    The delay gets worse as the number of user sessions gets higher.
    The delays are not consistent. Even with 100 sessions some observed delays are short but most are too long and the maximum observed delay grows with the number of sessions.
    Here is one example of the delay we are seeing.
    A client application wrote its first log record to its log file at 11:05:34.076. Our EventArrivedEventHandler did not get notified of the process start event for the client application until 18 seconds later (at 11:05:52.188 ).
    We need the delay to be less than 5 seconds to be tolerable and would like the delay to be less than 3 seconds if possible.
    Is there something we can do to reduce the delay? Below are the details of our use of WMI.
    We are using an instance of class WqlEventQuery to represent a WMI event query in WQL format.
    We are constructing an instance of ManagementEventWatcher to consume events asynchronously.
    Below is how we are instantiating and running the query. Variable m_PollingIntervalInMilliseconds is set to 1000 by default.
                    WqlEventQuery query = new WqlEventQuery("__InstanceCreationEvent", new TimeSpan(0, 0, 0, 0, m_PollingIntervalInMilliseconds), "TargetInstance isa \"Win32_Process\"");
                    m_ManagementEventWatcher = new ManagementEventWatcher(query);
                    m_ManagementEventWatcher.EventArrived += new EventArrivedEventHandler(managementEventWatcher_EventArrived);
                    m_ManagementEventWatcher.Start();
    Our Windows service is not the only user of WMI services on the server. I do not know if there is contention with other users of WMI services or if there is something about the way we are consuming WMI services that is inefficient.

    Hello RossAtWFMC,
    It seems that the services are working with a complex environment, and currently, we do not have such an environment which could reproduce this issue you described. Anyway, I would like to share whatever I found and some suggestions about this issue:
    >> called gets excessively long when the number of user sessions on the Windows server gets to about 80.
     The delay gets worse as the number of user sessions gets higher.
    This seems to show that the issue is related with the number of user sessions, it may be that when with lots of user sessions, there are something additional delay the event to be fired. As you mentions, there are other services on that server machine, if
    possible, you could make a test to run your WIM service only to see if it is still delayed.
    >> Is there something we can do to reduce the delay?
    I suggest that you could check this blog below which provide a way to debug with the .NET course code:
    http://blogs.msdn.com/b/dotnet/archive/2014/02/24/a-new-look-for-net-reference-source.aspx
    So that you could know which method inside costs most time.
    From your provided code, it is not very clear if you use multi threads in your service, if not and your event handler is short, you could have a try with it, and there is a discussion about this topic:
    https://social.msdn.microsoft.com/Forums/en-US/13f30e33-7f61-498e-a91a-ef982a63453c/event-handling-in-multithreaded-apps?forum=netfxbcl
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Query to get the user profile

    Hello
    I would like to know the query to get the complete user profile, for example the user password, all the privileges it has, etc
    Thank you

    Go to tahiti.oracle.com
    Drill down to your selected product and version
    There, find the complete documentation set
    There, find the find Reference Manual
    There, find a complete description of all the data dictionary view.
    Browse through the names of those view for something that looks like a likely candidate (thing with "user" or "priv" in the name)
    Edited by: EdStevens on Oct 23, 2009 8:20 PM

  • Query to get the User who updated BP Catalog No. for an Item.

    Hi experts,
    I am trying to get the user id who updated BP Catalog No. for an Item. BPCatalog Number details are available in OSCN table. There is no BPCatalog No. field available in ItemMaster OITM, or in ItemHistory AITM. Also, I searched for history table of OSCN. I could not find it.
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi,
    Thanks for your quick response and reply.
    Regards,
    Parvatha Solai

  • SQL query to get the current session info

    I've a query in my application to view the all the sessions within database
    select
    substr(a.spid,1,9) pid,
    substr(b.sid,1,5) sid,
    substr(b.serial#,1,5) ser#,
    substr(b.machine,1,6) box,
    substr(b.username,1,10) username,
    -- b.server,
    substr(b.osuser,1,8) os_user,
    substr(b.program,1,30) program
    from
    v$session b,
    v$process a
    where
    b.paddr = a.addr
    and type='USER'
    order by spid;
    Can someone help me with a query to view the info of the session where I'm in currently?
    Thanks,
    Gabriel Stephen.

    here's one way to do it.
    select
       substr(a.spid,1,9) pid,
       substr(b.sid,1,5) sid,
       substr(b.serial#,1,5) ser#,
       substr(b.machine,1,6) box,
       substr(b.username,1,10) username,
       -- b.server,
       substr(b.osuser,1,8) os_user,
       substr(b.program,1,30) program
    from
       v$session b,
       v$process a
    where
       b.paddr = a.addr
       and type='USER'
       and b.sid=(select sid from v$mystat where rownum=1)
    order by spid-------------
    Anwar

  • Ldap query to get the users of a OU

    Hi,
    I want to get the available users into a OU and the query I'm using is like this:
    (OU=Departamento Informatica,DC=mydomain,DC=com)
    There is a user into this OU so when I do the LDAP test query the user shuld be returned but the result is 0.
    Can anybody help me or tell me which must be the correct query?
    Thanks in advance.
    Regards.

    This can be done either by dsquery or Powershell commands (Like
    Get-ADUser).
    For dsquery, I would recommend that you refer to this Wiki article initiated by Richard for more details about LDAP filtering: 
    http://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filters-en-us.aspx
    dsquery * "OU=TargetOU,DC=CONTOSO,DC=COM" -filter "(&(objectcategory=person)(objectclass=user))"
    For Get-ADUser, all you need is to specify your OU as the search base:
    Get-ADUser -SearchBase "OU=TargetOU,DC=CONTOSO,DC=COM" -Filter *
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • Query to get which user assign to what group in OID

    Hi All,
    Can you please help me out to get the details of users assigned to which groups in OID.
    I required sql query for the same.
    Please suggest for such query.
    Thanks-
    P

    You will use LDAP queries, not SQL.  You can query the objectclass of the group and the attribute with the multi value entry for the user.  Example:
    (&(objectclass=groupofuniquenames)(memberof=*)) ->  This will show you all groups that have members.
    (&(objectclass=groupofuniquenames)(memberof=cn=Joe Schmoe,cn=Users,dc=location,dc=com))  ->  Will show you all the memberships a specific user has.
    -Kevin

  • Write a query to get the users those are not appliyed for the exam?

    hi frz i have two tables like User,UserHistory
    User table contains clmns--Uid,Uname
    UserHistory contain columns--Uid,Course,Status.
    so i want to write a query to find out those are not applied for the particlur course i want to found only those records from the two tables...

    Hello,
    The SQL Server forums are over here:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Query to get users using a Form

    Hi All
    I would like to build a query to get all users who is having access to a form. I could get the cases
    where there is no submenus. But how can I handles cases were submenus also there. Please help. I have checked
    the other posts in this forum. But none is giving a possibility of giving single query for this.
    Kindly help.
    Version 12.1.3
    Thanks,

    I guess my question was confusing.
    I build a query like this to getthe information, but it will work only if the function is attached directly to the main menu. It will not work incase of submentus.
    SELECT distinct usr.user_name FROM
    FND_FORM_VL form,
    FND_FORM_FUNCTIONS_VL func,
    FND_MENU_ENTRIES_VL menu_l,
    FND_MENUS_VL menu_h,
    FND_RESPONSIBILITY_VL resp,
    FND_USER_RESP_GROUPS_DIRECT usr_resp,
    FND_USER usr
    WHERE func.form_id = form.form_id
    AND menu_l.FUNCTION_ID = func.FUNCTION_ID
    and menu_h.MENU_ID = menu_l.menu_id
    and form.form_name = :FORM_NAME
    and resp.MENU_ID = menu_h.menu_id
    and usr_resp.responsibility_id = resp.responsibility_id
    and usr.user_id = usr_resp.user_id ;

  • Forms max user session 11gR2

    Hi,
    I have three simple questions, can anyone help me to find out the answers.
    What is the max user session for oracle forms 11.1.2.1 version?
    If the max user sessions limit reached how can we handle it?
    How can i get max user session for forms 11.1.2.1 version through sql code?
    Thank You!
    Dilli Babu. S

    What is the max user session for oracle forms 11.1.2.1 version?
    How can i get max user session for forms 11.1.2.1 version through sql code?
    Not sure what you mean by "max user session", but since you mention sql code, then I have to think that you mean database sessions. If so, you can check out SESSIONS parameter :
    SQL> sho parameter sessions
    If you mean something different, please clarify.

  • Monitoring user session in vCloud.

    Hi,
    How i can get amount user sessions which connecting to Web interface or VMRC?
    Netstat and similar tools show TCP "streams", but one user generate  > 1 "stream".
    If i use AMQP, i can see notification about user login, but no notification about logout.
    I have tried use JMX, API, netstat, but did not reach the result.
    Any ideas?

    The following parameter is set to 0 by default (installation), change it to 1. The following is from the formsweb.cfg file:
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=1

  • Number of user sessions in the Application Server for a config entry

    Hi All
    I am using 10g AS, with 9i DB.
    My requirement is that -
    i need to find the total number of users of the application in any moment, and to
    display that information to the users. say, config=abc, super users need to find all
    those who are using the link from the application itself.
    I can see that information from the 10 g Enterprise Manager -> Forms -> User Sessions.
    But is there any means of transfering that information to forms.
    Can this be done by using PJC's ?
    Please post your solutions/suggestions
    Thanks in Advance
    Deepa

    Any help/ideas Please
    Deepa

  • Query for Last page visit by user/session and get version # of current page

    Hi Guru's,
    Any have a query to retrive last page visited by user / session? Somewhere from apex view fir 3.0 or later version? Also looking for query to get version number of current page

    RequestCtx.getResponsibilityId() should return you the Responsibility Id &
    RequestCtx.getUserId() should return the User Id.
    As I understand RequestCtx values are always available in the JSP Page. Kindly check again.

  • Get a insert session value for SQL query at report

    Hi friends
    I created a global temp table and procedure to support web search form.
    and a search result report. The procudure
    gets search result from multip tables and
    insert into temp table --recordsearch. I can get value from temp table  by call procedure
    at SQL*Plus.
    However, I can not get this value by web report.
    How can I get this insert session value and pass to SQL query for report?
    Thanks,
    Newweb
    CREATE GLOBAL TEMPORARY TABLE recordsearch
    (emp_id          VARCHAR2(200),
    ssn               VARCHAR2(9),
    fname          VARCHAR2(200),
    lname           VARCHAR2(200),
    m_name          VARCHAR2(200)
    ) ON COMMIT PRESERVE ROWS;

    it possible that your web form does not have a persistent, dedicated connection. if you have connection pooling for example, multiple sessions will see the same instance of the GTT, so if one deletes it, then nobody sees it (or you can see others data). if the connections are not persistent, then they can disconnect between calls, deleting the GTT table.

Maybe you are looking for

  • Grid line problem with linked Excel files

    I am trying to import and Excel spreadsheet to InDesign, but even when I clear grid in Excel it is still imported with grid lines.  I can't figure out how to clear them off while still having the spreadsheet correctly linked. This seems like an issue

  • Problems with email calendar invites...

    Hopefully I can explain this in a simplified manner. I use my own domain for email services going back almost 8 years. Under this domain, Our entire family uses the email addresses (2 adults, 2 kids) associated with the domain. Each email address hav

  • Automated process from probationer to Permanent after six months

    Dear All, We have employee sub group called Trainee, Probationer, Permanent etc. Client required to change the subgroup automatically from probationer to permanent after six months. I told them it's possible, but I don't know how to do it. Can any on

  • Intermittent  Error Running Report

    I have an intermittent issue with the WPF report Viewer.  I run a report and get the window open with the busy circle as per normal but then there is a  Invalid report file path error appearin, then a blank report is shown in the viewer.   If I run t

  • Export error - expdp

    Hello gurus... DB v: 11.2.0.3 expdp file estimation: 70GB Excludes: 500 tables Using parfile Target: Schema refresh I am trying to export schema excluding 500 odd tables with expdp estimation of 70GB dump file size.. created temp table listing all ta