Generate trace on a user processes on every login

Folks,
I need to enable trace every time XYZ connected to the DB,Can anyone help me on this.XYZ is a user.
I suppose there is some system profile which helps to perform the above mentioned. Also please let me know where the trace file will be generated by default.
Thanks,
Cherrish Vaidiyan

It will happen whenever user session calls fnd_global.APPS_INITIALIZE function.
That happens only if an user use Apps interfaces (Forms, Self Service Framework, Concurrent Managers, Discoverer using Apps authorization etc.).
Or will it also generate trace if the user XYZ is using SQLPLUS at DB level??It will not. In order to generate Trace for all session create LOGIN Trigger and include trace switching code other there.
Yury
Check this out:
A.
http://www.freelists.org/archives/ora-apps-dba/05-2006/msg00000.html
B.
- Users can subscribe to the list by sending email to
ora-apps-dba-request_at_freelists.org with 'subscribe' in the Subject field
C.
http://www.freelists.org/archives/ora-apps-dba/05-2006/threads.html
http://www.freelists.org/archives/ora-apps-dba/06-2006/threads.html

Similar Messages

  • New "user" created at every login - settings and files lost

    Hi there,
    I've recently replaced a faulty hard disk, re-installed all applications and restored files from backup. I'm using OS X 10.4.11 and an iBook G4.
    Ever since, every time I login, the computer creates a new user and hence my settings and files are not available.
    My user is called e.g."Jack & Jill", but it creates a new user called "iBook" and moves my "Jack & Jill" user to Macintosh HD > Users.
    I can access everything by finding the old "Jack & Jill" user, but it stuffs up using applications because all the settings are under the Library for "Jack & Jill".
    I have tried copying all the files and settings to the "iBook" user, but when I login next time it creates a new "iBook" user, and re-names the previous one "iBook 1" and moves it to the Macintosh HD > Users directory.
    Upshot is every time I login, it's a major hassle to find all my files and get all the settings right.
    Has anyone heard of this problem before and can recommend a solution?
    Cheers,
    Tertullian

    Hi Tertullian, I've seen this, it usually happens when a users name is renamed, whether you did it or it was a spontaneous event...
    Return to default desktop, apparent "loss" of home directory, (it can happen spontaneously too)...
    http://docs.info.apple.com/article.html?artnum=107854
    Have you tried making a new Admin user & see if that one holds between reboots?

  • How to Trace user process

    Environment.
    SunOS CSF-1 5.10 Generic_138888-03 sun4u sparc SUNW,Sun-Fire-V245
    Can anyone help me that I need to trace one application process -?
    The Issue is every day one of the user process is killing automatically two or three times.
    Kindly help........
    Best regards,
    Muneer.

    A starting point is /usr/dem/dtrace/sig.d.

  • How to trace an ApEx page processes(anonymous PL/SQL) submited by any user?

    Dear Friends;
    can I trace an ApEx page processes (anonymous PL/SQL code step by step) submitted by any user?
    could you explain in detail, please?
    regards
    Siya
    Edited by: sak on Feb 3, 2012 1:07 AM

    Hello
    You can get user id using select v('APP_USER') FROM DUAL or simply :APP_USER.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • Trace a mapped_file in kernel dump back to a user/process

    I am troubleshooting a paged pool consumption issue (MmSt and other tags related to ntfs.sys being top consumers) on a Windows2003 R2 SP2. I see from a kernel dump taken when server was unresponsive, using !memusage, around 80000 files listed as mapped_file
    s, I presume these open files are causing this large pool allocations. In fact all those are old log files and should not be touched by any process for any purpose. Now we are not sure which user or process is opening these files, apart from some guess work
    like AV, Backup, AppReports..etc but no conclusive evidence so far.
    I would like to know if there is a way trace a mapped_file entry back to a user/process who opened those files from the kernel dump that I have?
    Any help would be very much appreaciated, thanks in advance.

    Hi,
    I don't think
    there is a way trace a mapped_file entry back to a user/process who opened those files from the kernel dump. If you want to perform debugging using kernel dump, please contact
    Microsoft Customer Support Service (CSS).
     To obtain the phone numbers for specific technology request, please refer to the website listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
    If you are outside the US, please refer to
    http://support.microsoft.com for regional support phone numbers.
    Regards

  • Problem in Scheduling trace for other user

    Hi,
      I scheduled SAT/SE30 trace for other user(From user X, I scheduled for user Y). I executed the corresponding program in background in Y Login. Then, if I see the traces in X as well as Y Login, Nowhere I am getting the trace. The status is "In Process" only. What is the right procedure to do this?
    Thanks and regards,
    Venkat

    It was configuration issue.

  • Generate trace file with required name

    hi all,
    as a sys user i want to trace a user session. so i am using
    SQL> EXEC DBMS_SYSTEM.set_sql_trace_in_session(sid=>123, serial#=>1234, sql_trace=>TRUE);
    SQL> EXEC DBMS_SYSTEM.set_sql_trace_in_session(sid=>123, serial#=>1234, sql_trace=>FALSE);
    to trace. but this trace file is mixing with another trace files in udump.
    did some google and found that we can use ALTER SESSION SET TRACEFILE_IDENTIFIER = "MY_TEST_SESSION". but this will generate trace file for sys user account not for the desired user session. how we can define trace file name for desired user session trace.
    Please let me...
    thanks

    >but this trace file is mixing with another trace files in udump.
    above is NOT true for any *NIX Operating System.
    The trace file name will contain the OS ProcessID#
    is this application 3-tier/
    does application utilize connection pooling?
    It appears that you post frequently & reply/respond very infrequently.
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • Unable to generate trace in Oracle11gR2

    Hi
    We are using AIX 5.3 OS and Database version 11.2.0.2
    i am unable to generate trace file
    Thanks

    Hi
    we are trying to generate trace from Application (Concurrent Program) and followed doc id -How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1].
    and at database level i changed parameter value to sql_trace = true and bounced DB still it is not generating file
    Below query showing location for tace
    SELECT 'Request id: '||request_id ,
    'Trace id: '||oracle_Process_id,
    'Trace Flag: '||req.enable_trace,
    'Trace Name:
    '||dest.value||'/'||lower(dbnm.value)||'_ora_'||oracle_process_id||'.trc',
    'Prog. Name: '||prog.user_concurrent_program_name,
    'File Name: '||execname.execution_file_name|| execname.subroutine_name ,
    'Status : '||decode(phase_code,'R','Running')
    ||'-'||decode(status_code,'R','Normal'),
    'SID Serial: '||ses.sid||','|| ses.serial#,
    'Module : '||ses.module
    from fnd_concurrent_requests req, v$session ses, v$process proc,
    v$parameter dest, v$parameter dbnm, fnd_concurrent_programs_vl prog,
    fnd_executables execname
    where req.request_id = &request
    and req.oracle_process_id=proc.spid(+)
    and proc.addr = ses.paddr(+)
    and dest.name='user_dump_dest'
    and dbnm.name='db_name'
    and req.concurrent_program_id = prog.concurrent_program_id
    and req.program_application_id = prog.application_id
    --- and prog.application_id = execname.application_id
    and prog.executable_application_id = execname.application_id
    and prog.executable_id=execname.executable_id;
    i tried to search location from above query but unfortunately i didn't find trace file.
    Thanks

  • Trace deactivated for user SAPSYS

    hi,
    I see the following message in the sap system for one application server only for ENQ Process
    I see the message in SM21
    Trace deactivated for user SAPSYS
    I could not find any other details of the sam
    Please let me know of what can be the reason for the same

    Check Security Audit setting in SM19 to see if by any chance theres a trace enabled for SAPSYS that is failing to "activate".... Long shot but worth trying.
    Regards
    Juan

  • Can't Login to SharePoint as an invited External User / Can't Remove All Traces of External User with Microsoft Account

    Hi TechNet,
    I have an MS SharePoint Online (SharePoint Plan 2) team site, quite simple, one document library etc.
    I have successfully added all users (E3) within the organisation to groups, and permissioned correctly.
    I have added myself (separate organisation, also Office 365 E3) as an External User, and have access to the website without any problems by authenticating with my Organization account e-mail address.
    I have a single user (separate organisation, also Office 365 E3), who's setup is identical to mine (Also Office 365 E3).
    However, when this user is added as an External User, they are unable to login, and get "Sign In is not complete":
    That didn't work
    We're sorry, but [email protected] can't be found in the CLIENT1.sharepoint.com directory. Please try again later, while we try to automatically fix this for you. 
    Correlation ID: dc1f7f9c-092b-20b8-7b35-89348ba22f71
    Date and Time: 3/20/2014 7:06:55 AM
    URL: https://CLIENT1.sharepoint.com/
    User: [email protected]
    Issue Type: Partner User Invalid.    
    I then remove the user using the Site Collection, and using the PRofile Manager, and using Remove-SPOUser, and using Remove-SPOExternalUser. Which is great, he's gone. However when I go to add him back to a group, as soon as I type his e-mail address, it
    'Resolves' into his full name! If I have completely(?) removed him form the site, how is he being resolved? And therefore me trying to remove him to re-add him to try and solve the user/directory/auth issue is not working.
    Furthermore, upon clicking on said client's username inside SharePoint (after I've 'added him back' of course), his ID, in format: i:0#.f|membership|live.com#[email protected] has an entirely different e-mail address, his Microsoft Account! 
    I'm assuming he must have been already signed into his Microsoft Account when he clicked on the External User e-mail invite? If so, I clearly do not want this, how can I remove lal traces of his Microsoft Account, given that I have gone to the lengths as
    detailed above?
    I have already completed these steps: http://community.office365.com/en-us/forums/148/p/228263/709905.aspx
    Some possible further reading regarding Microsoft ID's and Organization ID's:
    http://sergeluca.wordpress.com/2013/09/23/sharepoint-online-and-external-users-this-invitation-has-already-been-accepted-with-another-account-bug-or-feature/
    Please let me know if you need any more information regarding this issue, and thanks in advance to anyone who can shed some light on this situation for me and anyone whom encounters it in the future.
    Regards,
    Evanly.

    Hi Scott,
    Thank you so much for taking the time to read and respond to my issue.
    Certainly, it makes sense that regardless of where the invitation it sent, the user would authenticate with their Microsoft ID.
    In my case, I want the user to authenticate using their Microsoft Organisation ID, that they use for their seperate Office 365 account.
    This is the way I was able to log in, and worked great. With my client, they are unable to access Sharepoint because once they sign in with their Microsoft Organisation / Office 365 ID, they are told they are not in the directory, because their Microsoft
    ID is in the directory and it doesn't match up.
    I am simultaneously trying to 1) Remove all traces of this users Microsoft ID, which so far using the above steps, has been unsuccessful; and 2) Invite the user using his Microsoft Organisation ID, and have him authenticate with that (which is proved to
    work, as my account uses this).
    Looking forward to any more suggestions. Thanks in advance!

  • How to generate trace file in oracle application forms

    hi
    I want to generate trace fle in oracle application
    Regards
    9841672839

    Hi,
    Refer to the following documents.
    Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=296559.1
    Note: 130182.1 - HOW TO TRACE FROM FORM, REPORT, PROGRAM AND OTHERS IN ORACLE APPLICATIONS
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=130182.1
    Regards,
    Hussein

  • How to preven JButton of generated actions when the user keep pressing down

    How to preven JButton of generated actions when the user keep pressing down the key or the short cut
    The code below to show the issue when the user keep pressing Alt+ O
    We want to prevent the JButton from generating multi actions just one action only
    A sample of code shows the behaviour which has to be prevented. Continue pressing "Alt +O" and you will see the standard ouptput will print time stamps
    Please notice, I am NOT interested in Mouse press which has a solution by adding a threshold ( setMultiClickThreshhold(long threshhold) on the JButton  as an attribute.
    public class TestPanel extends JPanel
       private JButton btn;
       public TestPanel()
          btn = new JButton("Open");
          this.add(btn);
          registerCommand(new MyAction(), InputEvent.ALT_MASK,
                KeyEvent.VK_O, btn, btn.getText(), 0);
       public static void registerCommand(AbstractAction action,
             int mask,
             int shortCommand,
             JComponent component,
             String actionName,
             int mnemonicIndex)
          InputMap inputMap = component.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
          KeyStroke knappKombination = KeyStroke.getKeyStroke(shortCommand, mask);
          if ((component instanceof AbstractButton)
                && mnemonicIndex >= 0
                && mnemonicIndex < actionName.length()
                && (shortCommand >= KeyEvent.VK_A && shortCommand <= KeyEvent.VK_Z))
             ((AbstractButton) component).setDisplayedMnemonicIndex(mnemonicIndex);
          if (inputMap != null)
             ActionMap actionMap = component.getActionMap();
             inputMap.put(knappKombination, actionName);
             if (actionMap != null)
                actionMap.put(actionName, action);
       public static class MyAction extends AbstractAction
          private static final long serialVersionUID = 1L;
          @Override
          public void actionPerformed(ActionEvent e)
             System.out.println(System.currentTimeMillis());
       public static void main(String... args)
          SwingUtilities.invokeLater(new Runnable()
             public void run()
                JFrame frame = new JFrame("Testing");
                JPanel panel = new TestPanel();
                frame.getContentPane().add(panel);
                frame.setPreferredSize(new Dimension(500, 500));
                frame.setMinimumSize(new Dimension(500, 500));
                frame.pack();
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.setVisible(true);
    }Edited by: user12130673 on 2013-feb-13 03:01

    Use KeyStroke getKeyStroke(int keyCode, int modifiers, boolean onKeyRelease) with onKeyRelease=true instead?

  • SQL*Developer 2.1 - Not Generating DDL for Different Users

    Using SQL*Developer Version 2.1.0.63 I get an error trying to generate DDL from another user, that has access to many other schemas. It looks to me like Sql Developer is calling the DBMS_METADATA package from within other PL/SQL.
    I am receiving the following error:
    ORA-31603: object "ACCOUNT_TYPE_LKP" of type TABLE not found in schema "POR_OWN"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 3241
    ORA-06512: at "SYS.DBMS_METADATA", line 4812
    ORA-06512: at line 1
    I would receive these same errors in SQL Developer 1.5, but the DDL would still generated. It was picking something up, even though it had an error.
    Our DBA has not been able to provided a work around. He says you have to login directly as the owner of the objects to use dbms_metdata in this fashion.
    Is there any work around for this? I really need to be able to get DDL and I do not want to go back to 1.5 (I like the other new features of 2.1).
    Thanks,
    Tom

    We have several users currently using SQL Navigator and/or TOAD. We would like them to switch to SQL developer, but part of their job is to view the source of views in another schema. They have select privileges on the underlying tables and are able to see the source using other tools. Using SQL Developer, they receive on ORA-31603 because it's calling dbms_meta. Note ID 1185443.1 describes the issue and suggests granting the users the SELECT_CATALOG_ROLE.
    We are hesitant about granting this role to these users which allows access to ever 1,700 objects, plus execute privileges to 4 objects.
    Support indicated that Enhancement Request 8498115 addresses this issue.
    Is this something that may be addressed in the next release?
    Thanks,
    Paul

  • Mdworker process crashes every 10 minutes with  KERN_INVALID_ADDRESS

    Mu computer becomes very slow every 5-10 minutes , because spindump starts very often.
    I looked at the logs for crashes and I found out that mdworker process crashes every now and then with this error
    Process: mdworker [617]
    Path: /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker
    Identifier: mdworker
    Version: ??? (???)
    Code Type: X86 (Native)
    Parent Process: launchd [1]
    Date/Time: 2008-05-18 01:43:42.323 -0700
    OS Version: Mac OS X 10.5.2 (9C7010)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x00000000c0000023
    Crashed Thread: 1
    Thread 0:
    0 libSystem.B.dylib 0x90bdf9e6 machmsgtrap + 10
    1 libSystem.B.dylib 0x90be71dc mach_msg + 72
    2 com.apple.CoreFoundation 0x969100de CFRunLoopRunSpecific + 1806
    3 com.apple.CoreFoundation 0x96910d18 CFRunLoopRunInMode + 88
    4 mdworker 0x0000bd76 0x1000 + 44406
    5 mdworker 0x00008b8b 0x1000 + 31627
    6 mdworker
    any idea what might cause this crash ? bad disk , bad RAM , bad OS !!

    farshidg wrote:
    I looked at the logs for crashes and I found out that mdworker process crashes every now and then with this error …
    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x00000000c0000023
    Crashed Thread: 1
    Welcome to Apple Discussions!!
    Crashed Thread: 1
    You need to go further down the crash.log and post a few lines (say, half a dozen or so) from the one that says "Thread 1 Crashed:"

  • What's the semantic of "max user processes" (ulimit)

    Hello everyone,
    I don't understand the behaviour of ulimit, have a look at this shell dump:
    $ ps hax | wc -l
    120
    $ ps h -u myUsername | wc -l
    35
    $ ulimit -Su 78
    $ ps h -u myUsername | wc -l
    bash: fork: retry: No child processes
    bash: fork: retry: No child processes
    bash: fork: retry: No child processes
    bash: fork: retry: No child processes
    bash: fork: Resource temporarily unavailable
    $ ulimit -Su 80
    $ ps h -u myUsername | wc -l
    35
    $
    If I am currently running 35 processes, one would assume that >35 more should be sufficient to start two more processes - but obviously it isn't.
    In this case, I needed at least "ulimit -Su 80" to start ps and wc.
    If I set the "max user processes" limit to 79, the first four error messages change from "bash: fork: retry: No child processes" to "bash: fork: retry: Resource temporarily unavailable"
    Can somebody explain this bevahiour to me, please? Why am I not allowed to create new processes, although the limits should be sufficient?

    Apologies for the necro-bump but I hope this will help others.
    ulimit -u does not give you the max number of processes rather it displays the max number of threads.  To list the number of threads a user is currently using:
    ps -L -u myusername | wc -l
    The output from the above two commands can now be compared and allow you to set the appropriate ulimit.

Maybe you are looking for