Skip to Content
author's profile photo Former Member
Former Member

Administrator Sessions Staying Open

I have set up a few probes for monitoring our business objects system. Some are scheduled to run every 5 mins, some every 30 mins and some hourly. It looks like that an 'secEnterprise:Administrator' session is opened every time a probe is run. This wouldn't be a problem if the seesion automatically closed after the probe had finished. Unfortunately they seem to stay open and I end up with multiple Administrator sessions opened for no reason.

Should the Administrator session close after each probe has finished or is it normal to have multiple sessions for the same user open. How to I get the session to close properly?

Thanks

Stuart.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 30, 2014 at 03:38 PM

    Probe is running with login, but no logoff. So sessions will keep open with our session limit. Only way to reset the sessions, is to restart the tomcat.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 30, 2014 at 05:19 PM

    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b048e27f-72b3-2e10-388e-a1fcc47d61fe

    Hi Stuart,

    It sounds like your process does not allow you to wait for an auto logoff timeout which I believe is best practice. This may not be recommended, but it is working for me.

    You might try the modifying this KillSessions jsp from the link above. I modified the DeletUserSession.jsp to look up old sessions by date and initiated all the variables so it can be called by a process instead of manual user entry via the LogonForm.jsp. You could leave it set to identify the user sessions and initiate it to 'adminstrator'. Also, it does not have an impact on an active session if I am logged in when it runs.

    Regards,

    Julie

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 02, 2014 at 02:03 PM

    Hi Stuart. Were these probes custom ones you've created yourself or one of the default probes that are built into BI4? If its a custom one you've written, then be sure to explicitly logoff your user at the end. This seems like a no brainer, but you'd be amazed how often this step is forgotten.

    What type of sessions are we talking about here? If its a user session, then it will appear in the Sessions page in the CMC. And as Jawahar described, one of the new features in BI4.1 SP3 was an update to the Sessions page ui which allows you to manually kill a session. The only problem with this is its a manual process and i'm sure you don't want to log into the CMC every hour or two to kill off these hanging sessions. For more of an automatic cleanup approach, see my blog:

    How to Delete Stale BI4 User Sessions with biUserSessionKillScript

    If you feel there's an actual bug here, then I'd ask that you test one of the default probes such as the "CMS Logon Logoff" probe or the "CMS ping" probe to see if it also has the same behavior. This would prove if its only an issue with your custom probe or something else in this landscape or BI version being used. If you're still seeing an issue, then please log a ticket with SAP support and be sure to specify the version your using and which probes have the issue. I don't see any known issues logged for this, so its quite possible what you are seeing is either new, undocumented or something specific to your custom probe.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 02, 2014 at 02:28 PM

    Thank you all for your help. I am using 4.0 so not able to kill the sessions manually. They are from custom probes I've created so I need to explicity logoff the user at the end.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.