List hung session details

Hi,
I have observed that "list hung session for comp SRBroker" and "list active session for comp SRBroker" are showing exactly the same output.
So what is the difference between hung and active session.
I would also like know that is there any procedure by which I can find out the tasks which are running more than a specified time (e.g, tasks running more than 6 hours.)
Thanks,
Abhishek

Hello Abhishek,
MaxPingTime parameter just has value (eg: 10sec) which gets compared with Task Ping Time to decide if thread is hung.
Now if task is not doing anything (not active, not processing anything) for 10secs (default value of MaxPingTime) it qualifies for hung.
If you think in your application threads will be taking little longer, then you can set value of this parameter to little high value, eg: 20sec. But I do not see why one should alter this value.
You can get this param by following server manager command:
srvrmgr> list hidden param MaxPingTime for comp sccobjmgr_enu
I hope it helps.
Best Regards,
Chetan

Similar Messages

  • How to get active session details

    Dear all
    in my application i want to display number of users online in a list and their details,for that how can i get the active session details in a jsp , or any other ways to do this.any suggestion regarding this is very much helpful to me. thanks in advance
    thanking u
    yours
    kumaran ramu

    Hi,
    You can use a Listener class for track the sessions and do some logic when a session is created/destroyed. See HttpSessionListener interface. You can save the session IDs and session objects when a session is created, for example in a hashmap. Save the hashmap in application context. In your JSP get the hashmap and get its key/values. See thread safe problems if you are using a hashmap in application context.

  • How to get the current session details in windows phone 8 when using Facebook ,Google and Microsoft login

    I want to get the session details like access token , provider etc on a page (ExamplePage.xaml.cs) , i used the following example from nokia developers community (link)
     and implemented the login part but how can i get session details  so that i can send it to my API
    The SessionService class manages the session on facebook,google,microsoft login:
    /// <summary>
    /// The service session.
    /// </summary>
    public class SessionService : ISessionService
    private readonly IApplicationSettingsService _applicationSettings;
    private readonly IFacebookService _facebookService;
    private readonly IMicrosoftService _microsoftService;
    private readonly IGoogleService _googleService;
    private readonly ILogManager _logManager;
    /// <summary>
    /// Initializes a new instance of the <see cref="SessionService" /> class.
    /// </summary>
    /// <param name="applicationSettings">The application settings.</param>
    /// <param name="facebookService">The facebook service.</param>
    /// <param name="microsoftService">The microsoft service.</param>
    /// <param name="googleService">The google service.</param>
    /// <param name="logManager">The log manager.</param>
    public SessionService(IApplicationSettingsService applicationSettings,
    IFacebookService facebookService,
    IMicrosoftService microsoftService,
    IGoogleService googleService, ILogManager logManager)
    _applicationSettings = applicationSettings;
    _facebookService = facebookService;
    _microsoftService = microsoftService;
    _googleService = googleService;
    _logManager = logManager;
    /// <summary>
    /// Gets the session.
    /// </summary>
    /// <returns>The session object.</returns>
    public Session GetSession()
    var expiryValue = DateTime.MinValue;
    string expiryTicks = LoadEncryptedSettingValue("session_expiredate");
    if (!string.IsNullOrWhiteSpace(expiryTicks))
    long expiryTicksValue;
    if (long.TryParse(expiryTicks, out expiryTicksValue))
    expiryValue = new DateTime(expiryTicksValue);
    var session = new Session
    AccessToken = LoadEncryptedSettingValue("session_token"),
    Id = LoadEncryptedSettingValue("session_id"),
    ExpireDate = expiryValue,
    Provider = LoadEncryptedSettingValue("session_provider")
    _applicationSettings.Set(Constants.LoginToken, true);
    _applicationSettings.Save();
    return session;
    /// <summary>
    /// The save session.
    /// </summary>
    /// <param name="session">
    /// The session.
    /// </param>
    private void Save(Session session)
    SaveEncryptedSettingValue("session_token", session.AccessToken);
    SaveEncryptedSettingValue("session_id", session.Id);
    SaveEncryptedSettingValue("session_expiredate", session.ExpireDate.Ticks.ToString(CultureInfo.InvariantCulture));
    SaveEncryptedSettingValue("session_provider", session.Provider);
    _applicationSettings.Set(Constants.LoginToken, true);
    _applicationSettings.Save();
    /// <summary>
    /// The clean session.
    /// </summary>
    private void CleanSession()
    _applicationSettings.Reset("session_token");
    _applicationSettings.Reset("session_id");
    _applicationSettings.Reset("session_expiredate");
    _applicationSettings.Reset("session_provider");
    _applicationSettings.Reset(Constants.LoginToken);
    _applicationSettings.Save();
    /// <summary>
    /// The login async.
    /// </summary>
    /// <param name="provider">
    /// The provider.
    /// </param>
    /// <returns>
    /// The <see cref="Task"/> object.
    /// </returns>
    public async Task<bool> LoginAsync(string provider)
    Exception exception = null;
    try
    Session session = null;
    switch (provider)
    case Constants.FacebookProvider:
    session = await _facebookService.LoginAsync();
    break;
    case Constants.MicrosoftProvider:
    session = await _microsoftService.LoginAsync();
    break;
    case Constants.GoogleProvider:
    session = await _googleService.LoginAsync();
    break;
    if (session != null)
    Save(session);
    return true;
    catch (InvalidOperationException e)
    throw;
    catch (Exception ex)
    exception = ex;
    await _logManager.LogAsync(exception);
    return false;
    /// <summary>
    /// The logout.
    /// </summary>
    public async void Logout()
    Exception exception = null;
    try
    var session = GetSession();
    switch (session.Provider)
    case Constants.FacebookProvider:
    _facebookService.Logout();
    break;
    case Constants.MicrosoftProvider:
    _microsoftService.Logout();
    break;
    case Constants.GoogleProvider:
    _googleService.Logout();
    break;
    CleanSession();
    catch (Exception ex)
    exception = ex;
    if (exception != null)
    await _logManager.LogAsync(exception);
    /// <summary>
    /// Loads an encrypted setting value for a given key.
    /// </summary>
    /// <param name="key">
    /// The key to load.
    /// </param>
    /// <returns>
    /// The value of the key.
    /// </returns>
    private string LoadEncryptedSettingValue(string key)
    string value = null;
    var protectedBytes = _applicationSettings.Get<byte[]>(key);
    if (protectedBytes != null)
    byte[] valueBytes = ProtectedData.Unprotect(protectedBytes, null);
    value = Encoding.UTF8.GetString(valueBytes, 0, valueBytes.Length);
    return value;
    /// <summary>
    /// Saves a setting value against a given key, encrypted.
    /// </summary>
    /// <param name="key">
    /// The key to save against.
    /// </param>
    /// <param name="value">
    /// The value to save against.
    /// </param>
    /// <exception cref="System.ArgumentOutOfRangeException">
    /// The key or value provided is unexpected.
    /// </exception>
    private void SaveEncryptedSettingValue(string key, string value)
    if (!string.IsNullOrWhiteSpace(key) && !string.IsNullOrWhiteSpace(value))
    byte[] valueBytes = Encoding.UTF8.GetBytes(value);
    // Encrypt the value by using the Protect() method.
    byte[] protectedBytes = ProtectedData.Protect(valueBytes, null);
    _applicationSettings.Set(key, protectedBytes);
    _applicationSettings.Save();

    I need to get the session details in the following page AllEvents.xaml.cs  :
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Net;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Navigation;
    using Microsoft.Phone.Controls;
    using Microsoft.Phone.Shell;
    using AuthenticationSample.WP80.ViewModel;
    using AuthenticationSample.WP80.Services.Model;
    using AuthenticationSample.WP80.Services;
    using AuthenticationSample.WP80.Resources;
    using System.Threading.Tasks;
    namespace AuthenticationSample.WP80.Views
    public partial class AllEvents : PhoneApplicationPage
    public AllEvents()
    InitializeComponent();
    MainViewModels FakeData = new MainViewModels();
    FakeData.LoadData();
    DataContext = FakeData;

  • How to check MWA session details in Oracle Apps R12

    I am an Oracle Apps DBA. Current Issue is that sometimes users working with the RF Guns(Scanners) through telnet in MWA servers got hanged.
    They ask to kill their sessions.
    I do not know how to find the MWA loged in users sessions details. What I am able to find is , frm or web session details.
    Could you please guide how to gather these MWA connection details, with database and server process and session details.
    Thanks in advance for ur support.
    Regards,
    KMISRA

    Koushikinath wrote:
    I am an Oracle Apps DBA. Current Issue is that sometimes users working with the RF Guns(Scanners) through telnet in MWA servers got hanged.
    They ask to kill their sessions.
    I do not know how to find the MWA loged in users sessions details. What I am able to find is , frm or web session details.
    Could you please guide how to gather these MWA connection details, with database and server process and session details.
    Thanks in advance for ur support.
    Regards,
    KMISRAPlease see these docs.
    MWA Server Hangs on R12 Environments [ID 559614.1]
    Which parameters control the maximum number of user connections per MWA listener [ID 567214.1]
    Mobile Web Applications (MWA) Troubleshooting Tips for Release 12 Mobile Web Applications Server [ID 782162.1]
    Mobile Application Server - Advanced Configurations and Topologies for Mobile Web Applications (MWA)of E-Business Suite 11i and R12 [ID 1081404.1]
    Mobile Web Applications Server - MWA Troubleshooting Tips for E-Business Suite 11i and R12 Oracle Mobile Application Server [ID 269991.1]
    How to Enable WMS / MSCA Logging? [ID 338291.1]
    Thanks,
    Hussein

  • Session details

    i have split configuration of oracle applications 11.15.10.2 where my appln tier runs on linux and the database tier runs on the solaris os.
    There was a process (unix process id) consuming more cpu and memory in appln tier.
    i need to get the session details of the procees id from the database.
    waht query can i use to get the detail.
    from the top command it seems that the unix pid shows the info
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    3755 applmgr 16 0 778m 579m 7568 S 99.8 15.2 3432:57 java
    how can i get the info about the session using the unix pid 3755

    Hi,
    You can use v$process and v$session views to map os pid to db sid but not all the process on application tier will be having db session attached to it.
    Session you mentioned below is java process and i doubt if it will be having db session attached to it but you can confirm using above views.
    Also if you want to trace process on server then you can use trace and struss command to do it.
    Thanks,
    JD

  • Hide inactive contacts related list under Account detail page

    Hi
    We have inactive contacts related list under Account detail page. User want to hide inactive contacts and display only Active contacts under account detail page. Is there anyway we can hide these contacts.
    Sundar

    Sundar, you could create two web applets under the account object and create a report active contacts and another report for inactive contacts. If you do this then hide the standard contacts related section.

  • Where can we find the deleted/ archived session details? ant table?

    Hello Experts
    where can we find the deleted/archived session details...
    can any one confirm please is their any table is their?
    Thanks

    Hi Kalyan,
    Go to SARA->object Name->Management for finding the archive session details.
    You could check table ADMI_RUN and ADMI_FILES for the details.
    Hope this helps,
    Naveen

  • OEM not displaying Forms Session Details

    Windows 2000/Server & Desktop SP4, ora9ias 9.0.2
    In the Forms Session Detail display, it says that there are seven sessions, but only displays three and the Previous/Next links are greyed out. Any fixes to this? It is appreciated.

    EM_MODE is set. To clarify, the OEM is displaying some sessions, but not all that it says it had detected.
    Thanks for your reply

  • How to get user session details ?

    Hello.
    I can get user session details querying the "USER_AUDIT_SESSION" view against my developing database.
    I have written a PL/SQL function to retrieve those session details. When I executed the function on the production database I have not got any records. It seems that the underlined view is not being refreshed in the production environment.
    Is there any other view or table, available to unprivileged users, I can use to get session details such as the connection timestamp and the user action ?

    Thanks for the reply.
    Ok, I might check it using a non DBA user, I am not sure, though.
    All the database queries have to be executed under a normal user connection.
    I would like a way to get session details not using "user_audit_session".
    Is there any table or view, available to a default profile user, which has session details and has records as a default behaviour?
    As far as I could check disable audit_trail seems to be the normal behaviour of the clients of my application. There is no records in "user_audit_session".

  • Login User Session details

    Could anyone provide information as how to fetch Login User session details in Web dyna pro .
    I have Text field and Label in webdynapro View.
    These need to be autofilled based on login user.
    How to achieve this requirment in webdynpro.

    Ragu,
    Here the presentation on UME API and retreving the logon user details:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/webinars-nw-rig/using%20the%20user%20management%20api%20with%20ep%20applications%20-%20webinar%20powerpoint.pdf
    You need to add these 2 jar files to buildpath
    1)com.sap.security.api.jar
    2)com.sap.security.api.perm.jar
    For more help how to add jars :
    Using JAR Class Finder
    If it's not a local project and if you use NWDI environment , here the blog how to add jars for Web Dynpro DC's.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/194bdc4f-0901-0010-82ba-bf73af5d5f75
    You can find some jar from the below sap jar finder website:
    http://sapjarfinder.com/
    Thanks
    Krishna

  • Forms session details show empty

    Iam using Oracle 9ias release 2.when ever I check my middle tier architecture forms session details it allways shows as empty allthough there are more then 5 users connected and using forms service thru Oracle 9ias.
    Why is this happening?
    Is there a workaround or configuration I have to do
    Thanks in advance
    Santosh

    Thanks for the reply Carlos
    I have modified my formsweb.cfg and updated em_mode=1
    I have restarted my OC4J_BI_Forms,Http server
    But still none of the forms sessions are getting displayed whenever the user connects
    Is there anything else I need to do?
    Thanks,
    Santosh

  • One basic list to 2 detail list .

    HI Guru,
    Is it possible to see 2 detail list from one basic list at same time in reports .
    Eagerly waiting for your response.
    Regards :
    B.madhu sudhan reddy,
    SAP Abap Tech.

    Hi,
    You cannot create 2 interactive lists from a basic list.When you click on an interactive list you can create another interactive list.
    This is because:-
    from http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba2eb35c111d1829f0000e829fbfe/content.htm
    Creating Detail Lists
    Each time the user executes an action on a list, the runtime environment checks whether there is an event block defined that corresponds to the function code. If there is, SY-LSIND is automatically increased by one, and the relevant event block is executed. Any list output arising during this event block places its data into a new list (list level) with the index SY-LSIND. In order to create a new list level, the GUI status of the basic list must allow user actions, and the relevant event blocks must be defined in the program.
    All lists created during an interactive list event are detail lists. Each interactive list event creates a new detail list. With one ABAP program, you can maintain one basic list and up to 20 detail lists. If the user creates a list on the next level (that is, SY-LSIND increases), the system stores the previous list and displays the new one. The user can interact with whichever list is currently displayed.
    The system displays this list after processing the entire processing block of the event keyword or after leaving the processing block due to EXIT or CHECK. By default, the new list overlays the previous list completely. However, you can display a list in a dialog box. If no other dialog status is set in the event block for the detail list, the system uses the status from the previous list level. However, there is no standard page header for detail lists (see below).

  • InfoView Hung Sessions

    How can you end multiple hung session for the users in BOE XI 3.1?  I have searched and have not found any clear instructions so far.

    Please refer to below forum which already have same discussion
    How to kill a session
    Thanks,
    Arjun

  • How can i get list of Session Ids or SessionObjects present in appl server

    hi,
    i want to explicitly kill the sessions of the logged in persons from an application server instead of we waiting for the server to invalidate them once their time is out.
    can i get the list of all the session object avaliable in the sever at that perticular moment?
    regards
    sowjanya

    Hi!
    1.getIds() in javax.servlet.http.HttpSessionContext
    can be used but it is Deprecated.
    2.getIds() in javax.net.ssl.SSLSessionContext
    Returns an Enumeration of all session id's (you cant use this in this case)
    also in weblogic(BEA)change request No: CRS 45879 and 47878:
    supports methods like:
    public static boolean invalidateAll(HttpServletRequest req);
    check out there.
    Thanks,
    Ramu

  • Add hyperlink on the field txt in Search Result List to access Detail View

    Hi, SDN fellows.
    I have a PCUI requirement stated the following:
    1) In the line item of the Search Result List (table), there is one hyperlink in field 1.
    2) When click on the hyperlink, it will trigger the action to open up Detail View (Object Data Pattern 1 - ODP1) of the line item.
    3) Problem: When the value of the field is null, there will be no hyperlink to open up the Detail View.
    4) For work around, my requirement is to make the other fields (i.e. field 2) to have a hyperlink to trigger the action for opening the Detail View of the line item.
    I am not strong in PCUI. Please advise how to do so, while I am exploring the guide in the PCUI Book.
    Thanks,
    Kent

    Hello Kent,
    check out the settings of the Field Group element where the link is already active. Copy that settings to the Field which you want to be linked too.
    Regards
    Gregor

Maybe you are looking for