Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » concurrent report generation(how to limit number of concurrent report generation for BIRT Viewer Example deployed in tomcat 5.5?)
concurrent report generation [message #548746] Thu, 22 July 2010 15:47 Go to next message
Joanne  is currently offline Joanne
Messages: 2
Registered: July 2010
Junior Member
Does any one know how i can limit number of concurrent report generation for BIRT Viewer Example deployed in tomcat 5.5?

Thanks
Re: concurrent report generation [message #548947 is a reply to message #548746] Fri, 23 July 2010 09:50 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Maybe you could do this with tomcat configuration:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

Check maxThreads and acceptCount


Jason

On 7/22/2010 3:47 PM, Joanne wrote:
> Does any one know how i can limit number of concurrent report generation
> for BIRT Viewer Example deployed in tomcat 5.5?
>
> Thanks
>
Re: concurrent report generation [message #548948 is a reply to message #548947] Fri, 23 July 2010 09:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

You can also look at the viewer properties file:
# Maximum number of simultaneous viewing sessions that can be open at the
# same time, to prevent cache overflowing through multiple requests.
# A value of 0 means no limit.
viewer.session.maximumSessionCount=0

# Behavior that must be used once the maximum session count is reached
# (if different than 0):
# - A value of 0 will use the "Discard new session" policy that will show
# an error message for all the newer sessions.
# - A value of 1 will use the "Discard the oldest session" policy that will
# try to discard the oldest session, even if it has not expired yet.
# Note that "busy" sessions (for example downloading results) won't be
# cleant by this mechanism.
viewer.session.maximumSessionCountPolicy=1

Jason

On 7/23/2010 9:50 AM, Jason Weathersby wrote:
> Maybe you could do this with tomcat configuration:
> http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
>
> Check maxThreads and acceptCount
>
>
> Jason
>
> On 7/22/2010 3:47 PM, Joanne wrote:
>> Does any one know how i can limit number of concurrent report generation
>> for BIRT Viewer Example deployed in tomcat 5.5?
>>
>> Thanks
>>
>
Re: concurrent report generation [message #550448 is a reply to message #548948] Fri, 30 July 2010 08:09 Go to previous message
Joanne  is currently offline Joanne
Messages: 2
Registered: July 2010
Junior Member
Thank you Jason.

I updated viewer.session.maximumSessionCount=5 in web-inf/viewer.properties and it works like a charm!

Previous Topic:CSS Highlight property
Next Topic:Sequence with OnRender
Goto Forum:
  


Current Time: Thu Aug 21 04:23:34 EDT 2014

Powered by FUDForum. Page generated in 0.01720 seconds