Regarding rman user session

hi all,
i need to create a trigger for tracing a particular user session or rman session so that only one trace file is used throughout, regardless of there number of logins or logoff
thanks

Create a logon trigger, that checks for a certain login-name
We do the same for checking applications that log on.
Remember that if you're calling a procedure from the logon trigger, you have to disable the trigger every time you work/develop on the procedure.
Otherwise the trigger gets Invalid and all logons are denied
I can't show you the code we use now, because our storage-network has failed
Edit: Back online
The code
CREATE OR REPLACE TRIGGER check_logon_logging
  after logon on database
begin
  illegal_appl_prc;
end;

Similar Messages

  • Regarding user session...

    Hi,
    How will you determine/set the duration before a user session gets expired in an application on Oracle 10g release 3? Is there a specific entry which is to be made in a file?
    Thanks and Regards,
    Sarab

    Hi,
    I consider that you can do that at your httpd.conf.
    Cheers,
    Hamdy

  • How to know if user (session) is authenticated in other application (SSO)

    Hi folks!
    We've deployed various J2EE applications in some OC4J instances. So far the applications used SSO Authentication against OiD (LDAP), but we need a public access application.
    The problem is the following: we need a different behaviour in this last application (without authentication characteristics) depending on one user is authenticated within other application that required SSO login.
    How could check if current user (session) si authenticated against SSO, for example, in ADF-STRUTS DataAction class?
    We tested the gerRemoteUser() method but is only works within the applications requering login.
    Please, anyone could guide me?
    Mike
    Thanks!

    Hi,
    Oracle AS Single Sign ON stores some of the attributes of an authenticated user in a browser cookie - the name of the Cookie is SSO_ID.
    You cannot get any information from this Cookie. The Cookie is avaliable only to the Oracle AS Single Sign ON and is meant to be used only by it. You cannot read any useful information from the Cookie as it is higly encrypted.
    If you need to know the name of the currently logged in user, your application should be a Partner Application or an External Applciation to Oracle AS Single Sign On.
    The reason is simple - you can use your browser to connect to many Websites protected by Oracle AS Single Sign ON. Thus, if your application isn't a Partner or an External Application registered with SSO, your application can't establish a context.
    Hence, your application needs to be registered as a Partner Application or an External Application with SSO.
    An application which is nto registered with SSO cannot get the User information from SSO. The getRemoteUser() method would always return a null in such cases.
    Regards,
    Sandeep

  • How to check if a user session is active in Java application server

    Hi Experts,
          We have a online scenario with a third party system by which a portal user will launch the third party application in a new window from portal. The SSO will work at the third party web application with the dynamic key that is generated by calling a webservice for that user. Now, as the user works on the launched screen, they will have to check whether the user (logged in portal) session is still active. ie., they will be periodically calling a service hosted by SAP java application server to find out whether the corresponding user who launched the session is still logged in or logged out.
    So, my question is, how can i find out programatically whether a user/user's session is still logged in/active in SAP Netweaver Java AS? We are in version 7.3.
    Kindly help me in this regard.
    Regards
    Vijay.K

    Hi Vijay,
    Could you check below links
    Tracing Single User Sessions - Administration - SAP Library
    Display and Manage User Sessions (SAP Library - Tools for Monitoring the System)
    Hope this helps.
    Regards,
    Deepak Kori

  • SAPSYS user session  in CLNT 000 not killed

    Hi all!
    I have question.
    When i check in SM04 i have like 50+ user sessions where the user is SAPSYS in clnt 000 the session type is Plugin HTTP. As terminal info there's a IP-number.
    I don't no if its relevant but I'm running an internal ITS. I also run a locally installed IPC (on my laptop since it is a test system).
    My question is why are the sessions not closed down when i log out.
    I understand that the system is creating the sessions.
    Hope you can help me understand!
    //Roland

    Hi Disha!
    We have had memory bottleneck problems and we have applied note 742048 (extending em/global_memory_mb), still this didn't solve the problems with the internal sessions not closing.
    Regards,
    Roland

  • Sharing data between two separate user sessions

    Hi all!
    I have been trawling my brain for a solution to this - any help will be appreciated!
    I would like to create a single instance of a class but share that instance over more than one user session (two separate users but both running concurrently).
    Just as you can pass data between sessions using ABAP memory - I would like to pass data (specifically an object reference) between two separate users that could even be logged in to two separate application servers...
    Even a mini Client/server solution would suffice but I cannot figure one out!
    Is this possible?
    Many thanks for your thoughts in advance...
    N

    Hello N K,
    sorry thats not possible. Sharing a data item / object instance requires at least a common physical memory. As this is not guaranteed between different app. server this is technical not possible.
    With release 640 ABAP offers the new feature Shared Objects. These mechanism allows access by different users and some propagation to differnt servers.There is an interesting article on the ABAP SDN homepage
    https://www.sdn.sap.com/sdn/developerareas/abap.sdn
    For relases below more or less the database is the only chance to store data accross application servers (known to me). One exception might be the ENQUEUES which might (mis)used to store some Flags.
    Kind Regards
    Klaus
    Link to Shared Objects PDF
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/shared objects in abap

  • Unable to kill work process and user sessions.

    Hi Gurus,
    Iam facing a different problem in my prd system.Dialog process of a particular user has been running continuosly for long time, when i killed it with cancel with core or with out core option in sm50 still it is starting automatically on different PID and going in to loop.Even though user is not logged in and no back ground jobs are running still the process is running on its own.Even i tried killing the PID from OS level using DPMON but was of no help.
      I tried to kill the user session and log him out from sm04 from it was not happening, locked the user also but was of no help.
    Has anybody faced this situation?Is there any option excluding restarting the system to solve this issue.
    Thanks&Regards
    Prashant

    Hi Prashant,
    In case of multiple instances you have to log off the user from system wide select this option from SM04 while deleting user session again look for the action in SM50 for the process and if possible get details by activating trace from ST05 and filter with user, wp.
    Thanks,
    Saleem

  • Re: (forte-users) Session management for page builder(fwd)

    Jaco,
    Hope this helps,
    John
    John Soper, Information Systems Development, ITS, The University of Melbourne
    email: j.soperits.unimelb.edu.au >>>> Tel: 9344 5612---------- Forwarded message ----------
    Date: Mon, 10 Jan 2000 16:34:31 +1100
    From: Lyle Winton <L.Wintonits.unimelb.edu.au>
    To: John Soper <j.soperits.unimelb.edu.au>
    Subject: Re: (forte-users) Session management for page builder (fwd)
    Why not construct an intermediate page after the
    login page that has SESSION_UNSPECIFIED and
    a refresh META tag. The page can then refresh
    to either the login failed or login succeeded pages
    depending on how the login went! Looks like...
    1) Login page (SESSION_UNSPECIFIED)
    2A) Refresh page (SESSION_UNSPECIFIED)
    < HTML >
    < HEAD >
    < META http-equiv="refresh"
    content="0;URL=<a href=
    "http://www.blah.com/forte.cgi?PageName=3">http://www.blah.com/forte.cgi?PageName=3</a>" >
    < /HEAD >
    < BODY >
    Login succeeded. Please wait...
    < /BODY >
    < /HTML >
    2B) Refresh page (SESSION_UNSPECIFIED)
    < HTML >
    < BODY >
    Login failed.
    < /BODY >
    < /HTML >
    3) We're finally in. (SESSION_REQUIRED)
    I'm not sure if this works on internet exploder.
    Lyle.
    John Soper wrote:
    Lyle,
    (Post from forte mailing group)
    Does this make sense to you?
    John
    John Soper, Information Systems Development, ITS, The University of Melbourne
    email: j.soperits.unimelb.edu.au >>>> Tel: 9344 5612---------- Forwarded message ----------
    Date: Thu, 30 Dec 1999 07:54:24 +0200
    From: "Jaco Erasmus (home)" <jacoerasmweb.co.za>
    To: kamranaminyahoo.com
    Subject: (forte-users) Session management for page builder
    Hi everybody,
    We have a lot of legacy code making use of the page builder service to
    produce web pages. These pages were originally written without session
    management. I'm now busy adding session management to them, but there is
    one problem with this approach and I will appreciate if someone can shed
    some light on it. Here it is:
    Page one is submitted.
    Some validation (authentication) takes place and depending on the outcome,
    either page 2A (SESSION_REQUIRED) or 2B (error page with
    SESSION_UNSPECIFIED) must be displayed. In order to implement this, I
    needed a place to make a decision. The way I've done it, is to pass a
    'virtual page' (SESSION_UNSPECIFIED) to the page builder service. The
    validation is done here and request.PageName is then replaced with the
    PageName of pages 2A or 2B. The HandleRequest() method is then called
    again. The problem is that the ValidateSession() method does not get
    invoked again, thus allowing 2A through without a session. How do I make
    sure that the ValidateSession() method get invoked again?
    The approach making use of templates look to me as if it has all the means
    to do this (redirect tag), but I don't want to rewrite everything if I
    don't have to. Is there a way that a pagebuilder page can be specified by
    the redirect tag? This will definitely help, but so far I've only managed
    to call templates from the redirect tag.
    Is the template approach better suited for session management? It is
    definetely better documented...
    Regards.
    Jaco
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

    Hi,
    i hope this helps
    http://help.sap.com/saphelp_nw70/helpdata/EN/7e/aa610cc1dd8f4388b1df02fc362f0f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/69/c250754ba111d189750000e8322d00/frameset.htm
    regards,
    Anil.

  • Locks list for a user session

    Hello,
    Is there a function module or class/method which will give me the list of all locks of a user in the current session and not across all sessions (like transaction SM12). Function modules like ENQUE_READ and ENQUE_READ2 provides the lock list for a user across all sessions but not in the seesion in which the FM is being executed.
    Please let me know if you have any information in this regard.
    Thanks & Regards,
    Saurabh

    Hi saurabh,
    Dont post duplicate thread . Its against the rule of engagement.
    Locks list for a user session
    If you have got the answer in the previous thraed then close this thread.
    Regards,
    Sujit

  • User session doesn't disconnected

    Dear Friends ,
    I got a problem in my production server (oracle-10.2.0.1.0) in unix (AIX - 5.3) server where I kill the user's session but it is not disconnected from the database .
    Here the output :
    SQL> select username,sid,serial#,status from v$session where username='ABABILFE' an
    USERNAME SID SERIAL# STATUS
    ABABILFE 132 10932 KILLED
    ABABILFE 193 13229 KILLED
    ABABILFE 222 8246 KILLED
    ABABILFE 235 10847 KILLED
    ABABILFE 327 15618 KILLED
    ABABILFE 346 11205 KILLED
    ABABILFE 347 22059 KILLED
    ABABILFE 367 11146 KILLED
    ABABILFE 379 8560 KILLED
    9 rows selected.
    I also have to use the following two commands but still sessions are not disconneted .
    ALTER SYSTEM DISCONNECT SESSION '132,10932' IMMEDIATE;
    ALTER SYSTEM KILL SESSION '132,10932' IMMEDIATE;
    And
    From v$transaction I got a running transation which is held up from last 18 hours .
    SQL> select * from v$transaction;
    ADDR XIDUSN XIDSLOT XIDSQN UBAFIL UBABLK UBASQN UBAREC STATUS START_TIME ST
    0700000488F170D8 9 44 87983 0 0 0 0 ACTIVE 02/24/09 17:52:40
    I cannot remove it .
    Here I also mention that , our ABABILFE is our application server's user . when a client is accessing my database then it holds only 'ABABILFE' name so I cannot trace out the user session from the client end as I am working in a Bank . And for this problem , my cpu resource shows always high and performance of my database decreases .
    Help me to give me a suggestion plz ASAP ... ...
    Edited by: shipon_97 on Feb 25, 2009 3:55 PM

    Thx friends ,
    for your kind replies . I also try to kill the process in the o/s level but the process are not still removed . I use the following query which find the running process which are related with our application server :
    SQL> SELECT s.sid,p.spid,s.osuser, s.program FROM v$process p,v$session s WHERE p.addr = s.paddr
    2 and s.PROGRAM like 'f9%';
    SID SPID OSUSER PROGRAM
    139 1449994 oracle [email protected] (TNS V1-V3)
    213 1835126 oracle [email protected] (TNS V1-V3)
    359 2039926 oracle [email protected] (TNS V1-V3)
    204 2289670 oracle [email protected] (TNS V1-V3)
    Here I kill the '1449994' and '1835126' process using "kill -9" command . It removes from the o/s level but does not remove the database level when I use the above query again .
    If there any solution regarding this ?

  • Terminate a User session in the Portal

    Hello,
    is it possible to terminate a user session.
    I want to delete a user, but I get the following error log:
    - user delete failed
    - Cannot lock at least one of the 4 locks for the owner
    What is necessary to perform, before I am able to delete the user?
    Thanks for your help!
    Best regards,
    Michael

    Michael,
    I think there is a distinction between deleting a user, and a user session. If you want to delete a users session, object locks must be cleared first. Users, as you know are deleted on UME Admin. On NW2004s the UME Admin is now called Identity Management.
    Regards,
    James

  • 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

  • New user session from an existing logged in user browser window

    Hi,
    I have a requirement that says, a new browser window should be popped up with a new user session from the current "logged in user" browser window when he clicks a button event.
    What I have with me is the "UserID" of that new user. Is it possible in portal?
    Let me know.
    Thanks,
    Megha.

    Megha,
    I know that you can manually click CTL-N to open a new browser window and the user is still authenticated. 
    So I would think that you could code a similar function into the button event.
    Hope it helps.
    Regards,
    Keith

  • Restricting Portal users Sessions.

    Dear All,
                       I have a requirement where i have to restrict the portal sessions of users to 3. How can we achieve this. Again can we keep sessions restriction by user. i.e. some group of users have max. 3, some have max. 4 etc.?
                      What would happen if user try to open a new session for the fourth time?
    Thanks in Advance,
    Regards,
    Vinayak

    Hi Vinayak,
    Let me clear something about restricting Portal user sessions. I do not think that the number of open sessions is limited by user (maybe I'm wrong but so far, all posts I know of are not refering to Portal session management per user).
    You can limit the number of over all sessions in the configuration of WebAS. So, if you for example want to limit the number of sessions in your portal, you could do it for the Web Module "irj". You can set a maximum session limit for each web module.
    check: http://help.sap.com/saphelp_nw70/helpdata/EN/b9/665b42cfca5542e10000000a1550b0/frameset.htm
    Goto Visual Administrator->services->Security Provider->properties. There is a property called sessions_size.
    The default value is 200 and you can change the value you desire.
    Thus, to limited Portal session per user..not possible. Limited concurrent sessions number..Possible as describle above and other posts above.
    P.S: The parameters in the module irj: Maximum Sessions= -1 (-1 means "not set" or "unlimited"). You should restart your servlet engine after changing the parameter to be sure that the configurational change is active.
    Hope that helps. Award points for helpful suggestions.
    Ray

  • Copy Session function in 4.6C (To view another users session).

    Hi All,
    I recall in version 4.0 of R3 an option called copy session which allowed you to view another users session.  This option seems to have been taken away in newer version.
    Does anyone know of another way of interactively looking at another users session,
    Kind regards,
    James Mandikos.

    Hi James,
    Sometime back I have invested a lot of time and effort trying to do exactly what you're now up to !!
    Unfortunately, I have not been able to do it. I have done a lot of debugging and tried to do that in some way or the other, but in vain. The reason, if I remember correctly, is that the code responsible for that action is not even there in the higher releases. That is presumably for reasons of security.
    Regards,
    Anand Mandalika.

Maybe you are looking for

  • Error message "wrong machine" on Qosmio G35-AV650

    Hi please help me with the "wrong machine" message in my notebook .... how can I update DMI ? Thank you !

  • SAP APO Transportation Managment 5.0

    Hi,           I would like to know the the process to Implement Transportation and Planning 5.0 in SAP APO environment ,presently the client is using SD for transportation and distribution.           If you could mail me implementation guide in regar

  • How do you place text in a text frame, but with autoflow?

    I woudl like to place a tagged text file on a text frame rather than on a page, so i can put the contents into a pre-defined text frame, but still have the number of pages extended unitl the entire tagged text content is show. I can get autoflow with

  • Why do my fields in Adobe Reader keep disappearing?

    When I go to fill in a form in Reader, my previous fields keep coming up when I click within them. However, they then disappear when I click to fill in another field. How can I get them all to stay filled in?

  • Itunes does not recongnize ipod touch

    I purchased an ipod touch from my co-worker so I gave my old ipod touch 3rd generation to my son. The desktop will not recognize my old ipod touch on itunes.  I can see the old ipod on my laptop (but that's where my new ipod touch is now) I can see t