BOB: Business Objects Board
Not endorsed by or affiliated with SAP

Register | Login 

Launch Works 
Launch Works (Opens a new window)  

General Notice: No events within the next 45 days.

How to Kill Business Objects sessions
2 members found this topic helpful
Goto page Previous  1, 2, 3  Next
 
Search this topic... | Search CMC... | Search Box
Register or Login to Post    Forum Index -> Security and User Administration -> CMC  Previous TopicPrint TopicNext Topic
Author Message
Sebastien Goiffon
Forum Fanatic
Forum Fanatic



Joined: 29 Sep 2004
ASUG Icon
Posts: 6374
Location: France


flag
PostPosted: Sun Nov 18, 2007 2:07 pm 
Post subject: Re: How to Kill Business Objects sessions

Hi,

Indeed you can use the cms sdk to kill session. But you can only have these info: user, logon time. Nothing on IP or application used like in previous release.

Regards
Sebastien

_________________
360Suite: Security, backup, promotion, impact analysis, bursting, metadata solutions.
Spend 9 minutes to save HOURS. Alternative of CMC and LCM.
Back to top
substring
Forum Addict
Forum Addict



Joined: 16 Jan 2004
ASUG Icon
Posts: 4073
Location: Richardson Texas


flag
PostPosted: Sun Nov 18, 2007 4:11 pm 
Post subject: Re: How to Kill Business Objects sessions

my bff jill wrote:
Mullzey,

The option isn't in the CMC; it is located in the preferences pain in Infoview. On the "General" tab, there is a "When I close my browser window ..." option where you can choose to "always log me off Infoview". I believe you can make this option the default for all (new) users. To do the same for existing users, you will have to code a solution with the SDK.
If you have EPM, you can set the preferences by groups simply by using the PrefsCopyUtil.properties file. There is no need to do SDK. You can do a simple search on BOB and should find several threads on this topic.

If you don't have EPM, you will have to do it the hard way.

_________________
If you are using BusinessObjects, you should join ASUG.
Follow me on Twitter: @substring
Back to top
Mullzey
Forum Member
Forum Member



Joined: 07 Nov 2007

Posts: 11
Location: Behind the Orange Curtain, Calif


flag
PostPosted: Fri Dec 07, 2007 5:44 pm 
Post subject: Re: How to Kill Business Objects sessions

Hi BFF Jill:
I tried it and it didn't work. I'm still showing with 6 sessions, just for myself. I haven't been logged into Infoview for almost an hour. Thanks anyway! banghead.gif
Back to top
BoB LoblaW
Forum Enthusiast
Forum Enthusiast



Joined: 23 Oct 2007

Posts: 1167
Location: Cincinnati, OH


flag
PostPosted: Sat Dec 08, 2007 12:22 pm 
Post subject: Re: How to Kill Business Objects sessions

Since we have many existing users that do not have the preference set, we use substring's method of enabling the listener to cleanly end user sessions. I started work on an scheduled app to run after business hours to kill sessions that have been active for over 12 hours, but we do not need it now. If possible, I recommend trying the same method.
Back to top
BOBJADMIN
Senior Member
Senior Member



Joined: 11 Feb 2006

Posts: 42



PostPosted: Fri Dec 14, 2007 2:02 am 
Post subject: Re: How to Kill Business Objects sessions

Hi my bff jill,
Can you please tell us your implementation steps that you had taken to kill sessions. How did you use substring's method to end user sessions?


Thanks,
BOBJ
Back to top
BoB LoblaW
Forum Enthusiast
Forum Enthusiast



Joined: 23 Oct 2007

Posts: 1167
Location: Cincinnati, OH


flag
PostPosted: Fri Dec 14, 2007 12:10 pm 
Post subject: Re: How to Kill Business Objects sessions

substring wrote:
BOpat wrote:
Can you please more clerify it to us "How can we turn on Listner?"

Thanks,
Go to...
\\<your install path>\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF
find the web.xml file. Uncomment off the listener. This will clean up your unused sessions on a timely basis....gracefully.


I used the above steps in substring's post to enable the listener. Once this was turned on, user sessions ended "gracefully".
Back to top
mcliffordgoo
Forum Enthusiast
Forum Enthusiast



Joined: 13 Feb 2003
ASUG Icon
Posts: 1120
Location: Washington, DC


flag
PostPosted: Wed Jan 23, 2008 8:58 pm 
Post subject: Re: How to Kill Business Objects sessions

How do you make this the default for new users and is there a way to change this for all existing users?
_________________
Michael P. Goo
Washington, DC
Back to top
Sheshachala5
Forum Enthusiast
Forum Enthusiast



Joined: 09 Jan 2004

Posts: 1566
Location: California


flag
PostPosted: Fri Jan 25, 2008 4:58 pm 
Post subject: Re: How to Kill Business Objects sessions

I have question on the Unused session removal.
We have a timeout setting of 2 hours, so users dont run into the "session expired please login again" type of scenarios, so does this setting impact my idle sessions which are not really idle in regards to our environment.
How are sessions considered Idle and unused?

_________________
Kalyan,
PMP,CBIP,CDMP,BOCP,SCJA
Image link
Back to top
mcliffordgoo
Forum Enthusiast
Forum Enthusiast



Joined: 13 Feb 2003
ASUG Icon
Posts: 1120
Location: Washington, DC


flag
PostPosted: Fri Jan 25, 2008 5:04 pm 
Post subject: Re: How to Kill Business Objects sessions

In the web.xml file in the TomCat directory there is paramater called LogonToken. If you set this parm to visible = false then it will ensure that all sessions are killed in the event of a time out, closed browser window, or log off. It supercedes the settings set the preferneces page of InfoView. This is what I have been told my the BO Tech Support.
_________________
Michael P. Goo
Washington, DC
Back to top
BOBKevin
Forum Member
Forum Member



Joined: 04 May 2007

Posts: 6



PostPosted: Fri Feb 01, 2008 10:48 am 
Post subject: Re: How to Kill Business Objects sessions

mcliffordgoo wrote:
In the web.xml file in the TomCat directory there is paramater called LogonToken. If you set this parm to visible = false then it will ensure that all sessions are killed in the event of a time out, closed browser window, or log off. It supercedes the settings set the preferneces page of InfoView. This is what I have been told my the BO Tech Support.


Is there a similar setting for the .Net version of InfoView?
Back to top
mcliffordgoo
Forum Enthusiast
Forum Enthusiast



Joined: 13 Feb 2003
ASUG Icon
Posts: 1120
Location: Washington, DC


flag
PostPosted: Fri Feb 01, 2008 11:47 am 
Post subject: Re: How to Kill Business Objects sessions

I believe there is a similar file but unfortunately I do not know the actual path nor hte file name. I would assume it would be similar.
_________________
Michael P. Goo
Washington, DC
Back to top
ccermak
Principal Member
Principal Member



Joined: 13 Nov 2007

Posts: 189
Location: St. Paul, MN


flag
PostPosted: Thu Feb 14, 2008 6:12 pm 
Post subject: Re: How to Kill Business Objects sessions

Hi,
Per the info above about modifying the web.xml to turn on/off the Tomcat listener to clean up sessions "in a timely manner". What is the default time duration for this listener to delete inactive sessions? And is it configurable? Is a session that has launched a report and is waiting for query results considered idle? Should this listener time value be > any other timeout already set like for Webi, Infoview, Universe parm, etc?

We are experiencing this problem as well with many sessions showing in CMC even though set to logoff on close browser.

Thanks,
Chad
Back to top
Orange
Forum Enthusiast
Forum Enthusiast



Joined: 18 Sep 2006

Posts: 1261
Location: Amsterdam


flag
PostPosted: Fri Feb 15, 2008 7:54 am 
Post subject: Re: How to Kill Business Objects sessions

Hi Chad -

Quote:
What is the default time duration for this listener to delete inactive sessions?

The listener is not configured to explicitly log off the session objects when they are invalidated.

Quote:
And is it configurable?

Yes

Quote:
Is a session that has launched a report and is waiting for query results considered idle?

I am pretty sure it is not, as I believe the browsers is still receiving updates about the running of the query. Am not 100% sure however.

Quote:
Should this listener time value be > any other timeout already set like for Webi, Infoview, Universe parm, etc?

Depends - there is a value for Webi reports that that take longer than 10 minutes (Corba limitation) but would you be running such reports on demand? I hope not. If you do however, read http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=2952738 to change the settings (Note: the default is 10 minutes, NOT 30 minutes as the article states!)

More info in these very interesting kbase articles:
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=8769111
and
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=7237003

Please read these !!

To go back to the original question - how to kill user sessions: we have established there is no out-of-the-box solution for this with BO XI R2. Some external tools have the ability to do this (like 360view) or you can write your own SDK script (although I personally dont have a clue how to do this - just know it can be done).

_________________
Berend -
Business Objects consultant and trainer
BOCP - BOE on XI & Official BO Migration Specialist
BI Toolkit - offices in UK and Holland
http://www.bitoolkit.com
Back to top
clynham
Senior Member
Senior Member



Joined: 17 Aug 2007

Posts: 81
Location: UK


flag
PostPosted: Tue Feb 19, 2008 3:36 am 
Post subject: Re: How to Kill Business Objects sessions

Hi,

I just thought I would throw my hat in the ring on this issue as it is something I have been battling over the past few days.

We have just moved to Crystal Decisions Standard which comes with concurrent licences as opposed to named. Within a few hours of rolling it out to the user base we noticed that our session count was extremely high and that we were in danger of running out of licences.

After a quick search on the Business Objects KB we came across the same solution that substring suggested involving configuring the listener to kill off active sessions. This seemed to work and the session count dropped to a more realistic level.

However it soon became apparent that the listener was not killing off just inactive sessions, but all sessions after the session-timeout period in the web.xml for Infoview (20 minutes).

I have now upped this to 120 minutes which should make the situation a little better but I am wondering whether I need to tackle this from a slightly different angle.... Instead of getting rid of unused sessions I wonder if I need to prevent them from being there in the first place.
Back to top
Orange
Forum Enthusiast
Forum Enthusiast



Joined: 18 Sep 2006

Posts: 1261
Location: Amsterdam


flag
PostPosted: Tue Feb 19, 2008 6:58 am 
Post subject: Re: How to Kill Business Objects sessions

The process with concurrent licenses is that when someone is logged into Infoview and does nothing for 20 minutes, the license gets freed up. If the same person does something else after the license is freed up he/she doesnt have to log on again but just sees what he/she just actioned, so a new session (and license) is created in the background.
However if, after those 20 minutes, the numer of available licenses is taken up by other users, then the original user will be presented with an error saying that all concurrent licenses are taken up at this point and he should try again later.

So you need to decide yourself whether or not a user should run into this scenario. If not - you can increase the default session timeout or buy more licenses...

_________________
Berend -
Business Objects consultant and trainer
BOCP - BOE on XI & Official BO Migration Specialist
BI Toolkit - offices in UK and Holland
http://www.bitoolkit.com
Back to top
Display posts from previous:   
Register or Login to Post    Forum Index -> Security and User Administration -> CMC  Previous TopicPrint TopicNext Topic
Page 2 of 3 All times are GMT - 5 Hours
Goto page Previous  1, 2, 3  Next
 
Jump to:  

Index | About | FAQ | RAG | Privacy | Search |  Register |  Login 

Get community updates via Twitter:

Not endorsed by or affiliated with SAP
Powered by phpBB © phpBB Group
Generated in 0.0528 seconds using 17 queries. (SQL 0.0019 Parse 0.0366 Other 0.0143)
CCBot/2.0 (http://commoncrawl.org/faq/)
Hosted by ForumTopics.com | Terms of Service
phpBB Customizations by the phpBBDoctor.com
Shameless plug for MomentsOfLight.com Moments of Light Logo