Script to Determine Users Connected to Oracle Apps and For Imitating Users

I found this great script (Note:430948.1 on Metalink) to track users connected to the E-Business Suite.
My colleague though noticed that users who had shut their browsers without logging off or those users who had 'timed out of their session' would still come back in the report.
He wanted an accurate measure of who was in fact using the e-Business suite.
We took the original query and added the last line (below). It basically takes the ‘last connect’ time and adds 60 minutes to it to figure out who is ‘validly’ still connected.
select distinct ic.disabled_flag, fu.user_name User_Name,fr.RESPONSIBILITY_KEY Responsibility, fu.user_name,fu.user_id, fu.description, fu.employee_id,
ic.responsibility_application_id, ic.responsibility_id, ic.org_id, ic.function_type, ic.counter, ic.first_connect, ic.last_connect,
ic.nls_territory, ic.time_out, fr.menu_id, fr.responsibility_key
from apps_fnd.fnd_user fu,
apps_fnd.fnd_responsibility fr, apps_fnd.icx_sessions ic
where fu.user_id = ic.user_id AND
fr.responsibility_id = ic.responsibility_id AND
ic.disabled_flag='N' AND
ic.responsibility_id is not null AND
ic.last_connect > sysdate - (ic.time_out/60)/96
Can anybody see any issues with this query? or a better way to do this?
It looks like Oracle runs a clean up script to wipe out sessions after a certain amount of time so they are no longer active sessions - so this works around that.

From my Exchange Server in an Exchange PS session:
Name        : Admin Audit Log Agent
Enabled     : True
Priority    : 255
WhenCreated : 6/15/2012 9:54:46 AM
WhenChanged : 6/15/2012 9:54:46 AM
Name        : Scripting Agent
Enabled     : False
Priority    : 6
WhenCreated : 6/15/2012 9:54:46 AM
WhenChanged : 6/15/2012 9:54:46 AM
Name        : OAB Resources Management Agent
Enabled     : True
Priority    : 5
WhenCreated : 6/15/2012 9:54:46 AM
WhenChanged : 6/15/2012 9:54:46 AM
Name        : Provisioning Policy Agent
Enabled     : True
Priority    : 4
WhenCreated : 6/15/2012 9:54:46 AM
WhenChanged : 6/15/2012 9:54:46 AM
Name        : Mailbox Creation Time Agent
Enabled     : True
Priority    : 3
WhenCreated : 6/15/2012 9:54:46 AM
WhenChanged : 6/15/2012 9:54:46 AM
Name        : Mailbox Resources Management Agent
Enabled     : True
Priority    : 2
WhenCreated : 6/15/2012 9:54:46 AM
WhenChanged : 6/15/2012 9:54:46 AM
Name        : Rus Agent
Enabled     : True
Priority    : 1
WhenCreated : 6/15/2012 9:54:46 AM
WhenChanged : 6/15/2012 9:54:46 AM
Name        : Query Base DN Agent
Enabled     : True
Priority    : 0
WhenCreated : 6/15/2012 9:54:46 AM
WhenChanged : 6/15/2012 9:54:46 AM
The output is the same from my workstation after loading the PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
Rob Smura, MCSE

Similar Messages

  • Using Oracle Apps Adapter for apps_applcon user

    Hi,
    We are trying to use oracle apps adapter for our BPEL flows using FM11g (Jdev11gR1). We came to know that it will work for only apps user.
    We have apps_applcon user. How can we use that?
    Is there any way we can tell oracle apps adapter to user apps_applcon user?
    Any help would be greatly appreciated.
    Thanks in advance.
    Thanks & Regards,
    Rama Krishna. P

    We also have same requirement. We have BPEL connection using custom oracle user, xx_b2b and when we use APPS adapter, I can not see and use any business event.
    If anybody across same requirement, please share your experience.
    Appreciate help on this.
    Thanks,
    Sonartori

  • Error Running Oracle Apps and Discoverer at the same time

    Hello,
    We are having trouble running Oracle Apps and Discoverer at the same time on certain user's machines. Here are the specifics:
    The user opens Oracle Apps in Internet Explorer. The user then opens Discoverer in another Internet Explorer windows and receives the following error: Runtime Error! Program: C:\Program Files\Internet Explorer\iexplore.exe abnormal program termination
    As a work around, I installed Firefox on those user's machines. These users run Oracle Apps in Internet Explorer and run Discoverer in FireFox. This has solved the problem in 99% of the cases. However, there is one user who is having FireFox using Discoverer freeze when running Oracle Apps in Internet Explorer.
    Can anyone provide any insight on how I can solve these conflict issues so users can run Oracle Apps and Discoverer at the same time?
    Thanks in advance for your help,
    Carlos

    Hi Michael,
    I agree with you completely. It is reccommended to run 10g on a separate physical server unless you have sufficient resources to run on the same server (which even most large clients do not) Even then, I would recommend a separate server.
    I should have put my comment in context :-)
    a.) I was only stating that it was possible
    and
    b.) whether 10g is installed on the same physical server or separate should not affect the client browser crashing issue that was posted.
    I do have an install with EBS11i and Discoverer 10g on the same physical server and it works fine (this is sandbox/ TEST). Most of my large customers have 10g installed on multiple physical servers due to load balancing (capacity).
    I do work for Oracle. I try to help out on the forum when I can, but it is hit or miss :-(
    I would be glad to discuss anything privately.
    As for the issue at hand, I can reproduce the problem and here is what is occuring.
    I have EBS 11i configured with Jiniator 1.3.24
    I have Discoverer 10g configured with Sun Java plugin 1.4.2_06
    1. If you launch EBS 11i apps and a form with MS IE, then the browser launches the form using Jiniator JRE 1.3.xx (whatever you have configured in AutoConfig for EBS11i)
    2. Next, the user navigates to EBS 11i SSWA and launches a Discoverer workbook.
    What occurs is a child IEXPLORE.exe process is spawned from the parent IEXPLORE.exe process and Discoveer Plus is launched. The parent iexplore.exe process will be attached to the Jiniator JVM. Now if Discoverer is configured with
    a.) Sun Java Plugin or
    b.)a version of Jinitiator that is a different version from what EBS 11i is configured with
    then you may get this conflict.
    It really is an MS IE/JRE conflict with Jinitiator and Sun Java Plugi and the way the broswers attaches to the JVM (IMHO) as this behaviour could be reproduced with other non-oracle java applets.
    You can workaround the situation by:
    a. configure EBS11i and Discoverer to use the same version of Jiniator 1.3.xx
    b. educate the users to open one MS IE browser to connect to EBS11i and then open a second MS IE browser to login to EBS11i SSWA or Discoverer 10g Plus directly to launch workbooks. They need to to this by clicking on the icon and not using File >> New browser. Clicking on the icon will spawn a new parent iexplore.exe process that can attach to a second/different JVM. File >> New Window will spawan a child of the parent.
    c. As you did use two browser versions. MS IE for EBS11 connection and FireFox for Disocverer 10g connection.
    I would choose optoin b, so that you can use Sun Java Plugin with Discoverer.
    Open to any comments. I hope that helps you workaround the problem. The ideal solution is to have EBS 11i use/cerified with the 1.4 or 1.5 JRE. In poking around, I see there is a related post to this on one of Oracle's EBS 11i Product Managers Blog.
    See:
    http://blogs.oracle.com/schan/2006/04/18#a23

  • No. of users connected to oracle

    Hi everyone,
    How to find out howmany users connected to oracle?

    http://download.oracle.com/docs/cd/B19306_01/server.10
    2/b14237/dynviews_2088.htm#sthref3985That identifies how many sessions are connected to Oracle. It's an awful long time since I saw a system that had a predictable relationship between number of sessions and number of users. Nearly every system I see does one or more of the following.
    1. Uses connection pooling.
    2. Opens more than 1 connection for a single user session.
    3. Uses the same user account for authenticating connections.
    Often those 3 are related of course, but if you have an app that does that querying v$session won't answer the original question - though it might set limits on possible answers.
    In short I'd say that how many users, as opposed to user sessions, were active at any one time was an application development issue. If however the question is really a management question about how busy the database server is I have found that answering accurately, but perhaps misleadingly, "there are on average 42 user sessions" is a perfectly adequate answer to the question - since the motive is usually about "busyness" not actual end-users.
    Niall Litchfield
    http://www.orawin.info/

  • User Peference in Oracle Apps 11i

    HI
    One of my user has changed his peference to skip OA framework page which list responsibility.(Now directly logiing to forms)
    Now he wants to revert it back,can someone help me to resolve this issue.
    Due to some security issue I dont wan to assign the user 'Preferences SSWA' responsibility
    Can someone please help me
    ls there anyway to control user peference as sysadmin
    Thanks in advance

    Duplicate thread ..
    User Peference in Oracle Apps 11i
    User Peference in Oracle Apps 11i

  • The cause of generation event oracle.apps.fnd.wf.ds.user.update?

    In which scenario, event oracle.apps.fnd.wf.ds.user.update will be generated besides updating user?

    user545541 wrote:
    In which scenario, event oracle.apps.fnd.wf.ds.user.update will be generated besides updating user?Please see Workflow Developer Guide, Page 9-45 -- http://download.oracle.com/docs/cd/B53825_08/current/acrobat/121wfdg.pdf
    Thanks,
    Hussein

  • Proxy user connection in oracle form10g

    Dear All,
    Any one could help me out how to use proxy user connection in oracle form10g ?
    proxyapp[SCOTT]/proxyapp@orcl which is running fine is database side i like to use this user in oracle forms 10g and would like to know the syntax of connection .
    Thanks & Regards
    zeeshan

    Do you know if there is there anyway to use proxy users without using OAM? It is working fine for us assuming the combined prox_user[real_user] does exceed 30 characters .... Need to expand the forms user id field ...???

  • Is it possible to Install Oracle Apps without having the user in a group db

    Can we Install oracle 11i with the user oracle:dba for db tier and user aapl:aapl for application tier.
    Is it possible to Install Oracle Apps without having the user in a group dba

    Can we Install oracle 11i with the user oracle:dba for db tier and user aapl:aapl for application tier.
    Is it possible to Install Oracle Apps without having the user in a group dbaI would say no, as the dba group is required to do the database administration tasks.
    What is the point of not using the dba group? Any specific reason?
    Thanks,
    Hussein

  • Howmany oracle user connect with oracle server.

    hi all
    howmany oracle user connect with oracle server.
    i want query for above sentance.

    Robert,
    This query will show us the username who are connect to a particular database. If OP wants that how many overall users are connected to his/her oracle server (which is having more than one db) then please tell us. Suppose 10 users are connected with db1 and 20 users are connected with db2.. like that.
    Regards
    Girish Sharma

  • How to create ODBC connection between Oracle 10g and MS SQL Server

    Hi,
    Can someone help us with the steps to create an ODBC connection between Oracle APPS using Oracle 10g database and MS SQL Server.
    Requirement is to extract the transactional data from MS SQL Server on a daily basis and dump it into Oracle tables for an interface to be run. Currently it is being done through Dataloader tool which we feel is causing the data issue with Arabic characters. We want to create the ODBC directly between Oracle and MS SQL Server and check if the data is being pulled correctly.
    The data is in sql server 2000 which has data in Arabic_CI_AS character set which is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version. We cannot change the character set of Sql Server 2000.
    Please help
    Thanks
    Shanil

    Hi,
    If you're trying to PULL data from SQLServer into an Oracle database, you wouldnt use Oracle ODBC driver for that, so you may want to post in the Heterogeneous Services forum instead:
    Heterogeneous Connectivity
    If you're trying to PUSH data from SQLServer into an Oracle database, you could use ODBC but most folks use OLEDB for that, and the following note on MOS should help:
    How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB     (Doc ID 191368.1)
    As with any NLS related issue, the first thing to do is dump the codepoints of the data in the Oracle database to see if it is stored validly, rather than relying on what the data "looks like" from some tool or other. It's best to check a single row, with only a few characters in it if you can, and you can do that via
    SELECT DUMP(<columname>,1016) FROM <tablename> WHERE ...
    Hope it helps,
    Greg

  • Oracle Apps and HTML DB Integration Problems

    Hi,
    I have integrated Oracle Apps and HTML DB, using custom authentication schema so that HTML DB looks for APPS username and password for validation.
    Also, i have created menu, responsiblity, functions, custom application etc, so that user can login from Oracle Apps login screen and then select the responsibility which will redirect to HTML DB Applications page.
    My problem is, once the user clicks on the Responsbility and the function(which is nothing but HTML DB Page), it is redirecting to login page and i need to re-enter the apps user name and password again to access HTML DB applications.
    Is there any way, can i redirect the user directly into my HTML DB application page, without taking him to login page of HTML DB application and also uses the APPS user name and password which he had entered in the Oracle Apps login page.
    I need your help on doing the same. Please respond.
    Thanks
    Ram

    Hi Scott,
    Thanks for the quick reply. I agree with you in terms of validating the session but I haven't been able to get that to work - one of my earlier posts describes the issues I have experienced:
    Authentication and SSO (non-Oracle)
    I suppose my question is - is there a simple way for the APEX app to validate that there is an active Apps session cookie?
    In terms of the encrypted password, what I have been trying to do was make use of the FND_WEB_SEC.VALIDATE_LOGIN method which is described in other posts and the Scott Spendolini presentation on integrating apps.
    Thanks,
    Stuart

  • Connectivity between Oracle database and client...

    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.

    user11000521 wrote:
    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.You probably should do a cost/risk analysis. Where you are headed might be able to be done (but it will require that the "clients" also have their own copy of the database) but it won't be easy and it certainly won't be cheap, either in initial implementation or in on-going maintenance. The alternative is to take a hard look at your network connections and see if it wouldn't be cheaper/easier to be able to ensure that it is reliable. Remember "the internet" won't break, it is highly redundant. If you have connectivity issues, they will almost certainly be in your own equipment and configurations, so your (your organization) will have the ability to address and fix any issues there.

  • What is Oracle Apps and Oracle Financials and Oracle 11i.

    Hi All,
    right now I am working on Oracle PL/SQL stored procedures (Version 8) wants to learn/shift to Oracle Apps. Dont know actually what is what and what are the Differences between Oracle Apps and Oracle Financials and Oracle 11i
    Can any one brief me about those.
    Thanks in Advance
    [email protected]

    What exactly are you intending to do to Oracle Apps ? You suggest you are a developer, but Oracle Apps are already developed, by Oracle. Do you want to develop peripheral applications, or become an administrator, or what ?

  • How to start with ORACLE APPS and ORACLE APPLICATION SERVER?

    Hi !!
    I am a little known with oracle database. But recently i have been asked to update my skills with oracle apps and oracl e application server. I do not have any prior experience with these products of oracle and I really have 0 knowledge of it.
    Can anybody help me find a start with oracle apps and oracle as?
    Thanks.

    Welcome
    http://www.oracle.com/technology/documentation/applications.html
    You can download from here.
    Regards
    Asif Kabir
    -- If helpful mark the post as correct/helpful, also close the thread as answered.

  • Had Kernel panic and the app folder for my user is empty...

    I was using a OWC estat express card and had my second kernel panic in two days (not using it anymore..) but when I restarted the app folder for my user was empty. Now the apps are still on Macintosh HD and in the apps stack in the dock.
    So my question is does it matter if I just use the Macintosh HD apps and maybe even drag it into my user or will this cause problems.
    Also, I don't have a backup at the moment bc I just upgraded to snow leopard last week...
    Thanks!

    The app folder for my user had all of my apps earlier today...!
    I think that you are the one who is mistaken. All Apple apps are installed to the Applications folder at the root level of your hard drive, not the one in your user folder. If you moved them, some of them would stop working and all of them would stop being updated. Some third party apps will allow themselves to be placed in the user Applications folder, but some will not allow themselves to be installed anywhere other than the main Applications folder, and some will allow themselves to be placed in the user Applications folder but will not work properly if you do so.
    So, there's absolutely no way you had all your apps in that folder.

Maybe you are looking for

  • Broken magnetic charger socket, can't charge laptop.

    Hi everyone, I've only had my mac for 2 months and already the magnetic charger is broken. I don't know how it happened but it looks like it's been chipped. Is there anyway to fix this DIY style or do I have to take it to a shop? Cheers.

  • How to create the IView and Roles ,User for WebdynPro Application in Portal

    Hi,        I have one simple webdynpro application. i want to create the user,Role and Iview for my webdynpro application in the Portal . after that i need to assign the roles to the user and i want to see the different output for each user depends u

  • 17" running at 1920x1200

    my old eyes dont work well anymore i am a first time mac user and just purchased my first mac which is a macbook pro 17  looking for recommendation, external monitor .. lower resolution .. software options.. please be kind i have been around technolo

  • IIOP connection problems .: JDeveloper 3.1 and Oracle 8.1.6

    This is my 4th day working on this problem. I cannot get an IIOP connection to work. I have verfied that the listener is running on port 2481, I have been inside of the init.ora, listeners.ora, I have read the error inside of listeners.log, and I hav

  • Sql Developer extensions

    Hi, I've just started writing sqlDev extensions. I've gone through Kris Rice's and Sue Harper's blogs which were very helpful on the same. I still have a couple of questions though. 1.) Is it possible to have another panel alongside Connections (For